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

SConscript « radiosity « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 512d7dad0a468d9f23dc4874afc148ed143e9c32 (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
28
rad_env = Environment ()

# Import the C flags set in the SConstruct file
Import ('cflags')
Import ('cxxflags')
Import ('defines')
Import ('user_options_dict')
rad_env.Append (CCFLAGS = cflags)
rad_env.Append (CXXFLAGS = cxxflags)
rad_env.Append (CPPDEFINES = defines)

source_files = ['intern/source/raddisplay.c',
                'intern/source/radfactors.c',
                'intern/source/radrender.c',
                'intern/source/radio.c',
                'intern/source/radnode.c',
                'intern/source/radpostprocess.c',
                'intern/source/radpreprocess.c']

rad_env.Append (CPPPATH = ['extern/include',
                           '../blenlib',
                           '../blenkernel',
                           '../makesdna',
                           '../include',
                           '#/intern/guardedalloc',
                           '../render/extern/include'])

rad_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_radiosity', source=source_files)