forked from bartvdbraak/blender
050f09aa6c
add a check for duplicates in BlenderLib()m, if 0'd now.
21 lines
821 B
Python
21 lines
821 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'
|
|
|
|
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'])
|