Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2006-02-08 00:24:36 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2006-02-08 00:24:36 +0300
commitef1b7a5735fea454f88f9d18cf9034279f8fb0b6 (patch)
tree8606ed6ca4eeee76c1cd1840c06fcaf09519f311 /source/gameengine/Physics/Bullet/SConscript
parentb11c92c66e437166197fed77be698392f941b3a5 (diff)
==SCons==
+ 'scons blenderplayer' builds blender AND blenderplayer now (tested on Linux only, but was only linking issue, so should work on other platforms too). NOTE: I noticed some compileflags for GE specific libs that were left out - I re-enabled them in the SConscripts, but I'm going to do a test build my- self now, so if there are problems with them on win32, I probably already know about them :)
Diffstat (limited to 'source/gameengine/Physics/Bullet/SConscript')
-rw-r--r--source/gameengine/Physics/Bullet/SConscript11
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] )