aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 8288963e0..17b10d28d 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -35,6 +35,12 @@ 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", "_UNICODE", "UNICODE", "_WIN32_WINNT=0x0A00")
end