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
This commit is contained in:
22
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript
Executable file
22
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/SConscript
Executable file
@@ -0,0 +1,22 @@
|
||||
ras_openglrasterizer_env = Environment()
|
||||
|
||||
# Import the C flags set in the SConstruct file
|
||||
Import ('cflags')
|
||||
Import ('cxxflags')
|
||||
Import ('defines')
|
||||
ras_openglrasterizer_env.Append (CCFLAGS = cflags)
|
||||
ras_openglrasterizer_env.Append (CXXFLAGS = cxxflags)
|
||||
ras_openglrasterizer_env.Append (CPPDEFINES = defines)
|
||||
|
||||
source_files = ['RAS_CheckVertexArrays.cpp',
|
||||
'RAS_OpenGLRasterizer.cpp',
|
||||
'RAS_VAOpenGLRasterizer.cpp']
|
||||
|
||||
ras_openglrasterizer_env.Append (CPPPATH=['.',
|
||||
'#source/kernel/gen_system',
|
||||
'#intern/string',
|
||||
'#intern/moto/include',
|
||||
'#source/gameengine/Rasterizer'
|
||||
])
|
||||
|
||||
ras_openglrasterizer_env.Library (target='#/lib/RAS_OpenGLRasterizer', source=source_files)
|
Reference in New Issue
Block a user