SCons build system files added.
[blender.git] / source / blender / radiosity / SConscript
1 rad_env = Environment ()
2
3 # Import the C flags set in the SConstruct file
4 Import ('cflags')
5 Import ('cxxflags')
6 Import ('defines')
7 rad_env.Append (CCFLAGS = cflags)
8 rad_env.Append (CXXFLAGS = cxxflags)
9 rad_env.Append (CPPDEFINES = defines)
10
11 source_files = ['intern/source/raddisplay.c',
12                 'intern/source/radfactors.c',
13                 'intern/source/radrender.c',
14                 'intern/source/radio.c',
15                 'intern/source/radnode.c',
16                 'intern/source/radpostprocess.c',
17                 'intern/source/radpreprocess.c']
18
19 rad_env.Append (CPPPATH = ['extern/include',
20                            '../blenlib',
21                            '../blenkernel',
22                            '../makesdna',
23                            '../include',
24                            '#/intern/guardedalloc',
25                            '../render/extern/include'])
26
27 rad_env.Library (target='#/lib/blender_radiosity', source=source_files)