compile with -DDEBUG when using --debugging sconscript flag
This commit is contained in:
parent
66aeb84354
commit
1daeca781e
@ -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'])
|
||||
|
Reference in New Issue
Block a user