blender/source/gameengine/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

27 lines
943 B
Python

#!/usr/bin/python
Import ('user_options_dict')
SConscript(['BlenderRoutines/SConscript',
'Converter/SConscript',
'Expressions/SConscript',
'GameLogic/SConscript',
'Ketsji/SConscript',
'Ketsji/KXNetwork/SConscript',
'Network/SConscript',
'Network/LoopBackNetwork/SConscript',
'Physics/common/SConscript',
'Physics/Dummy/SConscript',
'Rasterizer/SConscript',
'Rasterizer/RAS_OpenGLRasterizer/SConscript',
'SceneGraph/SConscript'])
if user_options_dict['BUILD_BLENDER_PLAYER']:
SConscript(['GamePlayer/SConscript'])
if user_options_dict['USE_PHYSICS'] == 'solid':
SConscript(['Physics/Sumo/SConscript'])
elif user_options_dict['USE_PHYSICS'] == 'ode':
SConscript(['Physics/BlOde/SConscript'])
elif user_options_dict['USE_PHYSICS'] == 'bullet':
SConscript(['Physics/Bullet/SConscript'])