2004-05-16 13:07:20 +00:00
|
|
|
#!/usr/bin/python
|
2006-02-04 14:15:10 +00:00
|
|
|
Import ('env')
|
2004-02-29 21:40:48 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
sources = env.Glob('*.cpp')
|
2004-01-20 20:28:39 +00:00
|
|
|
|
2008-04-16 17:40:59 +00:00
|
|
|
|
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'
|
2004-01-20 20:28:39 +00:00
|
|
|
|
2009-11-21 20:36:03 +00:00
|
|
|
defs = [ 'GLEW_STATIC' ]
|
2009-09-29 21:42:40 +00:00
|
|
|
|
|
|
|
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')
|
2009-09-29 21:42:40 +00:00
|
|
|
|
2010-10-08 20:39:56 +00:00
|
|
|
if env['WITH_BF_CXX_GUARDEDALLOC']:
|
|
|
|
defs.append('WITH_CXX_GUARDEDALLOC')
|
|
|
|
|
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'])
|