forked from bartvdbraak/blender
00291b5cf4
[SCons] Build with Solid as default when enabling the gameengine in the build process [SCons] Build solid and qhull from the extern directory and link statically against them That was about it. There are a few things that needs double checking: * Makefiles * Projectfiles * All the other systems than Linux and Windows on which the build (with scons) has been successfully tested.
18 lines
727 B
Python
Executable File
18 lines
727 B
Python
Executable File
Import ('user_options_dict')
|
|
Import ('library_env')
|
|
|
|
ras_openglrasterizer_env = library_env.Copy ()
|
|
|
|
source_files = ['RAS_GLExtensionManager.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='#'+user_options_dict['BUILD_DIR']+'/lib/RAS_OpenGLRasterizer', source=source_files)
|