diff options
author | Michel Selten <michel@mselten.demon.nl> | 2004-01-20 23:28:39 +0300 |
---|---|---|
committer | Michel Selten <michel@mselten.demon.nl> | 2004-01-20 23:28:39 +0300 |
commit | 2883110a549122ffaf5502626c480c12bb2312b6 (patch) | |
tree | 4e7327b4d89621513146921c72d5afaa11f52a87 /source/gameengine/Physics/Sumo/SConscript | |
parent | 1942e4897ebe84a09757f998773016f18289b141 (diff) |
SCons updates: (All done by jesterKing)
* Windows .exe file now includes the blender icon.
* Builds with game engine on Windows only.
I tried building the game engine on Linux, but I get weird errors when
building with ode. There's a dirty #include path in
Physics/BlOde/OdePhysicsEnvironment.cpp (../ode/src/joint.h). gcc doesn't
like this somehow.
* Other platforms need to add a couple of flags to the SConstruct:
use_sumo, use_ode, solid_include and ode_include
Diffstat (limited to 'source/gameengine/Physics/Sumo/SConscript')
-rwxr-xr-x | source/gameengine/Physics/Sumo/SConscript | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/source/gameengine/Physics/Sumo/SConscript b/source/gameengine/Physics/Sumo/SConscript new file mode 100755 index 00000000000..a59e66cd850 --- /dev/null +++ b/source/gameengine/Physics/Sumo/SConscript @@ -0,0 +1,25 @@ +phy_sumo_env = Environment() + +# Import the C flags set in the SConstruct file +Import ('cflags') +Import ('cxxflags') +Import ('defines') +Import ('solid_include') +phy_sumo_env.Append (CCFLAGS = cflags) +phy_sumo_env.Append (CXXFLAGS = cxxflags) +phy_sumo_env.Append (CPPDEFINES = defines) + +source_files = ['SumoPhysicsController.cpp', + 'SumoPhysicsEnvironment.cpp', + 'Fuzzics/src/SM_FhObject.cpp', + 'Fuzzics/src/SM_Object.cpp', + 'Fuzzics/src/SM_Scene.cpp'] + +phy_sumo_env.Append (CPPPATH = ['.', + '../common', + 'Fuzzics/include', + solid_include, + '#/intern/moto/include' + ]) + +phy_sumo_env.Library (target='#/lib/PHY_Sumo', source=source_files) |