496d9dc8f3cae5ffee700786c48c8241bcc5672c
[blender-staging.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
18 if user_options_dict['BUILD_BLENDER_PLAYER']:
19         SConscript(['GamePlayer/SConscript'])
20
21 if user_options_dict['USE_PHYSICS'] == 'solid':
22     SConscript(['Physics/Sumo/SConscript'])
23 elif user_options_dict['USE_PHYSICS'] == 'ode':
24     SConscript(['Physics/BlOde/SConscript'])
25 elif user_options_dict['USE_PHYSICS'] == 'bullet':
26     SConscript(['Physics/Bullet/SConscript'])