merge with/from trunk at r35190
[blender.git] / source / blender / editors / space_image / SConscript
1 #!/usr/bin/python
2 Import ('env')
3
4 sources = env.Glob('*.c')
5
6 incs = '../include ../../blenfont ../../blenlib ../../blenkernel ../../makesdna ../../imbuf'
7 incs += ' ../../windowmanager #/intern/guardedalloc #/extern/glew/include'
8 <<<<<<< .working
9 incs += ' ../../render/extern/include ../../makesrna ../../bmesh'
10 =======
11 incs += ' ../../render/extern/include ../../makesrna ../../blenloader'
12 >>>>>>> .merge-right.r35190
13
14 defs = []
15
16 if env['WITH_BF_LCMS']:
17     defs.append('WITH_LCMS')
18     incs += ' ' + env['BF_LCMS_INC']
19 if env['WITH_BF_OPENEXR']:
20     defs.append('WITH_OPENEXR')
21 if env['WITH_BF_OPENJPEG']:
22     defs.append('WITH_OPENJPEG')
23 if env['WITH_BF_TIFF']:
24     defs.append('WITH_TIFF')
25 if env['WITH_BF_CINEON']:
26         defs.append('WITH_CINEON')
27
28 if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc'):
29     incs += ' ' + env['BF_PTHREADS_INC']
30
31 env.BlenderLib ( 'bf_editors_space_image', sources, Split(incs), defs, libtype=['core'], priority=[40] )