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/BlenderRoutines | |
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/BlenderRoutines')
-rwxr-xr-x | source/gameengine/BlenderRoutines/SConscript | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/source/gameengine/BlenderRoutines/SConscript b/source/gameengine/BlenderRoutines/SConscript new file mode 100755 index 00000000000..2116f9fec3b --- /dev/null +++ b/source/gameengine/BlenderRoutines/SConscript @@ -0,0 +1,52 @@ +kx_blenderhook_env = Environment() + +# Import the C flags set in the SConstruct file +Import ('cflags') +Import ('cxxflags') +Import ('defines') +Import ('python_include') +kx_blenderhook_env.Append (CCFLAGS = cflags) +kx_blenderhook_env.Append (CXXFLAGS = cxxflags) +kx_blenderhook_env.Append (CPPDEFINES = defines) + +source_files = ['KX_BlenderSystem.cpp', + 'KX_BlenderRenderTools.cpp', + 'KX_BlenderPolyMaterial.cpp', + 'KX_BlenderMouseDevice.cpp', + 'KX_BlenderKeyboardDevice.cpp', + 'KX_BlenderInputDevice.cpp', + 'KX_BlenderGL.cpp', + 'KX_BlenderCanvas.cpp', + 'BL_KetsjiEmbedStart.cpp'] + +kx_blenderhook_env.Append (CPPPATH=['.', + '#source/kernel/gen_system', + '#intern/string', + '#intern/guardedalloc', + '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer', + python_include, + '#intern/bmfont', + '#source/gameengine/Converter', + '#source/blender/imbuf', + '#intern/moto/include', + '#source/gameengine/Ketsji', + '#source/blender/blenlib', + '#source/blender/blenkernel', + '#source/blender', + '#source/blender/include', + '#source/blender/makesdna', + '#source/gameengine/Rasterizer', + '#source/gameengine/GameLogic', + '#source/gameengine/Expressions', + '#source/gameengine/Network', + '#source/gameengine/SceneGraph', + '#source/gameengine/Physics/Sumo/include', + '#source/gameengine/Physics/Sumo/Fuzzics/include', + '#source/gameengine/Network/LoopBackNetwork', + '#intern/SoundSystem', + '#source/blender/misc', + '#source/blender/blenloader', + '#../lib/windows/solid/include', + ]) + +kx_blenderhook_env.Library (target='#/lib/KX_blenderhook', source=source_files) |