compile with -DDEBUG when using --debugging sconscript flag

This commit is contained in:
jacob1 2016-03-07 21:22:29 -05:00
parent 66aeb84354
commit 1daeca781e

View File

@ -448,6 +448,7 @@ if GetOption('debugging'):
env.Append(CCFLAGS=['/MDd'])
else:
env.Append(CCFLAGS=['-Wall', '-g'])
env.Append(CPPDEFINES=['DEBUG'])
elif GetOption('release'):
if msvc:
env.Append(CCFLAGS=['/O2', '/fp:fast'])