Building the game engine with Solid/Sumo is now optional for scons using WITH_BF_SOLID.
[blender.git] / extern / SConscript
1 #!/usr/bin/python
2
3 Import('env')
4
5 SConscript(['glew/SConscript'])
6
7 if env['WITH_BF_GAMEENGINE']:
8         if env['WITH_BF_SOLID']:
9                 SConscript(['qhull/SConscript', 'solid/SConscript'])
10
11 if env['WITH_BF_BULLET']:
12     SConscript(['bullet2/src/SConscript'])
13
14 if env['WITH_BF_INTERNATIONAL']:
15     SConscript(['bFTGL/SConscript'])
16
17 if env['WITH_BF_VERSE']:
18     SConscript(['verse/dist/SConstruct'])
19
20 if env['WITH_BF_FFMPEG'] and env['BF_FFMPEG_LIB'] == '':
21     SConscript(['x264/SConscript'])
22     SConscript(['libmp3lame/SConscript'])
23     SConscript(['xvidcore/SConscript'])
24     SConscript(['ffmpeg/SConscript'])
25
26 if env['WITH_BF_OPENJPEG'] and env['BF_OPENJPEG_LIB'] == '':
27     SConscript(['libopenjpeg/SConscript'])
28
29 if env['WITH_BF_REDCODE'] and env['BF_REDCODE_LIB'] == '':
30     SConscript(['libredcode/SConscript'])
31
32 if env['OURPLATFORM'] == 'linux2':
33     SConscript(['binreloc/SConscript']);
34
35 # FFTW not needed atm - dg
36 # SConscript(['fftw/SConscript'])