Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / gameengine / Ketsji / KXNetwork / 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/Ketsji'
7 incs += ' #source/gameengine/GameLogic #source/gameengine/Expressions'
8 incs += ' #source/gameengine/Network #source/gameengine/SceneGraph'
9
10 incs += ' ' + env['BF_PYTHON_INC']
11
12 cxxflags = []
13 if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
14         cxxflags.append ('/GR')
15         cxxflags.append ('/O2')
16         cxxflags.append ('/EHsc')
17
18
19 env.BlenderLib ( 'kx_network', Split(sources), Split(incs), defines=[],libtype=['core', 'player'], priority=[400, 145], cxx_compileflags=cxxflags )