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:
authorErwin Coumans <blender@erwincoumans.com>2005-10-23 21:55:19 +0400
committerErwin Coumans <blender@erwincoumans.com>2005-10-23 21:55:19 +0400
commit745fc2f9d045508c4c822266dbe3a90274b3ec73 (patch)
tree7578e1fb20d3fcab16594ca1c519997ee5c21b67 /source/gameengine/Ketsji/SConscript
parent6ce7d18371f8d2d1319082ed3cef553de339a65c (diff)
updated SConstruct and Makefile so that if you compile the gameengine, is always enables bullet, independent of sumo/ode.
So for the 2.4 release, both bullet AND sumo will be enabled. You can choose in the world buttons which physics engine is active for a scene. sorry if this breaks your builds!
Diffstat (limited to 'source/gameengine/Ketsji/SConscript')
-rw-r--r--source/gameengine/Ketsji/SConscript8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/gameengine/Ketsji/SConscript b/source/gameengine/Ketsji/SConscript
index aa74e4e29c7..7051f7e5541 100644
--- a/source/gameengine/Ketsji/SConscript
+++ b/source/gameengine/Ketsji/SConscript
@@ -57,7 +57,8 @@ source_files = ['KX_WorldIpoController.cpp',
'KX_CDActuator.cpp',
'KX_CameraIpoSGController.cpp',
'KX_CameraActuator.cpp',
- 'KX_Camera.cpp'
+ 'KX_Camera.cpp',
+ 'KX_BulletPhysicsController.cpp'
]
if user_options_dict['USE_PHYSICS'] == 'solid':
@@ -68,10 +69,6 @@ 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',
@@ -118,5 +115,6 @@ if sys.platform == 'win32':
ketsji_env.Append ( CCFLAGS =['/Ox'])
ketsji_env.Append (CPPPATH = user_options_dict['PYTHON_INCLUDE'])
ketsji_env.Append (CPPPATH = user_options_dict['SDL_INCLUDE'])
+ketsji_env.Append (CPPPATH = user_options_dict['BULLET_INCLUDE'])
ketsji_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/KX_ketsji', source=source_files)