blender/source/gameengine/Physics/BlOde/SConscript

21 lines
628 B
Python
Raw Normal View History

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)