forked from bartvdbraak/blender
9330e553e8
* libraries are now generated in [BUILD_DIR]/lib * passed the user_options to all libraries now. This means I could remove a couple of Export/Import lines. * Changed the order in source/blender/src/SConscript and source/gameengine/SConscript. All libraries are now sorted alphabetically. This has no impact on the build process.
24 lines
962 B
Python
Executable File
24 lines
962 B
Python
Executable File
ras_openglrasterizer_env = Environment()
|
|
|
|
# Import the C flags set in the SConstruct file
|
|
Import ('cflags')
|
|
Import ('cxxflags')
|
|
Import ('defines')
|
|
Import ('user_options_dict')
|
|
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='#'+user_options_dict['BUILD_DIR']+'/lib/RAS_OpenGLRasterizer', source=source_files)
|