2008-12-13 17:44:30 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
Import ('env')
|
|
|
|
|
|
|
|
|
|
sources = env.Glob('*.c')
|
|
|
|
|
|
2010-12-02 04:23:56 +00:00
|
|
|
incs = '../include ../../blenfont ../../blenlib ../../blenkernel ../../makesdna ../../imbuf'
|
2008-12-13 17:44:30 +00:00
|
|
|
incs += ' ../../windowmanager #/intern/guardedalloc #/extern/glew/include'
|
2011-03-17 23:30:29 +00:00
|
|
|
incs += ' ../../bmesh ../../render/extern/include ../../makesrna ../../blenloader'
|
2008-12-13 17:44:30 +00:00
|
|
|
|
2009-05-23 03:24:15 +00:00
|
|
|
defs = []
|
|
|
|
|
|
2009-08-16 22:53:15 +00:00
|
|
|
if env['WITH_BF_OPENEXR']:
|
2010-08-29 20:52:05 +00:00
|
|
|
defs.append('WITH_OPENEXR')
|
2010-11-20 14:19:21 +00:00
|
|
|
if env['WITH_BF_OPENJPEG']:
|
|
|
|
|
defs.append('WITH_OPENJPEG')
|
2010-05-21 03:25:38 +00:00
|
|
|
if env['WITH_BF_TIFF']:
|
2010-08-29 20:52:05 +00:00
|
|
|
defs.append('WITH_TIFF')
|
2010-10-14 11:33:51 +00:00
|
|
|
if env['WITH_BF_CINEON']:
|
|
|
|
|
defs.append('WITH_CINEON')
|
2010-11-20 14:19:21 +00:00
|
|
|
|
2012-04-24 12:57:58 +00:00
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win32-mingw', 'linuxcross', 'win64-vc', 'win64-mingw'):
|
2010-03-28 15:00:43 +00:00
|
|
|
incs += ' ' + env['BF_PTHREADS_INC']
|
2009-05-23 03:24:15 +00:00
|
|
|
|
|
|
|
|
env.BlenderLib ( 'bf_editors_space_image', sources, Split(incs), defs, libtype=['core'], priority=[40] )
|