summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-17 15:01:54 +1100
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-17 15:01:54 +1100
commitc97327fcdcbe8b85d7718cfb722e1525986a8514 (patch)
tree9c0df938345bff356f8fcc97740afedb1f500b3d /xmake.lua
parent1afe4876cb8133c5b47fdcfeb07decc5565c4844 (diff)
parent51b4a3fc75351d6ecd2142c228d31a1f7ed52152 (diff)
Merge branch 'master' into transform-hierarchy
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 0f039e7..2a899dd 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")