This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/gameengine/Physics/Sumo/SConscript
Michel Selten 2883110a54 SCons updates: (All done by jesterKing)
* 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
2004-01-20 20:28:39 +00:00

26 lines
852 B
Python
Executable File

phy_sumo_env = Environment()
# Import the C flags set in the SConstruct file
Import ('cflags')
Import ('cxxflags')
Import ('defines')
Import ('solid_include')
phy_sumo_env.Append (CCFLAGS = cflags)
phy_sumo_env.Append (CXXFLAGS = cxxflags)
phy_sumo_env.Append (CPPDEFINES = defines)
source_files = ['SumoPhysicsController.cpp',
'SumoPhysicsEnvironment.cpp',
'Fuzzics/src/SM_FhObject.cpp',
'Fuzzics/src/SM_Object.cpp',
'Fuzzics/src/SM_Scene.cpp']
phy_sumo_env.Append (CPPPATH = ['.',
'../common',
'Fuzzics/include',
solid_include,
'#/intern/moto/include'
])
phy_sumo_env.Library (target='#/lib/PHY_Sumo', source=source_files)