automatically set DEBUG when using the (current) NoBug default ALPHA

This commit is contained in:
Fischlurch 2008-08-20 15:46:38 +01:00
parent 4746dcd233
commit 01fdb5e791

View file

@ -103,8 +103,7 @@ def handleNoBugSwitches(env):
level = env['BUILDLEVEL']
if level in ['ALPHA', 'BETA']:
if not env['DEBUG']:
print 'NoBug: ALPHA or BETA builds without DEBUG not possible, exiting.'
Exit(1)
print 'Warning: NoBug ALPHA or BETA builds requires DEBUG=yes, switching DEBUG on!'
env.Replace( DEBUG = 1 )
env.Append(CPPDEFINES = 'EBUG_'+level)
elif level == 'RELEASE':