diff options
author | Joshua Rowe <omniscient.oce@gmail.com> | 2024-08-03 03:49:44 +1000 |
---|---|---|
committer | Joshua Rowe <omniscient.oce@gmail.com> | 2024-08-03 03:49:44 +1000 |
commit | 15af852fed398045334bc5e909f044f9b40c2476 (patch) | |
tree | d676583751f121ef9c082cef1a267f87b32ac561 /xmake.lua | |
parent | e14156ed8a7a3cfb60c977b3a331c0424faa0051 (diff) |
add windows implementation of path_parent()
Diffstat (limited to 'xmake.lua')
-rw-r--r-- | xmake.lua | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -24,7 +24,7 @@ if is_plat("linux") then elseif is_plat("windows") then add_defines("CEL_PLATFORM_WINDOWS") add_syslinks("user32", "gdi32", "kernel32", "shell32") - add_requires("vulkansdk", { system = true }) + -- add_requires("vulkansdk", { system = true }) -- add_links("pthreadVC2-w64") elseif is_plat("macosx") then @@ -138,9 +138,9 @@ add_files("src/empty.c") -- for some reason we need this on Mac so it doesnt cal -- add_files("assets/shaders/cube.frag") -- add_files("assets/shaders/*.frag") if is_plat("windows") then - add_includedirs("$(env VULKAN_SDK)/Include", { public = true }) - add_linkdirs("$(env VULKAN_SDK)/Lib", { public = true }) - add_links("vulkan-1") + -- add_includedirs("$(env VULKAN_SDK)/Include", { public = true }) + -- add_linkdirs("$(env VULKAN_SDK)/Lib", { public = true }) + -- add_links("vulkan-1") end if is_plat("macosx") then -- add_files("src/renderer/backends/metal/*.m") @@ -155,7 +155,7 @@ set_policy("build.merge_archive", true) add_files(core_sources) -- Link against static CRT if is_plat("windows") then - add_links("libcmt", "legacy_stdio_definitions") -- for release builds + -- add_links("libcmt", "legacy_stdio_definitions") -- for release builds add_links("libcmtd", "legacy_stdio_definitions") -- for debug builds end @@ -165,7 +165,7 @@ add_deps("core_config") -- inherit common configurations add_files(core_sources) -- Link against dynamic CRT if is_plat("windows") then - add_links("msvcrt", "legacy_stdio_definitions") -- for release builds + -- add_links("msvcrt", "legacy_stdio_definitions") -- for release builds add_links("msvcrtd", "legacy_stdio_definitions") -- for debug builds end |