Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / gameengine / Expressions / SConscript
1 #!/usr/bin/python
2 Import ('env')
3
4 sources = env.Glob('*.cpp')
5
6 incs ='. #source/kernel/gen_system #intern/string #intern/moto/include #source/gameengine/SceneGraph #source/blender/blenloader'
7 incs += ' ' + env['BF_PYTHON_INC']
8
9 cxxflags = []
10 if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
11         cxxflags.append ('/GR')
12         cxxflags.append ('/O2')
13         cxxflags.append ('/EHsc')
14
15 env.BlenderLib ( 'bf_expressions', sources, Split(incs), [], libtype=['core','player'], priority = [360,120], cxx_compileflags=cxxflags)