Merge of itasc branch. Project files, scons and cmake should be working. Makefile...
[blender.git] / source / blender / makesrna / SConscript
1 #!/usr/bin/python
2 Import ('env')
3
4 objs = []
5
6 o = SConscript('intern/SConscript')
7 objs += o
8
9 incs = '#/intern/guardedalloc ../blenkernel ../blenlib ../makesdna intern .'
10 incs += ' ../windowmanager ../editors/include ../imbuf ../ikplugin'
11 incs += ' ../render/extern/include'
12
13 defs = []
14
15 if env['WITH_BF_OPENEXR']:
16         defs.append('WITH_OPENEXR')
17
18 if env['WITH_BF_OPENJPEG']:
19         defs.append('WITH_OPENJPEG')
20
21 if env['WITH_BF_DDS']:
22         defs.append('WITH_DDS')
23
24 if env['WITH_BF_FFMPEG']:
25         defs.append('WITH_FFMPEG')
26         incs += ' ' + env['BF_FFMPEG_INC']
27
28 if env['WITH_BF_OGG']:
29         defs.append('WITH_OGG')
30
31 if env['WITH_BF_QUICKTIME']:
32         defs.append('WITH_QUICKTIME')
33
34 if env['WITH_BF_LCMS']:
35         defs.append('WITH_LCMS')
36
37 if env['WITH_BF_GAMEENGINE']:
38         defs.append('GAMEBLENDER=1')
39
40 if env['BF_UNIT_TEST']:
41         defs.append('UNIT_TEST')
42
43 env.BlenderLib ( 'bf_rna', objs, Split(incs), defines=defs, libtype=['core','player'], priority = [165,20] )