blob: 5048d1637318e0e8e7eb2a147de447f6f6e6b976 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
phy_ode_env = Environment()
# Import the C flags set in the SConstruct file
Import ('cflags')
Import ('cxxflags')
Import ('defines')
Import ('user_options_dict')
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',
])
phy_ode_env.Append (CPPPATH=['ODE_INCLUDE'])
phy_ode_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/PHY_Ode', source=source_files)
|