summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-14 21:54:55 +1100
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-14 21:54:55 +1100
commit6c581ff56dfcc22c25538e305e58efd967dd640a (patch)
treeadd8415857a0a7799d06778f3479601007a20e01 /xmake.lua
parent7b9ef1066e49fe3e0c7791e097b26445f0f35f3d (diff)
lights, camera, action
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 15159ef..611b537 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -14,8 +14,11 @@ add_cflags("-Wall", "-Wextra", "-Wundef", "-Wdouble-promotion")
if is_mode("debug") then
add_cflags("-g") -- Add debug symbols in debug mode
+elseif is_mode("release") then
+ add_defines("CRELEASE")
end
+
-- Platform defines and system packages
if is_plat("linux") then
add_defines("CEL_PLATFORM_LINUX")