aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-10-24 22:17:13 +0200
committerStefan Boberg <[email protected]>2025-10-24 22:17:13 +0200
commit3750766d239f7cafa28528bb094cf639c8d534a2 (patch)
tree47fccf488b01113b197b1f89d4db07b31c17b878 /xmake.lua
parentupdated to sol2 3.5.0, in order to build with latest mac toolchain (diff)
downloadzen-3750766d239f7cafa28528bb094cf639c8d534a2.tar.xz
zen-3750766d239f7cafa28528bb094cf639c8d534a2.zip
suppress warning wrt utf8 literals
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 359f3a48a..9abc3606e 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -99,6 +99,7 @@ if is_os("windows") then
add_ldflags("/PDBALTPATH:%_PDB%") -- deterministic pdb reference in exe
add_cxxflags("/Zc:preprocessor") -- Enable preprocessor conformance mode
+ add_cxxflags("/Zc:u8EscapeEncoding") -- Enable UTF-8 encoding for u8 string literals
-- add_ldflags("/MAP")
end