diff options
| author | Martin Ridgers <[email protected]> | 2021-09-21 11:06:13 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-09-21 11:06:13 +0200 |
| commit | 68c951e0f440ffd483795dced737e88152c1a581 (patch) | |
| tree | 5c0910ca2a85b45fb05dba3ce457b7d156213894 /xmake.lua | |
| parent | Merge main into linux-mac (diff) | |
| parent | Trigger storage scrubbing pass at startup (diff) | |
| download | zen-68c951e0f440ffd483795dced737e88152c1a581.tar.xz zen-68c951e0f440ffd483795dced737e88152c1a581.zip | |
Merged main into linux-mac
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") |