svn merge ^/trunk/blender -r48527:48537
[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 incs += ' ../../bmesh ../../render/extern/include ../../makesrna ../../blenloader'
9
10 defs = []
11
12 if env['WITH_BF_INTERNATIONAL']:
13     defs.append('WITH_INTERNATIONAL')
14 if env['WITH_BF_OPENEXR']:
15     defs.append('WITH_OPENEXR')
16 if env['WITH_BF_OPENJPEG']:
17     defs.append('WITH_OPENJPEG')
18 if env['WITH_BF_TIFF']:
19     defs.append('WITH_TIFF')
20 if env['WITH_BF_CINEON']:
21         defs.append('WITH_CINEON')
22
23 if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
24     incs += ' ' + env['BF_PTHREADS_INC']
25
26 env.BlenderLib ( 'bf_editors_space_image', sources, Split(incs), defs, libtype=['core'], priority=[40] )