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/Converter | |
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/Converter')
-rwxr-xr-x | source/gameengine/Converter/SConscript | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/source/gameengine/Converter/SConscript b/source/gameengine/Converter/SConscript new file mode 100755 index 00000000000..9567844c8dd --- /dev/null +++ b/source/gameengine/Converter/SConscript @@ -0,0 +1,69 @@ +kx_converter_env = Environment() + +# Import the C flags set in the SConstruct file +Import ('cflags') +Import ('cxxflags') +Import ('defines') +Import ('solid_include') +Import ('python_include') +kx_converter_env.Append (CCFLAGS = cflags) +kx_converter_env.Append (CXXFLAGS = cxxflags) +kx_converter_env.Append (CPPDEFINES = defines) + +source_files = ['KX_IpoConvert.cpp', + 'KX_ConvertSensors.cpp', + 'KX_ConvertProperties.cpp', + 'KX_ConvertControllers.cpp', + 'KX_ConvertActuators.cpp', + 'KX_BlenderSceneConverter.cpp', + 'KX_BlenderScalarInterpolator.cpp', + 'BlenderWorldInfo.cpp', + 'BL_SkinMeshObject.cpp', + 'BL_SkinDeformer.cpp', + 'BL_MeshDeformer.cpp', + 'BL_DeformableGameObject.cpp', + 'BL_BlenderDataConversion.cpp', + 'BL_ArmatureObject.cpp', + 'BL_ActionActuator.cpp' + ] + +kx_converter_env.Append (CPPPATH = ['.', + '#source/kernel/gen_system', + '#intern/string', + '#intern/guardedalloc', + '#source/gameengine/Rasterizer/RAS_OpenGLRasterizer', + python_include, + '#intern/bmfont', + '#intern/SoundSystem', + '#intern/SoundSystem/include', + '#intern/SoundSystem/openal', + '#intern/SoundSystem/dummy', + '#intern/SoundSystem/intern', + '#source/gameengine/Converter', + '#source/gameengine/BlenderRoutines', + '#source/blender/imbuf', + '#intern/moto/include', + '#source/gameengine/Ketsji', + '#source/gameengine/Ketsji/KXNetwork', + '#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/common', + '#source/gameengine/Physics/BlOde', + '#source/gameengine/Physics/Dummy', + '#source/gameengine/Physics/Sumo/include', + '#source/gameengine/Physics/Sumo/Fuzzics/include', + '#source/gameengine/Network/LoopBackNetwork', + '#source/blender/misc', + '#source/blender/blenloader', + solid_include + ]) + +kx_converter_env.Library (target='#/lib/KX_converter', source=source_files) |