doxygen: prevent GPL license block from being parsed as doxygen comment.
[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 #/intern/memutil #/intern/audaspace/intern ../blenkernel ../blenlib ../makesdna intern .'
10 incs += ' ../windowmanager ../editors/include ../gpu ../imbuf ../ikplugin ../blenfont ../blenloader'
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_TIFF']:
19     defs.append('WITH_TIFF')
20
21 if env['WITH_BF_OPENJPEG']:
22     defs.append('WITH_OPENJPEG')
23
24 if env['WITH_BF_DDS']:
25     defs.append('WITH_DDS')
26
27 if env['WITH_BF_CINEON']:
28     defs.append('WITH_CINEON')
29
30 if env['WITH_BF_HDR']:
31     defs.append('WITH_HDR')
32
33 if env['WITH_BF_FFMPEG']:
34     defs.append('WITH_FFMPEG')
35     incs += ' ' + env['BF_FFMPEG_INC']
36
37 if env['WITH_BF_OGG']:
38     defs.append('WITH_OGG')
39
40 if env['WITH_BF_QUICKTIME']:
41     defs.append('WITH_QUICKTIME')
42     incs += ' ../quicktime'
43
44 if env['WITH_BF_LCMS']:
45     defs.append('WITH_LCMS')
46     incs += ' ' + env['BF_LCMS_INC']
47     
48 if env['WITH_BF_GAMEENGINE']:
49     defs.append('WITH_GAMEENGINE')
50
51 if env['BF_UNIT_TEST']:
52     defs.append('UNIT_TEST')
53
54 if env['WITH_BF_PYTHON']:
55     defs.append('WITH_PYTHON')
56
57 if env['OURPLATFORM'] == 'linux2':
58     cflags='-pthread'
59     incs += ' ../../../extern/binreloc/include'
60
61 if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
62     incs += ' ' + env['BF_PTHREADS_INC']
63
64 env.BlenderLib ( 'bf_rna', objs, Split(incs), defines=defs, libtype=['core','player'], priority = [165,20] )