Make the defines right
This commit is contained in:
		
							parent
							
								
									d78abd911c
								
							
						
					
					
						commit
						10b650c9a4
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -63,19 +63,19 @@ class Environment(SCons.Environment.Environment): | |||
| class DebugEnvironment(Environment): | ||||
|     def __init__(self, name='debug', **kwargs): | ||||
|         super(DebugEnvironment, self).__init__(name, **kwargs) | ||||
|         self.Append(CPPDEFINES=['NDEBUG']) | ||||
|         self.Append(CPPDEFINES=['DEBUG']) | ||||
|         self.Append(CCFLAGS=['-O0', '-g']) | ||||
| 
 | ||||
| 
 | ||||
| class BetaEnvironment(Environment): | ||||
|     def __init__(self, name='beta', **kwargs): | ||||
|         super(BetaEnvironment, self).__init__(name, **kwargs) | ||||
|         self.Append(CPPDEFINES=['NDEBUG']) | ||||
|         self.Append(CPPDEFINES=['DEBUG']) | ||||
|         self.Append(CCFLAGS=['-O3', '-g']) | ||||
| 
 | ||||
| 
 | ||||
| class ReleaseEnvironment(Environment): | ||||
|     def __init__(self, name='release', **kwargs): | ||||
|         super(ReleaseEnvironment, self).__init__(name, **kwargs) | ||||
|         self.Append(CPPDEFINES=['NRELEASE']) | ||||
|         self.Append(CPPDEFINES=['NDEBUG', 'RELEASE']) | ||||
|         self.Append(CCFLAGS=['-O3']) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue