blender/source/gameengine/Converter/SConscript
Simon Clitherow 208da2a5d0 Added support for compiling BULLET with scons on windows
using bandoler's patch as a basis (thanks!).

A couple of notes:

-  This is for windows only, I did not have a chance to try linux yet.

-  SConscript for PHY_Bullet may need tweaking (plus support
 for other platforms), but at least it's in there :)

Any problems, shout :)
2005-08-01 21:19:41 +00:00

67 lines
3.5 KiB
Python
Executable File

#!/usr/bin/python
Import ('user_options_dict')
Import ('library_env')
kx_converter_env = library_env.Copy ()
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',
'#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/Bullet',
'#source/gameengine/Physics/BlOde',
'#source/gameengine/Physics/Dummy',
'#source/gameengine/Physics/Sumo',
'#source/gameengine/Physics/Sumo/Fuzzics/include',
'#source/gameengine/Network/LoopBackNetwork',
'#source/blender/misc',
'#source/blender/blenloader'
])
kx_converter_env.Append (CPPPATH = user_options_dict['PYTHON_INCLUDE'])
kx_converter_env.Append (CPPPATH = user_options_dict['SOLID_INCLUDE'])
kx_converter_env.Append (CPPPATH = user_options_dict['BULLET_INCLUDE'])
kx_converter_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/KX_converter', source=source_files)