diff options
Diffstat (limited to 'xmake.lua')
| -rw-r--r-- | xmake.lua | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -35,11 +35,18 @@ if is_mode("debug") then add_defines("DEBUG") end +if is_mode("debug") then + add_defines("ZEN_WITH_TESTS=1") +else + add_defines("ZEN_WITH_TESTS=0") +end + if is_os("windows") then - add_defines("_CRT_SECURE_NO_WARNINGS") + add_defines("_CRT_SECURE_NO_WARNINGS", "_UNICODE", "UNICODE", "_WIN32_WINNT=0x0A00") end add_defines("USE_SENTRY=1") +add_defines("ZEN_USE_MIMALLOC=1") option("vfs") set_showmenu(true) @@ -64,6 +71,7 @@ set_symbols("debug") includes("zencore", "zencore-test") includes("zenhttp") -includes("zenstore", "zenutil") +includes("zenstore", "zenstore-test") +includes("zenutil") includes("zenserver", "zenserver-test") includes("zen") |