forked from bartvdbraak/blender
98ee2a781d
when python is disabled videotextures are not built.
16 lines
474 B
Python
16 lines
474 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.cpp')
|
|
|
|
incs ='. #source/kernel/gen_system #intern/guardedalloc #intern/string #intern/moto/include #source/gameengine/SceneGraph #source/blender/blenloader'
|
|
|
|
defs = []
|
|
|
|
if env['WITH_BF_PYTHON']:
|
|
incs += ' ' + env['BF_PYTHON_INC']
|
|
else:
|
|
defs.append('DISABLE_PYTHON')
|
|
|
|
env.BlenderLib ( 'bf_expressions', sources, Split(incs), defs, libtype=['core','player'], priority = [360,80], cxx_compileflags=env['BGE_CXXFLAGS'])
|