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:
parent
c0cf641779
commit
3f840806b3
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue