46fbe6b01e
Use Polytope collision for faster mesh intersection tests, so SOLID can actually use that qhull lib now.
29 lines
889 B
Python
Executable File
29 lines
889 B
Python
Executable File
#!/usr/bin/python
|
|
import sys
|
|
Import ('user_options_dict')
|
|
Import ('library_env')
|
|
|
|
phy_sumo_env = library_env.Copy ()
|
|
|
|
source_files = ['SumoPhysicsController.cpp',
|
|
'SumoPhysicsEnvironment.cpp',
|
|
'Fuzzics/src/SM_FhObject.cpp',
|
|
'Fuzzics/src/SM_Object.cpp',
|
|
'Fuzzics/src/SM_Scene.cpp',
|
|
'Fuzzics/src/SM_MotionState.cpp'
|
|
]
|
|
|
|
phy_sumo_env.Append (CPPPATH = ['.',
|
|
'../common',
|
|
'Fuzzics/include',
|
|
'#/intern/moto/include'
|
|
])
|
|
|
|
phy_sumo_env.Append (CPPPATH = user_options_dict['SOLID_INCLUDE'])
|
|
|
|
if sys.platform=='win32':
|
|
phy_sumo_env.Append (CXXFLAGS = ['/GR'])
|
|
phy_sumo_env.Append ( CCFLAGS =['/O1'])
|
|
|
|
phy_sumo_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/PHY_Sumo', source=source_files)
|