Added support for compiling BULLET with scons on windows
[blender-staging.git] / source / gameengine / Ketsji / SConscript
index 1b22231f3f9085bfd741dba5da3c7b5d1c0be058..aa74e4e29c7e6eecc90ecbc71720da8dd70136b4 100644 (file)
@@ -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',