forked from bartvdbraak/blender
15 lines
437 B
Python
15 lines
437 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.cpp')
|
|
|
|
incs ='. #source/kernel/gen_system #intern/string #intern/moto/include #source/gameengine/SceneGraph'
|
|
incs += ' ' + env['BF_PYTHON_INC']
|
|
|
|
cxxflags = []
|
|
if env['OURPLATFORM']=='win32-vc':
|
|
cxxflags.append ('/GR')
|
|
cxxflags.append ('/O2')
|
|
|
|
env.BlenderLib ( 'bf_expressions', sources, Split(incs), [], libtype=['game','player'], priority = [45,125], cxx_compileflags=cxxflags)
|