From 2883110a549122ffaf5502626c480c12bb2312b6 Mon Sep 17 00:00:00 2001 From: Michel Selten Date: Tue, 20 Jan 2004 20:28:39 +0000 Subject: 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 --- source/gameengine/Physics/common/SConscript | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 source/gameengine/Physics/common/SConscript (limited to 'source/gameengine/Physics/common/SConscript') diff --git a/source/gameengine/Physics/common/SConscript b/source/gameengine/Physics/common/SConscript new file mode 100755 index 00000000000..81cc93fa3c1 --- /dev/null +++ b/source/gameengine/Physics/common/SConscript @@ -0,0 +1,19 @@ +phy_physics_env = Environment() + +# Import the C flags set in the SConstruct file +Import ('cflags') +Import ('cxxflags') +Import ('defines') +phy_physics_env.Append (CCFLAGS = cflags) +phy_physics_env.Append (CXXFLAGS = cxxflags) +phy_physics_env.Append (CPPDEFINES = defines) + +source_files = ['PHY_IMotionState.cpp', + 'PHY_IPhysicsController.cpp', + 'PHY_IPhysicsEnvironment.cpp'] + +phy_physics_env.Append (CPPPATH = ['.', + '../Dummy' + ]) + +phy_physics_env.Library (target='#/lib/PHY_Physics', source=source_files) -- cgit v1.2.3