blender/source/gameengine/Rasterizer/SConscript

25 lines
807 B
Python
Raw Normal View History

2010-09-04 19:06:15 +00:00
#!/usr/bin/python
Import ('env')
sources = env.Glob('*.cpp')
incs = '. #intern/guardedalloc #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']:
2011-02-27 06:19:40 +00:00
<<<<<<< .working
2010-09-04 19:06:15 +00:00
incs += ' ' + env['BF_PYTHON_INC']
else:
defs.append('DISABLE_PYTHON')
2011-02-27 06:19:40 +00:00
=======
incs += ' ' + env['BF_PYTHON_INC']
defs.append('WITH_PYTHON')
2011-02-27 06:19:40 +00:00
>>>>>>> .merge-right.r35190
if env['WITH_BF_CXX_GUARDEDALLOC']:
defs.append('WITH_CXX_GUARDEDALLOC')
2010-09-04 19:06:15 +00:00
env.BlenderLib ( 'ge_rasterizer', sources, Split(incs), defs, libtype=['core','player'], priority=[350,70], cxx_compileflags=env['BGE_CXXFLAGS'])