208da2a5d0
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 :)
27 lines
943 B
Python
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'])
|