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') flavour = ARGUMENTS.get('flavor')
if (flavour == 'debug'): if (flavour == 'debug'):
compileFlags.append('-g') compileFlags.append('-g')
cppDefines.append('LOGGING') cppDefines.append('_DEBUG') #enables LOGGING
cppDefines.append('_DEBUG')
# FIXME: this disable wx debugging how do we make it work? # FIXME: this disable wx debugging how do we make it work?
cppDefines.append('NDEBUG') cppDefines.append('NDEBUG')
elif (flavour == 'devel'): elif (flavour == 'devel'):
compileFlags.append('-g') compileFlags.append('-g')
cppDefines.append('DEBUGFAST')
elif (flavour == 'fastlog'): elif (flavour == 'fastlog'):
compileFlags.append('-O3') compileFlags.append('-O3')
cppDefines.append('LOGGING') cppDefines.append('DEBUGFAST')
elif (flavour == 'prof'): elif (flavour == 'prof'):
compileFlags.append('-O3') compileFlags.append('-O3')
compileFlags.append('-g') compileFlags.append('-g')