forked from bartvdbraak/blender
e579793652
NOTE: ODE support needs still to be reviewed, so disable gameengine for now.
21 lines
628 B
Python
Executable File
21 lines
628 B
Python
Executable File
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)
|