diff options
author | Simon Clitherow <aphex@nildram.co.uk> | 2005-08-02 01:19:41 +0400 |
---|---|---|
committer | Simon Clitherow <aphex@nildram.co.uk> | 2005-08-02 01:19:41 +0400 |
commit | 208da2a5d0eaf2f64f7b73d0b24b619d7546bf8d (patch) | |
tree | 242fcb58abef2c0e2af01cc1d9f03dbed6308fae /source/gameengine/Ketsji/SConscript | |
parent | bc865d6d2098d82f9a00655b8aa89a326244db0a (diff) |
Added support for compiling BULLET with scons on windows
using bandoler's patch as a basis (thanks!).
A couple of notes:
- This is for windows only, I did not have a chance to try linux yet.
- SConscript for PHY_Bullet may need tweaking (plus support
for other platforms), but at least it's in there :)
Any problems, shout :)
Diffstat (limited to 'source/gameengine/Ketsji/SConscript')
-rw-r--r-- | source/gameengine/Ketsji/SConscript | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/SConscript b/source/gameengine/Ketsji/SConscript index 1b22231f3f9..aa74e4e29c7 100644 --- a/source/gameengine/Ketsji/SConscript +++ b/source/gameengine/Ketsji/SConscript @@ -68,6 +68,11 @@ if user_options_dict['USE_PHYSICS'] == 'ode': source_files += ['KX_OdePhysicsController.cpp'] ketsji_env.Append (CPPPATH = user_options_dict['SOLID_INCLUDE']) +if user_options_dict['USE_PHYSICS'] == 'bullet': + source_files += ['KX_BulletPhysicsController.cpp'] + ketsji_env.Append (CPPPATH = user_options_dict['BULLET_INCLUDE']) + ketsji_env.Append (CPPPATH = user_options_dict['SOLID_INCLUDE']) + ketsji_env.Append (CPPPATH = ['.', '#source/kernel/gen_system', '#intern/string', @@ -97,6 +102,7 @@ ketsji_env.Append (CPPPATH = ['.', '#source/gameengine/Network', '#source/gameengine/SceneGraph', '#source/gameengine/Physics/common', + '#source/gameengine/Physics/Bullet', '#source/gameengine/Physics/BlOde', '#source/gameengine/Physics/Dummy', '#source/gameengine/Physics/Sumo', |