removing files that should not be in blender2.5, added (by mistake?) r19226
[blender.git] / source / gameengine / GameLogic / SConscript
1 #!/usr/bin/python
2 Import ('env')
3
4 sources = env.Glob('*.cpp') + env.Glob('Joystick/*.cpp')
5
6 incs = '. #/source/kernel/gen_system #/intern/string'
7 incs += ' #/source/gameengine/Expressions #/intern/moto/include'
8 incs += ' #/source/gameengine/Rasterizer #/source/gameengine/SceneGraph'
9
10 incs += ' ' + env['BF_PYTHON_INC']
11
12
13 defs = ''
14
15 if env['WITH_BF_SDL']:
16         incs += ' ' + env['BF_SDL_INC']
17 else:
18         defs += ' DISABLE_SDL'
19
20 cxxflags = []
21 if env['OURPLATFORM']=='win32-vc':
22         cxxflags.append ('/GR')
23         cxxflags.append ('/O2')
24
25 env.BlenderLib ( 'bf_logic', sources, Split(incs), Split(defs), libtype=['core','player'], priority=[330, 100], cxx_compileflags=cxxflags )