forked from bartvdbraak/blender
d5fde6c48b
Makes text editors identify SConscripts as Python, and syntax highlight properly.
28 lines
925 B
Python
Executable File
28 lines
925 B
Python
Executable File
#!/usr/bin/python
|
|
import sys
|
|
Import ('user_options_dict')
|
|
Import ('library_env')
|
|
|
|
ras_rasterizer_env = library_env.Copy ()
|
|
|
|
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'
|
|
])
|
|
|
|
if sys.platform=='win32':
|
|
ras_rasterizer_env.Append ( CCFLAGS =['/Ox'])
|
|
|
|
ras_rasterizer_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/RAS_rasterizer', source=source_files)
|