forked from bartvdbraak/blender
2883110a54
* Windows .exe file now includes the blender icon. * Builds with game engine on Windows only. I tried building the game engine on Linux, but I get weird errors when building with ode. There's a dirty #include path in Physics/BlOde/OdePhysicsEnvironment.cpp (../ode/src/joint.h). gcc doesn't like this somehow. * Other platforms need to add a couple of flags to the SConstruct: use_sumo, use_ode, solid_include and ode_include
21 lines
584 B
Python
Executable File
21 lines
584 B
Python
Executable File
phy_ode_env = Environment()
|
|
|
|
# Import the C flags set in the SConstruct file
|
|
Import ('cflags')
|
|
Import ('cxxflags')
|
|
Import ('defines')
|
|
Import ('ode_include')
|
|
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',
|
|
ode_include
|
|
])
|
|
|
|
phy_ode_env.Library (target='#/lib/PHY_Ode', source=source_files)
|