2005-08-01 21:19:41 +00:00
|
|
|
#!/usr/bin/python
|
2006-02-04 14:15:10 +00:00
|
|
|
Import ('env')
|
2005-08-01 21:19:41 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
sources = 'CcdPhysicsEnvironment.cpp CcdPhysicsController.cpp'
|
2005-08-01 21:19:41 +00:00
|
|
|
|
2008-08-21 21:14:08 +00:00
|
|
|
incs = '. ../common #source/kernel/gen_system #intern/string #intern/moto/include #source/gameengine/Rasterizer'
|
2005-08-01 21:19:41 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
incs += ' ' + env['BF_BULLET_INC']
|
2005-08-01 21:19:41 +00:00
|
|
|
|
2009-02-15 23:26:00 +00:00
|
|
|
cxxflags = []
|
2006-02-07 21:24:36 +00:00
|
|
|
if env['OURPLATFORM']=='win32-vc':
|
2009-02-15 23:26:00 +00:00
|
|
|
cxxflags.append ('/GR')
|
|
|
|
cxxflags.append ('/O2')
|
2005-08-01 21:19:41 +00:00
|
|
|
|
2009-02-15 23:26:00 +00:00
|
|
|
env.BlenderLib ( 'bf_bullet', Split(sources), Split(incs), [], libtype=['game','player'], priority=[15,90], cxx_compileflags=cxxflags )
|