
The butterfly wing flap, causing a nice storm in the rest of blender. Now all dependencies should point ok again. CMakers, do double-test.
25 lines
694 B
Python
25 lines
694 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('intern/*.c')
|
|
|
|
incs = '. ./intern'
|
|
incs += ' #/intern/guardedalloc #/intern/decimation/extern #/intern/bsp/extern #/intern/elbeem/extern'
|
|
incs += ' ../render/extern/include ../blenloader'
|
|
incs += ' ../include ../blenlib ../makesdna ../blenkernel ../blenkernel/intern'
|
|
|
|
incs += ' ' + env['BF_ZLIB_INC']
|
|
|
|
defs = []
|
|
|
|
# could be made optional
|
|
defs += ['WITH_MOD_BOOLEAN']
|
|
defs += ['WITH_MOD_DECIMATE']
|
|
|
|
if env['BF_NO_ELBEEM']:
|
|
defs.append('DISABLE_ELBEEM')
|
|
|
|
env.BlenderLib ( libname = 'bf_modifiers', sources = sources,
|
|
includes = Split(incs), defines=defs,
|
|
libtype=['core','player'], priority = [80, 40] )
|