2004-05-16 13:07:20 +00:00
|
|
|
#!/usr/bin/python
|
2004-03-22 22:02:18 +00:00
|
|
|
import sys
|
2004-02-15 19:25:32 +00:00
|
|
|
Import ('user_options_dict')
|
2004-02-29 21:40:48 +00:00
|
|
|
Import ('library_env')
|
|
|
|
|
|
|
|
phy_sumo_env = library_env.Copy ()
|
2004-01-20 20:28:39 +00:00
|
|
|
|
2005-03-26 13:41:15 +00:00
|
|
|
source_files = ['SumoPHYCallbackBridge.cpp',
|
|
|
|
'SumoPhysicsController.cpp',
|
2004-01-20 20:28:39 +00:00
|
|
|
'SumoPhysicsEnvironment.cpp',
|
|
|
|
'Fuzzics/src/SM_FhObject.cpp',
|
|
|
|
'Fuzzics/src/SM_Object.cpp',
|
2004-11-22 10:19:19 +00:00
|
|
|
'Fuzzics/src/SM_Scene.cpp',
|
2005-03-26 13:41:15 +00:00
|
|
|
'Fuzzics/src/SM_MotionState.cpp'
|
|
|
|
]
|
2004-01-20 20:28:39 +00:00
|
|
|
|
|
|
|
phy_sumo_env.Append (CPPPATH = ['.',
|
|
|
|
'../common',
|
|
|
|
'Fuzzics/include',
|
|
|
|
'#/intern/moto/include'
|
|
|
|
])
|
|
|
|
|
2004-03-22 22:02:18 +00:00
|
|
|
phy_sumo_env.Append (CPPPATH = user_options_dict['SOLID_INCLUDE'])
|
|
|
|
|
|
|
|
if sys.platform=='win32':
|
2004-04-22 04:50:41 +00:00
|
|
|
phy_sumo_env.Append (CXXFLAGS = ['/GR'])
|
|
|
|
phy_sumo_env.Append ( CCFLAGS =['/O1'])
|
2004-02-29 21:40:48 +00:00
|
|
|
|
2004-02-15 19:25:32 +00:00
|
|
|
phy_sumo_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/PHY_Sumo', source=source_files)
|