updated SConstruct and Makefile so that if you compile the gameengine, is always...
[blender.git] / source / gameengine / SConscript
1 #!/usr/bin/python
2 Import ('user_options_dict')
3
4 SConscript(['BlenderRoutines/SConscript',
5             'Converter/SConscript',
6             'Expressions/SConscript',
7             'GameLogic/SConscript',
8             'Ketsji/SConscript',
9             'Ketsji/KXNetwork/SConscript',
10             'Network/SConscript',
11             'Network/LoopBackNetwork/SConscript',
12             'Physics/common/SConscript',
13             'Physics/Dummy/SConscript',
14             'Rasterizer/SConscript',
15             'Rasterizer/RAS_OpenGLRasterizer/SConscript',
16             'SceneGraph/SConscript',
17             'Physics/Bullet/SConscript'])
18
19 if user_options_dict['BUILD_BLENDER_PLAYER']:
20         SConscript(['GamePlayer/SConscript'])
21
22 if user_options_dict['USE_PHYSICS'] == 'solid':
23     SConscript(['Physics/Sumo/SConscript'])
24 elif user_options_dict['USE_PHYSICS'] == 'ode':
25     SConscript(['Physics/BlOde/SConscript'])