Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SConscript « Rasterizer « gameengine « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 358edb6c9de26b32d3f9054a13cbdbad5154a5af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/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)