added yafray_Render.cpp to scons files
[blender.git] / source / blender / src / SConscript
1 src_env = Environment()
2
3 # Import the C flags set in the SConstruct file
4 Import ('cflags')
5 Import ('cxxflags')
6 Import ('defines')
7 Import ('python_include')
8 Import ('sdl_cflags')
9 Import ('sdl_include')
10 Import ('extra_includes')
11 Import ('use_international')
12 src_env.Append (CCFLAGS = cflags)
13 src_env.Append (CCFLAGS = sdl_cflags)
14 src_env.Append (CXXFLAGS = cxxflags)
15 src_env.Append (CPPDEFINES = defines)
16
17 source_files = ['B.blend.c',
18                 'Bfont.c',
19                 'blenderbuttons.c',
20                 'booleanops.c',
21                 'booleanops_mesh.c',
22                 'buttons_editing.c',
23                 'buttons_logic.c',
24                 'buttons_object.c',
25                 'buttons_scene.c',
26                 'buttons_script.c',
27                 'buttons_shading.c',
28                 'butspace.c',
29                 'cmap.tga.c',
30                 'cmovie.tga.c',
31                 'cursors.c',
32                 'drawaction.c',
33                 'drawimage.c',
34                 'drawimasel.c',
35                 'drawipo.c',
36                 'drawmesh.c',
37                 'drawnla.c',
38                 'drawobject.c',
39                 'drawoops.c',
40                 'drawscene.c',
41                 'drawscript.c',
42                 'drawseq.c',
43                 'drawsound.c',
44                 'drawtext.c',
45                 'drawview.c',
46                 'edit.c',
47                 'editaction.c',
48                 'editarmature.c',
49                 'editconstraint.c',
50                 'editcurve.c',
51                 'editdeform.c',
52                 'editface.c',
53                 'editfont.c',
54                 'editgroup.c',
55                 'editika.c',
56                 'editimasel.c',
57                 'editipo.c',
58                 'editkey.c',
59                 'editlattice.c',
60                 'editmball.c',
61                 'editmesh.c',
62                 'editnla.c',
63                 'editobject.c',
64                 'editoops.c',
65                 'editscreen.c',
66                 'editseq.c',
67                 'editsima.c',
68                 'editsound.c',
69                 'editview.c',
70                 'eventdebug.c',
71                 'filesel.c',
72                 'ghostwinlay.c',
73                 'glutil.c',
74                 'headerbuttons.c',
75                 'header_action.c',
76                 'header_buttonswin.c',
77                 'header_filesel.c',
78                 'header_image.c',
79                 'header_imasel.c',
80                 'header_info.c',
81                 'header_ipo.c',
82                 'header_nla.c',
83                 'header_oops.c',
84                 'header_script.c',
85                 'header_seq.c',
86                 'header_sound.c',
87                 'header_text.c',
88                 'header_view3d.c',
89                 'imasel.c',
90                 'interface.c',
91                 'interface_panel.c',
92                 'interface_draw.c',
93                 'keyval.c',
94                 'mainqueue.c',
95                 'mywindow.c',
96                 'oops.c',
97                 'splash.jpg.c',
98                 'playanim.c',
99                 'poseobject.c',
100                 'previewrender.c',
101                 'renderwin.c',
102                 'resources.c',
103                 'scrarea.c',
104                 'screendump.c',
105                 'sequence.c',
106                 'seqaudio.c',
107                 'space.c',
108                 'spacetypes.c',
109                 'swapbuffers.c',
110                 'toets.c',
111                 'toolbox.c',
112                 'usiblender.c',
113                 'view.c',
114                 'vpaint.c',
115                 'writeavicodec.c',
116                 'writeimage.c',
117                 'writemovie.c',
118                 'language.c',
119                 'yafray_Render.cpp']
120
121 src_env.Append (CPPPATH = ['#/intern/guardedalloc',
122                            '../blenlib',
123                            '../makesdna',
124                            '../blenkernel',
125                            '../include',
126                            '#/intern/bmfont',
127                            '../imbuf',
128                            '../render/extern/include',
129                            '#/intern/bsp/extern',
130                            '../renderconverter',
131                            '../radiosity/extern/include',
132                            '#/intern/decimation/extern',
133                            '../blenloader',
134                            '../python',
135                            '../../kernel/gen_system',
136                            '#/intern/SoundSystem',
137                            '../readstreamglue',
138                            '../img',
139                            '../quicktime',
140                            '#/intern/ghost',
141                            python_include,
142                            sdl_include])
143
144 if use_international=='true':
145     src_env.Append (CPPPATH=['../ftfont'])
146
147 src_env.Append (CPPPATH=extra_includes)
148
149 src_env.Library (target='#/lib/blender_blendersrc', source=source_files)