2004-04-22 04:50:41 +00:00
|
|
|
import sys
|
2004-02-15 19:25:32 +00:00
|
|
|
Import ('user_options_dict')
|
2004-02-29 21:40:48 +00:00
|
|
|
Import ('library_env')
|
|
|
|
|
|
|
|
ras_rasterizer_env = library_env.Copy ()
|
2004-01-20 20:28:39 +00:00
|
|
|
|
|
|
|
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'
|
|
|
|
])
|
|
|
|
|
2004-04-22 04:50:41 +00:00
|
|
|
if sys.platform=='win32':
|
|
|
|
ras_rasterizer_env.Append ( CCFLAGS =['/Ox'])
|
|
|
|
|
2004-02-15 19:25:32 +00:00
|
|
|
ras_rasterizer_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/RAS_rasterizer', source=source_files)
|