1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Disable asserts in release mode

This commit is contained in:
Błażej Szczygieł
2016-10-17 20:31:01 +02:00
parent e96c49f849
commit 639ea563e0

View File

@@ -261,6 +261,8 @@ if selected_platform in platform_list:
sys.exit(255)
suffix+=".opt"
env.Append(CCFLAGS=['-DNDEBUG']);
elif (env["target"]=="release_debug"):
if (env["tools"]=="yes"):
suffix+=".opt.tools"