Merge branch 'master' into blender2.8
[blender.git] / source / blender / draw / CMakeLists.txt
1 # ***** BEGIN GPL LICENSE BLOCK *****
2 #
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 #
17 # The Original Code is Copyright (C) 2016, Blender Foundation
18 # All rights reserved.
19 #
20 # The Original Code is: all of this file.
21 #
22 # Contributor(s): Blender Institute
23 #
24 # ***** END GPL LICENSE BLOCK *****
25
26 set(INC
27         .
28         intern
29         modes
30
31         ../blenfont
32         ../blenkernel
33         ../blenlib
34         ../blentranslation
35         ../bmesh
36         ../depsgraph
37         ../editors/include
38         ../editors/space_view3d
39         ../gpu
40         ../imbuf
41         ../makesdna
42         ../makesrna
43         ../render/extern/include
44         ../render/intern/include
45         ../windowmanager
46
47         ../../../intern/glew-mx
48         ../../../intern/guardedalloc
49 )
50
51 set(INC_SYS
52         ${GLEW_INCLUDE_PATH}
53 )
54
55 set(SRC
56         intern/draw_anim_viz.c
57         intern/draw_armature.c
58         intern/draw_cache.c
59         intern/draw_cache_impl_curve.c
60         intern/draw_cache_impl_displist.c
61         intern/draw_cache_impl_lattice.c
62         intern/draw_cache_impl_mesh.c
63         intern/draw_cache_impl_metaball.c
64         intern/draw_cache_impl_particles.c
65         intern/draw_common.c
66         intern/draw_debug.c
67         intern/draw_hair.c
68         intern/draw_instance_data.c
69         intern/draw_manager.c
70         intern/draw_manager_data.c
71         intern/draw_manager_exec.c
72         intern/draw_manager_shader.c
73         intern/draw_manager_text.c
74         intern/draw_manager_texture.c
75         intern/draw_manager_profiling.c
76         intern/draw_view.c
77         modes/edit_armature_mode.c
78         modes/edit_curve_mode.c
79         modes/edit_lattice_mode.c
80         modes/edit_mesh_mode.c
81         modes/edit_mesh_mode_text.c
82         modes/edit_metaball_mode.c
83         modes/edit_text_mode.c
84         modes/object_mode.c
85         modes/overlay_mode.c
86         modes/paint_texture_mode.c
87         modes/paint_vertex_mode.c
88         modes/paint_weight_mode.c
89         modes/particle_mode.c
90         modes/pose_mode.c
91         modes/sculpt_mode.c
92         engines/basic/basic_engine.c
93         engines/eevee/eevee_bloom.c
94         engines/eevee/eevee_data.c
95         engines/eevee/eevee_depth_of_field.c
96         engines/eevee/eevee_effects.c
97         engines/eevee/eevee_engine.c
98         engines/eevee/eevee_lightcache.c
99         engines/eevee/eevee_lightprobes.c
100         engines/eevee/eevee_lights.c
101         engines/eevee/eevee_lookdev.c
102         engines/eevee/eevee_materials.c
103         engines/eevee/eevee_mist.c
104         engines/eevee/eevee_motion_blur.c
105         engines/eevee/eevee_occlusion.c
106         engines/eevee/eevee_render.c
107         engines/eevee/eevee_screen_raytrace.c
108         engines/eevee/eevee_shaders.c
109         engines/eevee/eevee_subsurface.c
110         engines/eevee/eevee_temporal_sampling.c
111         engines/eevee/eevee_volumes.c
112         engines/workbench/workbench_data.c
113         engines/workbench/workbench_engine.c
114         engines/workbench/workbench_deferred.c
115         engines/workbench/workbench_effect_aa.c
116         engines/workbench/workbench_effect_fxaa.c
117         engines/workbench/workbench_effect_taa.c
118         engines/workbench/workbench_forward.c
119         engines/workbench/workbench_materials.c
120         engines/workbench/workbench_render.c
121         engines/workbench/workbench_studiolight.c
122         engines/workbench/workbench_volume.c
123         engines/workbench/solid_mode.c
124         engines/workbench/transparent_mode.c
125         engines/external/external_engine.c
126         engines/gpencil/gpencil_engine.h
127         engines/gpencil/gpencil_engine.c
128         engines/gpencil/gpencil_render.c
129         engines/gpencil/gpencil_cache_utils.c
130         engines/gpencil/gpencil_draw_utils.c
131         engines/gpencil/gpencil_draw_cache_impl.c
132         engines/gpencil/gpencil_shader_fx.c
133
134         DRW_engine.h
135         intern/DRW_render.h
136         intern/draw_cache.h
137         intern/draw_cache_impl.h
138         intern/draw_common.h
139         intern/draw_debug.h
140         intern/draw_hair_private.h
141         intern/draw_instance_data.h
142         intern/draw_manager.h
143         intern/draw_manager_text.h
144         intern/draw_manager_profiling.h
145         intern/draw_view.h
146         modes/draw_mode_engines.h
147         modes/edit_mesh_mode_intern.h
148         engines/basic/basic_engine.h
149         engines/eevee/eevee_engine.h
150         engines/eevee/eevee_lightcache.h
151         engines/eevee/eevee_lut.h
152         engines/eevee/eevee_private.h
153         engines/external/external_engine.h
154         engines/workbench/workbench_engine.h
155         engines/workbench/workbench_private.h
156 )
157
158 data_to_c_simple(engines/eevee/shaders/ambient_occlusion_lib.glsl SRC)
159 data_to_c_simple(engines/eevee/shaders/default_frag.glsl SRC)
160 data_to_c_simple(engines/eevee/shaders/default_world_frag.glsl SRC)
161 data_to_c_simple(engines/eevee/shaders/background_vert.glsl SRC)
162 data_to_c_simple(engines/eevee/shaders/concentric_samples_lib.glsl SRC)
163 data_to_c_simple(engines/eevee/shaders/common_uniforms_lib.glsl SRC)
164 data_to_c_simple(engines/eevee/shaders/lamps_lib.glsl SRC)
165 data_to_c_simple(engines/eevee/shaders/lightprobe_lib.glsl SRC)
166 data_to_c_simple(engines/eevee/shaders/lightprobe_filter_glossy_frag.glsl SRC)
167 data_to_c_simple(engines/eevee/shaders/lightprobe_filter_diffuse_frag.glsl SRC)
168 data_to_c_simple(engines/eevee/shaders/lightprobe_filter_visibility_frag.glsl SRC)
169 data_to_c_simple(engines/eevee/shaders/lightprobe_geom.glsl SRC)
170 data_to_c_simple(engines/eevee/shaders/lightprobe_vert.glsl SRC)
171 data_to_c_simple(engines/eevee/shaders/lightprobe_cube_display_frag.glsl SRC)
172 data_to_c_simple(engines/eevee/shaders/lightprobe_cube_display_vert.glsl SRC)
173 data_to_c_simple(engines/eevee/shaders/lightprobe_grid_display_frag.glsl SRC)
174 data_to_c_simple(engines/eevee/shaders/lightprobe_grid_display_vert.glsl SRC)
175 data_to_c_simple(engines/eevee/shaders/lightprobe_grid_fill_frag.glsl SRC)
176 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_display_frag.glsl SRC)
177 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_display_vert.glsl SRC)
178 data_to_c_simple(engines/eevee/shaders/lit_surface_frag.glsl SRC)
179 data_to_c_simple(engines/eevee/shaders/lit_surface_vert.glsl SRC)
180 data_to_c_simple(engines/eevee/shaders/effect_bloom_frag.glsl SRC)
181 data_to_c_simple(engines/eevee/shaders/effect_dof_vert.glsl SRC)
182 data_to_c_simple(engines/eevee/shaders/effect_dof_frag.glsl SRC)
183 data_to_c_simple(engines/eevee/shaders/effect_downsample_frag.glsl SRC)
184 data_to_c_simple(engines/eevee/shaders/effect_downsample_cube_frag.glsl SRC)
185 data_to_c_simple(engines/eevee/shaders/effect_gtao_frag.glsl SRC)
186 data_to_c_simple(engines/eevee/shaders/effect_velocity_resolve_frag.glsl SRC)
187 data_to_c_simple(engines/eevee/shaders/effect_minmaxz_frag.glsl SRC)
188 data_to_c_simple(engines/eevee/shaders/effect_mist_frag.glsl SRC)
189 data_to_c_simple(engines/eevee/shaders/effect_motion_blur_frag.glsl SRC)
190 data_to_c_simple(engines/eevee/shaders/effect_ssr_frag.glsl SRC)
191 data_to_c_simple(engines/eevee/shaders/effect_subsurface_frag.glsl SRC)
192 data_to_c_simple(engines/eevee/shaders/effect_temporal_aa.glsl SRC)
193 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_downsample_frag.glsl SRC)
194 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_downsample_geom.glsl SRC)
195 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_downsample_vert.glsl SRC)
196 data_to_c_simple(engines/eevee/shaders/prepass_frag.glsl SRC)
197 data_to_c_simple(engines/eevee/shaders/prepass_vert.glsl SRC)
198 data_to_c_simple(engines/eevee/shaders/shadow_frag.glsl SRC)
199 data_to_c_simple(engines/eevee/shaders/shadow_vert.glsl SRC)
200 data_to_c_simple(engines/eevee/shaders/shadow_store_frag.glsl SRC)
201 data_to_c_simple(engines/eevee/shaders/shadow_copy_frag.glsl SRC)
202 data_to_c_simple(engines/eevee/shaders/bsdf_lut_frag.glsl SRC)
203 data_to_c_simple(engines/eevee/shaders/btdf_lut_frag.glsl SRC)
204 data_to_c_simple(engines/eevee/shaders/bsdf_common_lib.glsl SRC)
205 data_to_c_simple(engines/eevee/shaders/irradiance_lib.glsl SRC)
206 data_to_c_simple(engines/eevee/shaders/octahedron_lib.glsl SRC)
207 data_to_c_simple(engines/eevee/shaders/bsdf_sampling_lib.glsl SRC)
208 data_to_c_simple(engines/eevee/shaders/raytrace_lib.glsl SRC)
209 data_to_c_simple(engines/eevee/shaders/ltc_lib.glsl SRC)
210 data_to_c_simple(engines/eevee/shaders/ssr_lib.glsl SRC)
211 data_to_c_simple(engines/eevee/shaders/update_noise_frag.glsl SRC)
212 data_to_c_simple(engines/eevee/shaders/volumetric_lib.glsl SRC)
213 data_to_c_simple(engines/eevee/shaders/volumetric_frag.glsl SRC)
214 data_to_c_simple(engines/eevee/shaders/volumetric_geom.glsl SRC)
215 data_to_c_simple(engines/eevee/shaders/volumetric_vert.glsl SRC)
216 data_to_c_simple(engines/eevee/shaders/volumetric_resolve_frag.glsl SRC)
217 data_to_c_simple(engines/eevee/shaders/volumetric_scatter_frag.glsl SRC)
218 data_to_c_simple(engines/eevee/shaders/volumetric_integration_frag.glsl SRC)
219
220 data_to_c_simple(engines/workbench/shaders/workbench_background_lib.glsl SRC)
221 data_to_c_simple(engines/workbench/shaders/workbench_cavity_lib.glsl SRC)
222 data_to_c_simple(engines/workbench/shaders/workbench_cavity_frag.glsl SRC)
223 data_to_c_simple(engines/workbench/shaders/workbench_checkerboard_depth_frag.glsl SRC)
224 data_to_c_simple(engines/workbench/shaders/workbench_common_lib.glsl SRC)
225 data_to_c_simple(engines/workbench/shaders/workbench_data_lib.glsl SRC)
226 data_to_c_simple(engines/workbench/shaders/workbench_deferred_composite_frag.glsl SRC)
227 data_to_c_simple(engines/workbench/shaders/workbench_deferred_background_frag.glsl SRC)
228 data_to_c_simple(engines/workbench/shaders/workbench_effect_fxaa_frag.glsl SRC)
229 data_to_c_simple(engines/workbench/shaders/workbench_effect_taa_frag.glsl SRC)
230 data_to_c_simple(engines/workbench/shaders/workbench_forward_composite_frag.glsl SRC)
231 data_to_c_simple(engines/workbench/shaders/workbench_forward_depth_frag.glsl SRC)
232 data_to_c_simple(engines/workbench/shaders/workbench_forward_transparent_accum_frag.glsl SRC)
233 data_to_c_simple(engines/workbench/shaders/workbench_ghost_resolve_frag.glsl SRC)
234 data_to_c_simple(engines/workbench/shaders/workbench_object_outline_lib.glsl SRC)
235 data_to_c_simple(engines/workbench/shaders/workbench_curvature_lib.glsl SRC)
236 data_to_c_simple(engines/workbench/shaders/workbench_prepass_vert.glsl SRC)
237 data_to_c_simple(engines/workbench/shaders/workbench_prepass_frag.glsl SRC)
238 data_to_c_simple(engines/workbench/shaders/workbench_shadow_vert.glsl SRC)
239 data_to_c_simple(engines/workbench/shaders/workbench_shadow_geom.glsl SRC)
240 data_to_c_simple(engines/workbench/shaders/workbench_shadow_caps_geom.glsl SRC)
241 data_to_c_simple(engines/workbench/shaders/workbench_shadow_debug_frag.glsl SRC)
242 data_to_c_simple(engines/workbench/shaders/workbench_volume_vert.glsl SRC)
243 data_to_c_simple(engines/workbench/shaders/workbench_volume_frag.glsl SRC)
244 data_to_c_simple(engines/workbench/shaders/workbench_world_light_lib.glsl SRC)
245
246 data_to_c_simple(modes/shaders/common_globals_lib.glsl SRC)
247 data_to_c_simple(modes/shaders/common_hair_lib.glsl SRC)
248 data_to_c_simple(modes/shaders/common_hair_refine_vert.glsl SRC)
249 data_to_c_simple(modes/shaders/common_view_lib.glsl SRC)
250 data_to_c_simple(modes/shaders/common_fxaa_lib.glsl SRC)
251 data_to_c_simple(modes/shaders/common_fullscreen_vert.glsl SRC)
252 data_to_c_simple(modes/shaders/animviz_mpath_lines_vert.glsl SRC)
253 data_to_c_simple(modes/shaders/animviz_mpath_lines_geom.glsl SRC)
254 data_to_c_simple(modes/shaders/animviz_mpath_points_vert.glsl SRC)
255 data_to_c_simple(modes/shaders/armature_axes_vert.glsl SRC)
256 data_to_c_simple(modes/shaders/armature_sphere_solid_vert.glsl SRC)
257 data_to_c_simple(modes/shaders/armature_sphere_solid_frag.glsl SRC)
258 data_to_c_simple(modes/shaders/armature_sphere_outline_vert.glsl SRC)
259 data_to_c_simple(modes/shaders/armature_envelope_solid_vert.glsl SRC)
260 data_to_c_simple(modes/shaders/armature_envelope_solid_frag.glsl SRC)
261 data_to_c_simple(modes/shaders/armature_envelope_outline_vert.glsl SRC)
262 data_to_c_simple(modes/shaders/armature_envelope_distance_frag.glsl SRC)
263 data_to_c_simple(modes/shaders/armature_shape_solid_vert.glsl SRC)
264 data_to_c_simple(modes/shaders/armature_shape_solid_frag.glsl SRC)
265 data_to_c_simple(modes/shaders/armature_shape_outline_vert.glsl SRC)
266 data_to_c_simple(modes/shaders/armature_shape_outline_geom.glsl SRC)
267 data_to_c_simple(modes/shaders/armature_stick_vert.glsl SRC)
268 data_to_c_simple(modes/shaders/armature_stick_frag.glsl SRC)
269 data_to_c_simple(modes/shaders/armature_dof_vert.glsl SRC)
270 data_to_c_simple(modes/shaders/edit_mesh_overlay_common_lib.glsl SRC)
271 data_to_c_simple(modes/shaders/edit_mesh_overlay_frag.glsl SRC)
272 data_to_c_simple(modes/shaders/edit_mesh_overlay_vert.glsl SRC)
273 data_to_c_simple(modes/shaders/edit_mesh_overlay_geom_tri.glsl SRC)
274 data_to_c_simple(modes/shaders/edit_mesh_overlay_geom_edge.glsl SRC)
275 data_to_c_simple(modes/shaders/edit_mesh_overlay_points_vert.glsl SRC)
276 data_to_c_simple(modes/shaders/edit_mesh_overlay_facedot_frag.glsl SRC)
277 data_to_c_simple(modes/shaders/edit_mesh_overlay_facedot_vert.glsl SRC)
278 data_to_c_simple(modes/shaders/edit_mesh_overlay_mix_frag.glsl SRC)
279 data_to_c_simple(modes/shaders/edit_mesh_overlay_facefill_vert.glsl SRC)
280 data_to_c_simple(modes/shaders/edit_mesh_overlay_facefill_frag.glsl SRC)
281 data_to_c_simple(modes/shaders/edit_curve_overlay_handle_vert.glsl SRC)
282 data_to_c_simple(modes/shaders/edit_curve_overlay_handle_geom.glsl SRC)
283 data_to_c_simple(modes/shaders/edit_curve_overlay_loosevert_vert.glsl SRC)
284 data_to_c_simple(modes/shaders/edit_curve_overlay_normals_vert.glsl SRC)
285 data_to_c_simple(modes/shaders/edit_lattice_overlay_frag.glsl SRC)
286 data_to_c_simple(modes/shaders/edit_lattice_overlay_loosevert_vert.glsl SRC)
287 data_to_c_simple(modes/shaders/edit_normals_vert.glsl SRC)
288 data_to_c_simple(modes/shaders/edit_normals_geom.glsl SRC)
289 data_to_c_simple(modes/shaders/overlay_face_orientation_frag.glsl SRC)
290 data_to_c_simple(modes/shaders/overlay_face_orientation_vert.glsl SRC)
291 data_to_c_simple(modes/shaders/overlay_face_wireframe_vert.glsl SRC)
292 data_to_c_simple(modes/shaders/overlay_face_wireframe_geom.glsl SRC)
293 data_to_c_simple(modes/shaders/overlay_face_wireframe_frag.glsl SRC)
294 data_to_c_simple(modes/shaders/object_empty_axes_vert.glsl SRC)
295 data_to_c_simple(modes/shaders/object_empty_image_frag.glsl SRC)
296 data_to_c_simple(modes/shaders/object_empty_image_vert.glsl SRC)
297 data_to_c_simple(modes/shaders/object_outline_resolve_frag.glsl SRC)
298 data_to_c_simple(modes/shaders/object_outline_expand_frag.glsl SRC)
299 data_to_c_simple(modes/shaders/object_outline_detect_frag.glsl SRC)
300 data_to_c_simple(modes/shaders/object_outline_prepass_vert.glsl SRC)
301 data_to_c_simple(modes/shaders/object_outline_prepass_geom.glsl SRC)
302 data_to_c_simple(modes/shaders/object_outline_prepass_frag.glsl SRC)
303 data_to_c_simple(modes/shaders/object_grid_frag.glsl SRC)
304 data_to_c_simple(modes/shaders/object_grid_vert.glsl SRC)
305 data_to_c_simple(modes/shaders/object_lightprobe_grid_vert.glsl SRC)
306 data_to_c_simple(modes/shaders/object_mball_handles_vert.glsl SRC)
307 data_to_c_simple(modes/shaders/object_particle_prim_vert.glsl SRC)
308 data_to_c_simple(modes/shaders/object_particle_dot_vert.glsl SRC)
309 data_to_c_simple(modes/shaders/object_particle_dot_frag.glsl SRC)
310 data_to_c_simple(modes/shaders/object_loose_points_frag.glsl SRC)
311 data_to_c_simple(modes/shaders/paint_texture_frag.glsl SRC)
312 data_to_c_simple(modes/shaders/paint_texture_vert.glsl SRC)
313 data_to_c_simple(modes/shaders/paint_vertex_frag.glsl SRC)
314 data_to_c_simple(modes/shaders/paint_vertex_vert.glsl SRC)
315 data_to_c_simple(modes/shaders/paint_weight_frag.glsl SRC)
316 data_to_c_simple(modes/shaders/paint_weight_vert.glsl SRC)
317 data_to_c_simple(modes/shaders/paint_wire_frag.glsl SRC)
318 data_to_c_simple(modes/shaders/paint_wire_vert.glsl SRC)
319 data_to_c_simple(modes/shaders/paint_vert_frag.glsl SRC)
320 data_to_c_simple(modes/shaders/particle_strand_frag.glsl SRC)
321 data_to_c_simple(modes/shaders/particle_strand_vert.glsl SRC)
322 data_to_c_simple(modes/shaders/sculpt_mask_vert.glsl SRC)
323 data_to_c_simple(modes/shaders/volume_velocity_vert.glsl SRC)
324
325 data_to_c_simple(engines/gpencil/shaders/gpencil_fill_vert.glsl SRC)
326 data_to_c_simple(engines/gpencil/shaders/gpencil_fill_frag.glsl SRC)
327 data_to_c_simple(engines/gpencil/shaders/gpencil_stroke_vert.glsl SRC)
328 data_to_c_simple(engines/gpencil/shaders/gpencil_stroke_geom.glsl SRC)
329 data_to_c_simple(engines/gpencil/shaders/gpencil_stroke_frag.glsl SRC)
330 data_to_c_simple(engines/gpencil/shaders/gpencil_zdepth_mix_frag.glsl SRC)
331 data_to_c_simple(engines/gpencil/shaders/gpencil_simple_mix_frag.glsl SRC)
332 data_to_c_simple(engines/gpencil/shaders/gpencil_blend_frag.glsl SRC)
333 data_to_c_simple(engines/gpencil/shaders/gpencil_point_vert.glsl SRC)
334 data_to_c_simple(engines/gpencil/shaders/gpencil_point_geom.glsl SRC)
335 data_to_c_simple(engines/gpencil/shaders/gpencil_point_frag.glsl SRC)
336 data_to_c_simple(engines/gpencil/shaders/gpencil_background_frag.glsl SRC)
337 data_to_c_simple(engines/gpencil/shaders/gpencil_paper_frag.glsl SRC)
338 data_to_c_simple(engines/gpencil/shaders/gpencil_edit_point_vert.glsl SRC)
339 data_to_c_simple(engines/gpencil/shaders/gpencil_edit_point_geom.glsl SRC)
340 data_to_c_simple(engines/gpencil/shaders/gpencil_edit_point_frag.glsl SRC)
341
342 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_blur_frag.glsl SRC)
343 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_colorize_frag.glsl SRC)
344 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_flip_frag.glsl SRC)
345 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_glow_prepare_frag.glsl SRC)
346 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_glow_resolve_frag.glsl SRC)
347 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_light_frag.glsl SRC)
348 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_pixel_frag.glsl SRC)
349 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_rim_prepare_frag.glsl SRC)
350 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_rim_resolve_frag.glsl SRC)
351 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_shadow_prepare_frag.glsl SRC)
352 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_shadow_resolve_frag.glsl SRC)
353 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_swirl_frag.glsl SRC)
354 data_to_c_simple(engines/gpencil/shaders/fx/gpencil_fx_wave_frag.glsl SRC)
355
356
357 list(APPEND INC
358 )
359
360 if(WITH_FREESTYLE)
361         add_definitions(-DWITH_FREESTYLE)
362 endif()
363
364 blender_add_lib(bf_draw "${SRC}" "${INC}" "${INC_SYS}")