aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-05-15 21:20:29 +0200
committerStefan Boberg <[email protected]>2023-05-15 21:20:29 +0200
commita705a76bb0e8aad00a77041eaff085e5862c6dc5 (patch)
tree484f80fde98b038c5ee3cf8fa5f009a7b92c191e /xmake.lua
parentminor GC API cleanup (diff)
downloadzen-a705a76bb0e8aad00a77041eaff085e5862c6dc5.tar.xz
zen-a705a76bb0e8aad00a77041eaff085e5862c6dc5.zip
add 7z dependency to xmake file
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 623a0d26a..3bf27c296 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -24,6 +24,8 @@ add_requires(
"vcpkg::zstd"
)
+add_requires("7z") -- for bundling
+
if not is_arch("arm64") then
add_requires(
"vcpkg::mimalloc",
@@ -63,6 +65,7 @@ if is_os("windows") then
"_WIN32_WINNT=0x0A00"
)
add_cxxflags("/d1trimfile:$(curdir)\\")
+ add_cxxflags("/Zc:preprocessor") -- Enable preprocessor conformance mode
-- add_ldflags("/MAP")
end