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
28 lines
977 B
Python
Executable File
28 lines
977 B
Python
Executable File
ras_rasterizer_env = Environment()
|
|
|
|
# Import the C flags set in the SConstruct file
|
|
Import ('cflags')
|
|
Import ('cxxflags')
|
|
Import ('defines')
|
|
ras_rasterizer_env.Append (CCFLAGS = cflags)
|
|
ras_rasterizer_env.Append (CXXFLAGS = cxxflags)
|
|
ras_rasterizer_env.Append (CPPDEFINES = defines)
|
|
|
|
source_files = ['RAS_BucketManager.cpp',
|
|
'RAS_FramingManager.cpp',
|
|
'RAS_IPolygonMaterial.cpp',
|
|
'RAS_IRenderTools.cpp',
|
|
'RAS_MaterialBucket.cpp',
|
|
'RAS_MeshObject.cpp',
|
|
'RAS_Polygon.cpp',
|
|
'RAS_TexVert.cpp',
|
|
'RAS_texmatrix.cpp']
|
|
|
|
ras_rasterizer_env.Append (CPPPATH=['.',
|
|
'#source/kernel/gen_system',
|
|
'#intern/string',
|
|
'#intern/moto/include'
|
|
])
|
|
|
|
ras_rasterizer_env.Library (target='#/lib/RAS_rasterizer', source=source_files)
|