faef9f0ac7
* some misc changes, mainly cleaning and style unification that were lying around
36 lines
1.0 KiB
Python
36 lines
1.0 KiB
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/makesdna ../kernel/gen_messaging'
|
|
incs += ' ../kernel/gen_system #/extern/glew/include ../blender/gpu'
|
|
incs += ' ' + env['BF_OPENGL_INC']
|
|
|
|
defs = []
|
|
if env['WITH_BF_QUICKTIME']:
|
|
incs += ' ' + env['BF_QUICKTIME_INC']
|
|
defs.append('WITH_QUICKTIME')
|
|
|
|
if env['WITH_BF_BINRELOC']:
|
|
incs += ' ../../extern/binreloc/include'
|
|
defs.append('WITH_BINRELOC')
|
|
|
|
if env['WITH_BF_OPENEXR']:
|
|
defs.append('WITH_OPENEXR')
|
|
|
|
if not env['WITH_BF_SDL']:
|
|
defs.append('DISABLE_SDL')
|
|
|
|
if env['WITH_BF_PYTHON']:
|
|
incs += ' ../blender/python'
|
|
if env['BF_DEBUG']:
|
|
defs.append('_DEBUG')
|
|
else:
|
|
defs.append('DISABLE_PYTHON')
|
|
|
|
env.BlenderLib ( libname = 'blender_creator', sources = Split(sources), includes = Split(incs), defines = defs, libtype='core', priority = 1 )
|