SCons build system files added.
[blender-staging.git] / source / blender / render / SConscript
1 render_env = Environment()
2
3 # Import the C flags set in the SConstruct file
4 Import ('cflags')
5 Import ('cxxflags')
6 Import ('defines')
7 render_env.Append (CCFLAGS = cflags)
8 render_env.Append (CXXFLAGS = cxxflags)
9 render_env.Append (CPPDEFINES = defines)
10
11 source_files = ['intern/source/RE_callbacks.c',
12                 'intern/source/edgeRender.c',
13                 'intern/source/envmap.c',
14                 'intern/source/errorHandler.c',
15                 'intern/source/gammaCorrectionTables.c',
16                 'intern/source/initrender.c',
17                 'intern/source/jitter.c',
18                 'intern/source/outerRenderLoop.c',
19                 'intern/source/pixelblending.c',
20                 'intern/source/pixelshading.c',
21                 'intern/source/ray.c',
22                 'intern/source/renderHelp.c',
23                 'intern/source/renderPreAndPost.c',
24                 'intern/source/rendercore.c',
25                 'intern/source/renderdatabase.c',
26                 'intern/source/shadbuf.c',
27                 'intern/source/texture.c',
28                 'intern/source/vanillaRenderPipe.c',
29                 'intern/source/zbuf.c',
30                 'intern/source/zbufferdatastruct.c']
31
32
33 render_env.Append (CPPPATH = ['intern/include',
34                               '#/intern/guardedalloc',
35                               '../blenlib',
36                               '../makesdna',
37                               'extern/include',
38                               '../blenkernel',
39                               '../radiosity/extern/include',
40                               '../imbuf',
41                               '../quicktime',
42                               '../include',
43                               '../../kernel/gen_messaging'])
44
45 render_env.Library (target='#/lib/blender_render', source=source_files)