summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authoromnisci3nce <17525998+omnisci3nce@users.noreply.github.com>2024-03-29 21:11:02 +1100
committeromnisci3nce <17525998+omnisci3nce@users.noreply.github.com>2024-03-29 21:11:02 +1100
commit765a6d0f36a9f16189efc449bde815a6c0938584 (patch)
tree68bf5121a6f8b4136205fed57893e696ea3a60d7 /xmake.lua
parentff907c6ffa7ed0a7c6ce938b40a6c223dd0a3b9d (diff)
triangle
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 5457ccb..3005713 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -14,6 +14,7 @@ add_cflags("-Wall", "-Wextra", "-Wundef", "-Wdouble-promotion")
if is_mode("debug") then
add_cflags("-g") -- Add debug symbols in debug mode
+ add_defines("CDEBUG")
elseif is_mode("release") then
add_defines("CRELEASE")
end