=== SCons ===
[blender-staging.git] / source / gameengine / Physics / Sumo / SConscript
1 #!/usr/bin/python
2 Import ('env')
3
4 sumoenv = env.Clone()
5 sources = ['SumoPHYCallbackBridge.cpp',
6                                 'SumoPhysicsController.cpp',
7                                 'SumoPhysicsEnvironment.cpp',
8                                 'Fuzzics/src/SM_FhObject.cpp',
9                                 'Fuzzics/src/SM_Object.cpp',
10                                 'Fuzzics/src/SM_Scene.cpp',
11                                 'Fuzzics/src/SM_MotionState.cpp'
12                         ]
13
14 incs =['.',
15         '../common',
16         'Fuzzics/include',
17         '#/intern/moto/include'
18         ]
19 incs += [sumoenv['BF_SOLID_INC']]
20
21 cflags = []
22 if env['OURPLATFORM']=='win32-vc':
23         cflags.append('/GR')
24         cflags.append('/O1')
25
26 env.BlenderLib ( 'bf_sumo', sources, incs, [], libtype=['game2','player'], priority=[40, 55] , compileflags=cflags)