operator draw function working again. needed to add layout to the operator to give...
[blender-staging.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         incs += ' ../quicktime'
34
35 if env['WITH_BF_LCMS']:
36         defs.append('WITH_LCMS')
37
38 if env['WITH_BF_GAMEENGINE']:
39         defs.append('GAMEBLENDER=1')
40
41 if env['BF_UNIT_TEST']:
42         defs.append('UNIT_TEST')
43
44
45 if env['OURPLATFORM'] == 'linux2':
46         cflags='-pthread'
47         incs += ' ../../../extern/binreloc/include'
48
49 if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
50         incs += ' ' + env['BF_PTHREADS_INC']
51
52 env.BlenderLib ( 'bf_rna', objs, Split(incs), defines=defs, libtype=['core','player'], priority = [165,20] )