Final merge of HEAD (bf-blender) into the orange branch.
[blender.git] / source / blender / render / SConscript
1 #!/usr/bin/python
2 Import ('user_options_dict')
3 Import ('library_env')
4
5 render_env = library_env.Copy ()
6
7 source_files = ['intern/source/convertblender.c',
8                 'intern/source/edgeRender.c',
9                 'intern/source/envmap.c',
10                 'intern/source/gammaCorrectionTables.c',
11                 'intern/source/imagetexture.c',
12                 'intern/source/initrender.c',
13                 'intern/source/pixelblending.c',
14                 'intern/source/pixelshading.c',
15                 'intern/source/pipeline.c',
16                 'intern/source/ray.c',
17                 'intern/source/rendercore.c',
18                 'intern/source/renderdatabase.c',
19                 'intern/source/shadbuf.c',
20                 'intern/source/texture.c',
21                 'intern/source/zbuf.c']
22
23
24 render_env.Append (CPPPATH = ['intern/include',
25                               '#/intern/guardedalloc',
26                               '../blenlib',
27                               '../makesdna',
28                               'extern/include',
29                               '../blenkernel',
30                               '../radiosity/extern/include',
31                               '../imbuf',
32                               '../quicktime',
33                               '../include',
34                               '../../kernel/gen_messaging',
35                               '../yafray'])
36
37 render_env.Append (CPPPATH = user_options_dict['SDL_INCLUDE'])
38
39 render_env.Library (target='#'+user_options_dict['BUILD_DIR']+'/lib/blender_render', source=source_files)