2004-01-20 20:28:39 +00:00
|
|
|
phy_ode_env = Environment()
|
|
|
|
|
|
|
|
# Import the C flags set in the SConstruct file
|
|
|
|
Import ('cflags')
|
|
|
|
Import ('cxxflags')
|
|
|
|
Import ('defines')
|
2004-02-15 19:25:32 +00:00
|
|
|
Import ('user_options_dict')
|
2004-01-20 20:28:39 +00:00
|
|
|
phy_ode_env.Append (CCFLAGS = cflags)
|
|
|
|
phy_ode_env.Append (CXXFLAGS = cxxflags)
|
|
|
|
phy_ode_env.Append (CPPDEFINES = defines)
|
|
|
|
|
|
|
|
source_files = ['OdePhysicsController.cpp',
|
|
|
|
'OdePhysicsEnvironment.cpp']
|
|
|
|
|
|
|
|
phy_ode_env.Append (CPPPATH=['.',
|
|
|
|
'../common',
|
|
|
|
])
|
2004-02-21 19:00:31 +00:00
|
|
|
phy_ode_env.Append (CPPPATH=['ODE_INCLUDE'])
|
2004-01-20 20:28:39 +00:00
|
|
|
|
2004-02-15 19:25:32 +00:00
|
|
|
phy_ode_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/PHY_Ode', source=source_files)
|