GLEW update to version 1.5.1 [11-03-08] this opens room for Geometry Shader support. * - Brecht, Campbell told me you did some local changes in order to make it right in Linux. I get to you in order to know what those changes are (or feel free to commit them directly)
		
			
				
	
	
		
			17 lines
		
	
	
		
			579 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			579 B
		
	
	
	
		
			Python
		
	
	
	
	
	
#!/usr/bin/python
 | 
						|
Import ('env')
 | 
						|
 | 
						|
sources = env.Glob('*.cpp')
 | 
						|
 | 
						|
 | 
						|
incs = '. #source/kernel/gen_system #intern/string #intern/moto/include #source/gameengine/BlenderRoutines #extern/glew/include #source/gameengine/Expressions #source/gameengine/SceneGraph #source/blender/blenkernel #source/blender/makesdna'
 | 
						|
 | 
						|
defs = [ 'GLEW_STATIC' ]
 | 
						|
 | 
						|
if env['WITH_BF_PYTHON']:
 | 
						|
	incs += ' ' + env['BF_PYTHON_INC']
 | 
						|
else:
 | 
						|
	defs.append('DISABLE_PYTHON')
 | 
						|
 | 
						|
env.BlenderLib ( 'bf_rasterizer', sources, Split(incs), defs, libtype=['core','player'], priority=[350,70], cxx_compileflags=env['BGE_CXXFLAGS'])
 |