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/GameLogic/SConscript | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100755 source/gameengine/GameLogic/SConscript (limited to 'source/gameengine/GameLogic/SConscript') diff --git a/source/gameengine/GameLogic/SConscript b/source/gameengine/GameLogic/SConscript new file mode 100755 index 00000000000..c61b708ec43 --- /dev/null +++ b/source/gameengine/GameLogic/SConscript @@ -0,0 +1,48 @@ +sca_gamelogic_env = Environment() + +# Import the C flags set in the SConstruct file +Import ('cflags') +Import ('cxxflags') +Import ('defines') +Import ('python_include') +sca_gamelogic_env.Append (CCFLAGS = cflags) +sca_gamelogic_env.Append (CXXFLAGS = cxxflags) +sca_gamelogic_env.Append (CPPDEFINES = defines) + +source_files = ['SCA_ANDController.cpp', + 'SCA_AlwaysEventManager.cpp', + 'SCA_AlwaysSensor.cpp', + 'SCA_EventManager.cpp', + 'SCA_ExpressionController.cpp', + 'SCA_IActuator.cpp', + 'SCA_IController.cpp', + 'SCA_IInputDevice.cpp', + 'SCA_ILogicBrick.cpp', + 'SCA_IObject.cpp', + 'SCA_IScene.cpp', + 'SCA_ISensor.cpp', + 'SCA_KeyboardManager.cpp', + 'SCA_KeyboardSensor.cpp', + 'SCA_LogicManager.cpp', + 'SCA_MouseManager.cpp', + 'SCA_MouseSensor.cpp', + 'SCA_ORController.cpp', + 'SCA_PropertyActuator.cpp', + 'SCA_PropertyEventManager.cpp', + 'SCA_PropertySensor.cpp', + 'SCA_PythonController.cpp', + 'SCA_RandomActuator.cpp', + 'SCA_RandomEventManager.cpp', + 'SCA_RandomNumberGenerator.cpp', + 'SCA_RandomSensor.cpp', + 'SCA_TimeEventManager.cpp'] + +sca_gamelogic_env.Append (CPPPATH=['.', + '#/source/kernel/gen_system', + '#/intern/string', + '#/source/gameengine/Expressions', + '#/intern/moto/include', + python_include, + ]) + +sca_gamelogic_env.Library (target='#/lib/SCA_GameLogic', source=source_files) -- cgit v1.2.3