diff options
Diffstat (limited to 'source/gameengine/Physics/Bullet/SConscript')
-rw-r--r-- | source/gameengine/Physics/Bullet/SConscript | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source/gameengine/Physics/Bullet/SConscript b/source/gameengine/Physics/Bullet/SConscript index b9d7bed8880..dd6eab0f018 100644 --- a/source/gameengine/Physics/Bullet/SConscript +++ b/source/gameengine/Physics/Bullet/SConscript @@ -1,5 +1,4 @@ #!/usr/bin/python -import sys Import ('env') sources = 'CcdPhysicsEnvironment.cpp CcdPhysicsController.cpp' @@ -8,9 +7,9 @@ incs = '. ../common' incs += ' ' + env['BF_BULLET_INC'] -#TODO: -#if sys.platform=='win32': -# phy_bullet_env.Append (CXXFLAGS = ['/GR']) -# phy_bullet_env.Append (CCFLAGS =['/O2']) +cflags = [] +if env['OURPLATFORM']=='win32-vc': + cflags.append('/GR') + cflags.append('/O2') -env.BlenderLib ( 'PHY_Bullet', Split(sources), Split(incs), [], libtype='game', priority=15 ) +env.BlenderLib ( 'bf_bullet', Split(sources), Split(incs), [], libtype=['game','player'], priority=[15,90] ) |