
* 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.
29 lines
1.0 KiB
Python
Executable File
29 lines
1.0 KiB
Python
Executable File
ras_rasterizer_env = Environment()
|
|
|
|
# Import the C flags set in the SConstruct file
|
|
Import ('cflags')
|
|
Import ('cxxflags')
|
|
Import ('defines')
|
|
Import ('user_options_dict')
|
|
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='#'+user_options_dict['BUILD_DIR']+'/lib/RAS_rasterizer', source=source_files)
|