Scons changes: fastlog compiles DEBUGFAST

devel doesn't compile with LOGGING (level 2 is enough).


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2560 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2009-03-05 16:26:05 +00:00
parent c0cf641779
commit 3f840806b3
1 changed files with 2 additions and 4 deletions

View File

@ -152,16 +152,14 @@ if not env['verbose']:
flavour = ARGUMENTS.get('flavor')
if (flavour == 'debug'):
compileFlags.append('-g')
cppDefines.append('LOGGING')
cppDefines.append('_DEBUG')
cppDefines.append('_DEBUG') #enables LOGGING
# FIXME: this disable wx debugging how do we make it work?
cppDefines.append('NDEBUG')
elif (flavour == 'devel'):
compileFlags.append('-g')
cppDefines.append('DEBUGFAST')
elif (flavour == 'fastlog'):
compileFlags.append('-O3')
cppDefines.append('LOGGING')
cppDefines.append('DEBUGFAST')
elif (flavour == 'prof'):
compileFlags.append('-O3')
compileFlags.append('-g')