forked from bartvdbraak/blender
320ac3f0e2
things default on for linux. ideasman helped me get scons working. Cmake still needs some love... Kent
23 lines
782 B
Python
23 lines
782 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')
|
|
|
|
env.BlenderLib ( libname = 'blender_creator', sources = Split(sources), includes = Split(incs), defines = defs, libtype='core', priority = 1 )
|