forked from bartvdbraak/blender
da1f288f50
for game engine use "ge_" prefix & make names generally more descriptive.
17 lines
732 B
Python
17 lines
732 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.cpp')
|
|
|
|
defs = [ 'GLEW_STATIC' ]
|
|
|
|
incs = '. #source/kernel/gen_system #intern/string #intern/moto/include #source/gameengine/Rasterizer #source/gameengine/BlenderRoutines '
|
|
incs += ' #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'
|
|
|
|
if env['WITH_BF_CXX_GUARDEDALLOC']:
|
|
defs.append('WITH_CXX_GUARDEDALLOC')
|
|
|
|
env.BlenderLib ( 'ge_oglrasterizer', Split(sources), Split(incs), defines = defs, libtype=['core','player'], priority=[350,75], cxx_compileflags=env['BGE_CXXFLAGS'])
|