soc-2008-mxcurioni: merged changes to revision 15441
[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     SConscript(['qhull/SConscript',
9             'solid/SConscript'])
10
11 if env['WITH_BF_BULLET']:
12     SConscript(['bullet2/src/SConscript'])
13
14 if env['WITH_BF_FREESTYLE']:
15     SConscript(['freestyle/lib3ds/SConscript'])
16     SConscript(['freestyle/swig/SConscript'])
17
18 if env['WITH_BF_INTERNATIONAL']:
19     SConscript(['bFTGL/SConscript'])
20
21 if env['WITH_BF_VERSE']:
22     SConscript(['verse/dist/SConstruct'])
23
24 if env['WITH_BF_FFMPEG'] and env['BF_FFMPEG_LIB'] == '':
25     SConscript(['x264/SConscript'])
26     SConscript(['libmp3lame/SConscript'])
27     SConscript(['xvidcore/SConscript'])
28     SConscript(['ffmpeg/SConscript'])
29
30 if env['WITH_BF_OPENJPEG'] and env['BF_OPENJPEG_LIB'] == '':
31     SConscript(['libopenjpeg/SConscript'])
32
33 if env['WITH_BF_REDCODE'] and env['BF_REDCODE_LIB'] == '':
34     SConscript(['libredcode/SConscript'])
35
36 if env['OURPLATFORM'] == 'linux2':
37     SConscript(['binreloc/SConscript']);