2008-12-14 11:25:00 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
Import ('env')
|
|
|
|
|
|
|
|
|
|
sources = env.Glob('*.c')
|
|
|
|
|
|
|
|
|
|
incs = '../include ../../blenlib ../../blenkernel ../../makesdna ../../imbuf'
|
2009-05-14 18:54:41 +00:00
|
|
|
incs += ' ../../blenloader ../../makesrna ../../blenfont'
|
|
|
|
|
incs += ' ../../render/extern/include'
|
2008-12-14 11:25:00 +00:00
|
|
|
incs += ' ../../windowmanager #/intern/guardedalloc #/extern/glew/include'
|
|
|
|
|
|
2009-01-26 08:34:40 +00:00
|
|
|
defs = []
|
|
|
|
|
|
|
|
|
|
if env['WITH_BF_OPENJPEG']:
|
|
|
|
|
defs.append('WITH_OPENJPEG')
|
2009-08-16 22:53:15 +00:00
|
|
|
if env['WITH_BF_OPENEXR']:
|
|
|
|
|
defs.append('WITH_OPENEXR')
|
2009-01-26 08:34:40 +00:00
|
|
|
|
|
|
|
|
env.BlenderLib ( 'bf_editors_space_file', sources, Split(incs), defs, libtype=['core'], priority=[115] )
|