2004-05-16 13:07:20 +00:00
|
|
|
#!/usr/bin/python
|
2006-02-04 14:15:10 +00:00
|
|
|
Import ('env')
|
2004-02-29 21:40:48 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
sources = env.Glob('*.cpp')
|
2004-01-20 20:28:39 +00:00
|
|
|
|
2009-06-08 20:08:19 +00:00
|
|
|
incs ='. #source/kernel/gen_system #intern/string #intern/moto/include #source/gameengine/SceneGraph'
|
2006-02-04 14:15:10 +00:00
|
|
|
incs += ' ' + env['BF_PYTHON_INC']
|
2004-01-20 20:28:39 +00:00
|
|
|
|
2009-02-15 23:26:00 +00:00
|
|
|
cxxflags = []
|
|
|
|
if env['OURPLATFORM']=='win32-vc':
|
|
|
|
cxxflags.append ('/GR')
|
|
|
|
cxxflags.append ('/O2')
|
|
|
|
|
2009-03-17 21:44:58 +00:00
|
|
|
env.BlenderLib ( 'bf_expressions', sources, Split(incs), [], libtype=['core','player'], priority = [360,120], cxx_compileflags=cxxflags)
|