anything, only contained a hash map and functions to pass command line args to the game engine. Moved those to container and BlenderRoutines modules.
		
			
				
	
	
		
			21 lines
		
	
	
		
			856 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			856 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| #!/usr/bin/python
 | |
| Import ('env')
 | |
| 
 | |
| sources = env.Glob('*.cpp')
 | |
| 
 | |
| defs = [ 'GLEW_STATIC' ]
 | |
| 
 | |
| incs = '. #intern/string #intern/moto/include #source/gameengine/Rasterizer #source/gameengine/BlenderRoutines '
 | |
| incs += ' #intern/container #source/blender/gpu #extern/glew/include ' + env['BF_OPENGL_INC']
 | |
| incs += ' #source/blender/gameengine/Ketsji #source/gameengine/SceneGraph #source/blender/makesdna #source/blender/blenkernel'
 | |
| incs += ' #intern/guardedalloc #source/blender/blenlib #source/gameengine/BlenderRoutines'
 | |
| 
 | |
| if env['WITH_BF_CXX_GUARDEDALLOC']:
 | |
|     defs.append('WITH_CXX_GUARDEDALLOC')
 | |
| 
 | |
| if env['WITH_BF_PYTHON']:
 | |
|     incs += ' ' + env['BF_PYTHON_INC']
 | |
|     defs.append('WITH_PYTHON')
 | |
| 
 | |
| env.BlenderLib ( 'ge_oglrasterizer', Split(sources), Split(incs), defines = defs, libtype=['core','player'], priority=[350,75], cxx_compileflags=env['BGE_CXXFLAGS'])
 |