714dfd2d5372acb703434927e4acf9ad2e103260
[blender-staging.git] / extern / SConscript
1 #!/usr/bin/python
2
3 Import('env')
4
5 SConscript(['glew/SConscript'])
6 SConscript(['colamd/SConscript'])
7 SConscript(['rangetree/SConscript'])
8 SConscript(['wcwidth/SConscript'])
9 SConscript(['libmv/SConscript'])
10
11 if env['WITH_BF_GAMEENGINE']:
12     SConscript(['recastnavigation/SConscript'])
13
14 # now only available in a branch
15 '''
16 if env['WITH_BF_ELTOPO']:
17     SConscript(['eltopo/SConscript'])
18 '''
19
20 if env['WITH_BF_BULLET']:
21     SConscript(['bullet2/src/SConscript'])
22
23 if env['WITH_BF_COMPOSITOR'] or env['WITH_BF_CYCLES']:
24     SConscript (['clew/SConscript'])
25     SConscript (['cuew/SConscript'])
26
27 if env['WITH_BF_OPENJPEG'] and env['BF_OPENJPEG_LIB'] == '':
28     SConscript(['libopenjpeg/SConscript'])
29
30 if env['WITH_BF_REDCODE'] and env['BF_REDCODE_LIB'] == '':
31     SConscript(['libredcode/SConscript'])
32
33 if env['WITH_BF_BINRELOC']:
34     SConscript(['binreloc/SConscript']);
35
36 if env['WITH_BF_LZO']:
37     SConscript(['lzo/SConscript'])
38
39 if env['WITH_BF_LZMA']:
40     SConscript(['lzma/SConscript'])
41
42 if env['WITH_BF_BOOLEAN']:
43     SConscript(['carve/SConscript'])
44
45 if env['WITH_GHOST_XDND']:
46     # FreeBSD doesn't seems to support XDND protocol
47     if env['OURPLATFORM'] in ('linux', 'openbsd3', 'sunos5', 'aix4', 'aix5'):
48         SConscript(['xdnd/SConscript'])