I'll break this commit into two sections in the moto files
[blender-staging.git] / source / gameengine / Physics / Sumo / SConscript
1 #!/usr/bin/python
2 import sys
3 Import ('user_options_dict')
4 Import ('library_env')
5
6 phy_sumo_env = library_env.Copy ()
7
8 source_files = ['SumoPhysicsController.cpp',
9                 'SumoPhysicsEnvironment.cpp',
10                 'Fuzzics/src/SM_FhObject.cpp',
11                 'Fuzzics/src/SM_Object.cpp',
12                 'Fuzzics/src/SM_Scene.cpp',
13                 'Fuzzics/src/SM_MotionState.cpp'
14                 ]
15
16 phy_sumo_env.Append (CPPPATH = ['.',
17                                 '../common',
18                                 'Fuzzics/include',
19                                 '#/intern/moto/include'
20                                ])
21
22 phy_sumo_env.Append (CPPPATH = user_options_dict['SOLID_INCLUDE'])
23
24 if sys.platform=='win32':
25         phy_sumo_env.Append (CXXFLAGS = ['/GR'])
26         phy_sumo_env.Append ( CCFLAGS =['/O1'])
27
28 phy_sumo_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/PHY_Sumo', source=source_files)