Added preliminary support for GamePlayer building with SCons. GPG_ghost and GPC_commo...
[blender.git] / source / gameengine / SConscript
1 Import ('user_options_dict')
2
3 SConscript(['BlenderRoutines/SConscript',
4             'Converter/SConscript',
5             'Expressions/SConscript',
6             'GameLogic/SConscript',
7             'Ketsji/SConscript',
8             'Ketsji/KXNetwork/SConscript',
9             'Network/SConscript',
10             'Network/LoopBackNetwork/SConscript',
11             'Physics/common/SConscript',
12             'Physics/Dummy/SConscript',
13             'Rasterizer/SConscript',
14             'Rasterizer/RAS_OpenGLRasterizer/SConscript',
15             'SceneGraph/SConscript'])
16
17 if user_options_dict['BUILD_BLENDER_PLAYER']:
18         SConscript(['GamePlayer/SConscript'])
19
20 if user_options_dict['USE_PHYSICS'] == 'solid':
21     SConscript(['Physics/Sumo/SConscript'])
22 elif user_options_dict['USE_PHYSICS'] == 'ode':
23     SConscript(['Physics/BlOde/SConscript'])