2010-09-04 19:06:15 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
Import ('env')
|
|
|
|
|
|
|
|
sources = env.Glob('*.cpp')
|
|
|
|
|
|
|
|
|
2011-05-06 20:18:42 +00:00
|
|
|
incs = '. #intern/guardedalloc #intern/string #intern/moto/include #intern/container #source/gameengine/BlenderRoutines #extern/glew/include #source/gameengine/Expressions #source/gameengine/SceneGraph #source/blender/blenkernel #source/blender/makesdna'
|
2010-09-04 19:06:15 +00:00
|
|
|
|
|
|
|
defs = [ 'GLEW_STATIC' ]
|
|
|
|
|
|
|
|
if env['WITH_BF_PYTHON']:
|
2010-08-29 20:52:05 +00:00
|
|
|
incs += ' ' + env['BF_PYTHON_INC']
|
2010-10-31 04:11:39 +00:00
|
|
|
defs.append('WITH_PYTHON')
|
2011-03-17 23:30:29 +00:00
|
|
|
|
2010-10-08 20:39:56 +00:00
|
|
|
if env['WITH_BF_CXX_GUARDEDALLOC']:
|
|
|
|
defs.append('WITH_CXX_GUARDEDALLOC')
|
2010-09-04 19:06:15 +00:00
|
|
|
|
2010-11-18 11:42:05 +00:00
|
|
|
env.BlenderLib ( 'ge_rasterizer', sources, Split(incs), defs, libtype=['core','player'], priority=[350,70], cxx_compileflags=env['BGE_CXXFLAGS'])
|