967917ace9
[#8766] Scons build does not take into account WITH_BF_OPENEXR for source/creator Submitted By: Stephane SOPPERA Fixes -F EXR on the commandline... Kent
26 lines
845 B
Python
26 lines
845 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = 'creator.c'
|
|
|
|
incs = '#/intern/guardedalloc ../blender/blenlib ../blender/blenkernel'
|
|
incs += ' ../blender/include ../blender/blenloader ../blender/imbuf'
|
|
incs += ' ../blender/renderconverter ../blender/render/extern/include'
|
|
incs += ' ../blender/python ../blender/makesdna ../kernel/gen_messaging'
|
|
incs += ' ../kernel/gen_system'
|
|
incs += ' ' + env['BF_OPENGL_INC']
|
|
|
|
defs = []
|
|
if env['WITH_BF_QUICKTIME']==1:
|
|
incs += ' ' + env['BF_QUICKTIME_INC']
|
|
defs.append('WITH_QUICKTIME')
|
|
|
|
if env['WITH_BF_BINRELOC']==1:
|
|
incs += ' ../../extern/binreloc/include'
|
|
defs.append('WITH_BINRELOC')
|
|
|
|
if env['WITH_BF_OPENEXR']==1:
|
|
defs.append('WITH_OPENEXR')
|
|
|
|
env.BlenderLib ( libname = 'blender_creator', sources = Split(sources), includes = Split(incs), defines = defs, libtype='core', priority = 1 )
|