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