* 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
20 lines
604 B
Python
Executable File
20 lines
604 B
Python
Executable File
phy_physics_env = Environment()
|
|
|
|
# Import the C flags set in the SConstruct file
|
|
Import ('cflags')
|
|
Import ('cxxflags')
|
|
Import ('defines')
|
|
phy_physics_env.Append (CCFLAGS = cflags)
|
|
phy_physics_env.Append (CXXFLAGS = cxxflags)
|
|
phy_physics_env.Append (CPPDEFINES = defines)
|
|
|
|
source_files = ['PHY_IMotionState.cpp',
|
|
'PHY_IPhysicsController.cpp',
|
|
'PHY_IPhysicsEnvironment.cpp']
|
|
|
|
phy_physics_env.Append (CPPPATH = ['.',
|
|
'../Dummy'
|
|
])
|
|
|
|
phy_physics_env.Library (target='#/lib/PHY_Physics', source=source_files)
|