Build: hide most symbols on macOS on Linux to avoid conflicts
[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 # ***** END GPL LICENSE BLOCK *****
20
21 set(INC
22   .
23   intern
24
25   ../blenfont
26   ../blenkernel
27   ../blenlib
28   ../blentranslation
29   ../bmesh
30   ../depsgraph
31   ../editors/include
32   ../editors/space_view3d
33   ../gpu
34   ../imbuf
35   ../makesdna
36   ../makesrna
37   ../render/extern/include
38   ../render/intern/include
39   ../windowmanager
40
41   ../../../intern/atomic
42   ../../../intern/glew-mx
43   ../../../intern/guardedalloc
44 )
45
46 set(INC_SYS
47   ${GLEW_INCLUDE_PATH}
48 )
49
50 set(SRC
51   intern/draw_cache.c
52   intern/draw_cache_extract_mesh.c
53   intern/draw_cache_impl_curve.c
54   intern/draw_cache_impl_displist.c
55   intern/draw_cache_impl_gpencil.c
56   intern/draw_cache_impl_hair.c
57   intern/draw_cache_impl_lattice.c
58   intern/draw_cache_impl_mesh.c
59   intern/draw_cache_impl_metaball.c
60   intern/draw_cache_impl_particles.c
61   intern/draw_cache_impl_pointcloud.c
62   intern/draw_cache_impl_volume.c
63   intern/draw_color_management.c
64   intern/draw_common.c
65   intern/draw_debug.c
66   intern/draw_hair.c
67   intern/draw_instance_data.c
68   intern/draw_manager.c
69   intern/draw_manager_data.c
70   intern/draw_manager_exec.c
71   intern/draw_manager_profiling.c
72   intern/draw_manager_shader.c
73   intern/draw_manager_text.c
74   intern/draw_manager_texture.c
75   intern/draw_select_buffer.c
76   intern/draw_view.c
77   engines/basic/basic_engine.c
78   engines/eevee/eevee_bloom.c
79   engines/eevee/eevee_data.c
80   engines/eevee/eevee_depth_of_field.c
81   engines/eevee/eevee_effects.c
82   engines/eevee/eevee_engine.c
83   engines/eevee/eevee_lightcache.c
84   engines/eevee/eevee_lightprobes.c
85   engines/eevee/eevee_lights.c
86   engines/eevee/eevee_lookdev.c
87   engines/eevee/eevee_lut.c
88   engines/eevee/eevee_materials.c
89   engines/eevee/eevee_mist.c
90   engines/eevee/eevee_motion_blur.c
91   engines/eevee/eevee_occlusion.c
92   engines/eevee/eevee_render.c
93   engines/eevee/eevee_renderpasses.c
94   engines/eevee/eevee_sampling.c
95   engines/eevee/eevee_screen_raytrace.c
96   engines/eevee/eevee_shaders.c
97   engines/eevee/eevee_shadows.c
98   engines/eevee/eevee_shadows_cascade.c
99   engines/eevee/eevee_shadows_cube.c
100   engines/eevee/eevee_subsurface.c
101   engines/eevee/eevee_temporal_sampling.c
102   engines/eevee/eevee_volumes.c
103   engines/workbench/workbench_data.c
104   engines/workbench/workbench_effect_antialiasing.c
105   engines/workbench/workbench_effect_cavity.c
106   engines/workbench/workbench_effect_dof.c
107   engines/workbench/workbench_effect_outline.c
108   engines/workbench/workbench_engine.c
109   engines/workbench/workbench_materials.c
110   engines/workbench/workbench_opaque.c
111   engines/workbench/workbench_render.c
112   engines/workbench/workbench_shader.c
113   engines/workbench/workbench_shadow.c
114   engines/workbench/workbench_transparent.c
115   engines/workbench/workbench_volume.c
116   engines/external/external_engine.c
117   engines/gpencil/gpencil_antialiasing.c
118   engines/gpencil/gpencil_cache_utils.c
119   engines/gpencil/gpencil_draw_data.c
120   engines/gpencil/gpencil_engine.c
121   engines/gpencil/gpencil_engine.h
122   engines/gpencil/gpencil_render.c
123   engines/gpencil/gpencil_shader.c
124   engines/gpencil/gpencil_shader_fx.c
125   engines/select/select_draw_utils.c
126   engines/select/select_engine.c
127   engines/overlay/overlay_antialiasing.c
128   engines/overlay/overlay_armature.c
129   engines/overlay/overlay_background.c
130   engines/overlay/overlay_edit_curve.c
131   engines/overlay/overlay_edit_mesh.c
132   engines/overlay/overlay_edit_text.c
133   engines/overlay/overlay_engine.c
134   engines/overlay/overlay_extra.c
135   engines/overlay/overlay_facing.c
136   engines/overlay/overlay_gpencil.c
137   engines/overlay/overlay_grid.c
138   engines/overlay/overlay_image.c
139   engines/overlay/overlay_lattice.c
140   engines/overlay/overlay_metaball.c
141   engines/overlay/overlay_motion_path.c
142   engines/overlay/overlay_outline.c
143   engines/overlay/overlay_paint.c
144   engines/overlay/overlay_particle.c
145   engines/overlay/overlay_pointcloud.c
146   engines/overlay/overlay_sculpt.c
147   engines/overlay/overlay_shader.c
148   engines/overlay/overlay_wireframe.c
149
150   DRW_engine.h
151   DRW_select_buffer.h
152   intern/DRW_render.h
153   intern/draw_cache.h
154   intern/draw_cache_extract.h
155   intern/draw_cache_impl.h
156   intern/draw_cache_inline.h
157   intern/draw_color_management.h
158   intern/draw_common.h
159   intern/draw_debug.h
160   intern/draw_hair_private.h
161   intern/draw_instance_data.h
162   intern/draw_manager.h
163   intern/draw_manager_profiling.h
164   intern/draw_manager_text.h
165   intern/draw_view.h
166   intern/smaa_textures.h
167   engines/basic/basic_engine.h
168   engines/eevee/eevee_engine.h
169   engines/eevee/eevee_lightcache.h
170   engines/eevee/eevee_lut.h
171   engines/eevee/eevee_private.h
172   engines/external/external_engine.h
173   engines/workbench/workbench_engine.h
174   engines/workbench/workbench_private.h
175   engines/select/select_engine.h
176   engines/select/select_private.h
177   engines/overlay/overlay_engine.h
178   engines/overlay/overlay_private.h
179 )
180
181 set(LIB
182   bf_blenkernel
183   bf_blenlib
184   bf_windowmanager
185 )
186
187 data_to_c_simple(engines/eevee/shaders/ambient_occlusion_lib.glsl SRC)
188 data_to_c_simple(engines/eevee/shaders/default_frag.glsl SRC)
189 data_to_c_simple(engines/eevee/shaders/default_world_frag.glsl SRC)
190 data_to_c_simple(engines/eevee/shaders/background_vert.glsl SRC)
191 data_to_c_simple(engines/eevee/shaders/concentric_samples_lib.glsl SRC)
192 data_to_c_simple(engines/eevee/shaders/common_uniforms_lib.glsl SRC)
193 data_to_c_simple(engines/eevee/shaders/lights_lib.glsl SRC)
194 data_to_c_simple(engines/eevee/shaders/lightprobe_lib.glsl SRC)
195 data_to_c_simple(engines/eevee/shaders/lightprobe_filter_glossy_frag.glsl SRC)
196 data_to_c_simple(engines/eevee/shaders/lightprobe_filter_diffuse_frag.glsl SRC)
197 data_to_c_simple(engines/eevee/shaders/lightprobe_filter_visibility_frag.glsl SRC)
198 data_to_c_simple(engines/eevee/shaders/lightprobe_geom.glsl SRC)
199 data_to_c_simple(engines/eevee/shaders/lightprobe_vert.glsl SRC)
200 data_to_c_simple(engines/eevee/shaders/lightprobe_cube_display_frag.glsl SRC)
201 data_to_c_simple(engines/eevee/shaders/lightprobe_cube_display_vert.glsl SRC)
202 data_to_c_simple(engines/eevee/shaders/lightprobe_grid_display_frag.glsl SRC)
203 data_to_c_simple(engines/eevee/shaders/lightprobe_grid_display_vert.glsl SRC)
204 data_to_c_simple(engines/eevee/shaders/lightprobe_grid_fill_frag.glsl SRC)
205 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_display_frag.glsl SRC)
206 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_display_vert.glsl SRC)
207 data_to_c_simple(engines/eevee/shaders/lit_surface_frag.glsl SRC)
208 data_to_c_simple(engines/eevee/shaders/lit_surface_vert.glsl SRC)
209 data_to_c_simple(engines/eevee/shaders/effect_bloom_frag.glsl SRC)
210 data_to_c_simple(engines/eevee/shaders/effect_dof_vert.glsl SRC)
211 data_to_c_simple(engines/eevee/shaders/effect_dof_frag.glsl SRC)
212 data_to_c_simple(engines/eevee/shaders/effect_downsample_frag.glsl SRC)
213 data_to_c_simple(engines/eevee/shaders/effect_downsample_cube_frag.glsl SRC)
214 data_to_c_simple(engines/eevee/shaders/effect_gtao_frag.glsl SRC)
215 data_to_c_simple(engines/eevee/shaders/effect_velocity_resolve_frag.glsl SRC)
216 data_to_c_simple(engines/eevee/shaders/effect_minmaxz_frag.glsl SRC)
217 data_to_c_simple(engines/eevee/shaders/effect_mist_frag.glsl SRC)
218 data_to_c_simple(engines/eevee/shaders/effect_motion_blur_frag.glsl SRC)
219 data_to_c_simple(engines/eevee/shaders/effect_ssr_frag.glsl SRC)
220 data_to_c_simple(engines/eevee/shaders/effect_subsurface_frag.glsl SRC)
221 data_to_c_simple(engines/eevee/shaders/effect_translucency_frag.glsl SRC)
222 data_to_c_simple(engines/eevee/shaders/effect_temporal_aa.glsl SRC)
223 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_downsample_frag.glsl SRC)
224 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_downsample_geom.glsl SRC)
225 data_to_c_simple(engines/eevee/shaders/lightprobe_planar_downsample_vert.glsl SRC)
226 data_to_c_simple(engines/eevee/shaders/prepass_frag.glsl SRC)
227 data_to_c_simple(engines/eevee/shaders/prepass_vert.glsl SRC)
228 data_to_c_simple(engines/eevee/shaders/shadow_accum_frag.glsl SRC)
229
230 data_to_c_simple(engines/eevee/shaders/shadow_frag.glsl SRC)
231 data_to_c_simple(engines/eevee/shaders/shadow_vert.glsl SRC)
232 data_to_c_simple(engines/eevee/shaders/bsdf_lut_frag.glsl SRC)
233 data_to_c_simple(engines/eevee/shaders/btdf_lut_frag.glsl SRC)
234 data_to_c_simple(engines/eevee/shaders/bsdf_common_lib.glsl SRC)
235 data_to_c_simple(engines/eevee/shaders/irradiance_lib.glsl SRC)
236 data_to_c_simple(engines/eevee/shaders/octahedron_lib.glsl SRC)
237 data_to_c_simple(engines/eevee/shaders/cubemap_lib.glsl SRC)
238 data_to_c_simple(engines/eevee/shaders/bsdf_sampling_lib.glsl SRC)
239 data_to_c_simple(engines/eevee/shaders/raytrace_lib.glsl SRC)
240 data_to_c_simple(engines/eevee/shaders/renderpass_postprocess_frag.glsl SRC)
241 data_to_c_simple(engines/eevee/shaders/ltc_lib.glsl SRC)
242 data_to_c_simple(engines/eevee/shaders/ssr_lib.glsl SRC)
243 data_to_c_simple(engines/eevee/shaders/update_noise_frag.glsl SRC)
244 data_to_c_simple(engines/eevee/shaders/volumetric_accum_frag.glsl SRC)
245 data_to_c_simple(engines/eevee/shaders/volumetric_lib.glsl SRC)
246 data_to_c_simple(engines/eevee/shaders/volumetric_frag.glsl SRC)
247 data_to_c_simple(engines/eevee/shaders/volumetric_geom.glsl SRC)
248 data_to_c_simple(engines/eevee/shaders/volumetric_vert.glsl SRC)
249 data_to_c_simple(engines/eevee/shaders/volumetric_resolve_frag.glsl SRC)
250 data_to_c_simple(engines/eevee/shaders/volumetric_scatter_frag.glsl SRC)
251 data_to_c_simple(engines/eevee/shaders/volumetric_integration_frag.glsl SRC)
252
253 data_to_c_simple(engines/workbench/shaders/workbench_cavity_lib.glsl SRC)
254 data_to_c_simple(engines/workbench/shaders/workbench_common_lib.glsl SRC)
255 data_to_c_simple(engines/workbench/shaders/workbench_composite_frag.glsl SRC)
256 data_to_c_simple(engines/workbench/shaders/workbench_curvature_lib.glsl SRC)
257 data_to_c_simple(engines/workbench/shaders/workbench_data_lib.glsl SRC)
258 data_to_c_simple(engines/workbench/shaders/workbench_effect_cavity_frag.glsl SRC)
259 data_to_c_simple(engines/workbench/shaders/workbench_effect_dof_frag.glsl SRC)
260 data_to_c_simple(engines/workbench/shaders/workbench_effect_outline_frag.glsl SRC)
261 data_to_c_simple(engines/workbench/shaders/workbench_effect_smaa_frag.glsl SRC)
262 data_to_c_simple(engines/workbench/shaders/workbench_effect_smaa_vert.glsl SRC)
263 data_to_c_simple(engines/workbench/shaders/workbench_effect_taa_frag.glsl SRC)
264 data_to_c_simple(engines/workbench/shaders/workbench_image_lib.glsl SRC)
265 data_to_c_simple(engines/workbench/shaders/workbench_matcap_lib.glsl SRC)
266 data_to_c_simple(engines/workbench/shaders/workbench_material_lib.glsl SRC)
267 data_to_c_simple(engines/workbench/shaders/workbench_merge_infront_frag.glsl SRC)
268 data_to_c_simple(engines/workbench/shaders/workbench_prepass_frag.glsl SRC)
269 data_to_c_simple(engines/workbench/shaders/workbench_prepass_hair_vert.glsl SRC)
270 data_to_c_simple(engines/workbench/shaders/workbench_prepass_vert.glsl SRC)
271 data_to_c_simple(engines/workbench/shaders/workbench_shader_interface_lib.glsl SRC)
272 data_to_c_simple(engines/workbench/shaders/workbench_shadow_caps_geom.glsl SRC)
273 data_to_c_simple(engines/workbench/shaders/workbench_shadow_debug_frag.glsl SRC)
274 data_to_c_simple(engines/workbench/shaders/workbench_shadow_geom.glsl SRC)
275 data_to_c_simple(engines/workbench/shaders/workbench_shadow_vert.glsl SRC)
276 data_to_c_simple(engines/workbench/shaders/workbench_transparent_accum_frag.glsl SRC)
277 data_to_c_simple(engines/workbench/shaders/workbench_transparent_resolve_frag.glsl SRC)
278 data_to_c_simple(engines/workbench/shaders/workbench_volume_frag.glsl SRC)
279 data_to_c_simple(engines/workbench/shaders/workbench_volume_vert.glsl SRC)
280 data_to_c_simple(engines/workbench/shaders/workbench_world_light_lib.glsl SRC)
281
282 data_to_c_simple(intern/shaders/common_colormanagement_lib.glsl SRC)
283 data_to_c_simple(intern/shaders/common_globals_lib.glsl SRC)
284 data_to_c_simple(intern/shaders/common_hair_lib.glsl SRC)
285 data_to_c_simple(intern/shaders/common_hair_refine_vert.glsl SRC)
286 data_to_c_simple(intern/shaders/common_view_lib.glsl SRC)
287 data_to_c_simple(intern/shaders/common_fxaa_lib.glsl SRC)
288 data_to_c_simple(intern/shaders/common_smaa_lib.glsl SRC)
289 data_to_c_simple(intern/shaders/common_fullscreen_vert.glsl SRC)
290
291 data_to_c_simple(engines/gpencil/shaders/gpencil_frag.glsl SRC)
292 data_to_c_simple(engines/gpencil/shaders/gpencil_vert.glsl SRC)
293 data_to_c_simple(engines/gpencil/shaders/gpencil_antialiasing_frag.glsl SRC)
294 data_to_c_simple(engines/gpencil/shaders/gpencil_antialiasing_vert.glsl SRC)
295 data_to_c_simple(engines/gpencil/shaders/gpencil_common_lib.glsl SRC)
296 data_to_c_simple(engines/gpencil/shaders/gpencil_layer_blend_frag.glsl SRC)
297 data_to_c_simple(engines/gpencil/shaders/gpencil_mask_invert_frag.glsl SRC)
298 data_to_c_simple(engines/gpencil/shaders/gpencil_depth_merge_frag.glsl SRC)
299 data_to_c_simple(engines/gpencil/shaders/gpencil_depth_merge_vert.glsl SRC)
300 data_to_c_simple(engines/gpencil/shaders/gpencil_vfx_frag.glsl SRC)
301
302 data_to_c_simple(engines/select/shaders/selection_id_3D_vert.glsl SRC)
303 data_to_c_simple(engines/select/shaders/selection_id_frag.glsl SRC)
304
305 data_to_c_simple(engines/basic/shaders/conservative_depth_geom.glsl SRC)
306 data_to_c_simple(engines/basic/shaders/conservative_depth_vert.glsl SRC)
307 data_to_c_simple(engines/basic/shaders/conservative_depth_frag.glsl SRC)
308
309 data_to_c_simple(engines/overlay/shaders/antialiasing_frag.glsl SRC)
310 data_to_c_simple(engines/overlay/shaders/antialiasing_vert.glsl SRC)
311 data_to_c_simple(engines/overlay/shaders/armature_dof_vert.glsl SRC)
312 data_to_c_simple(engines/overlay/shaders/armature_envelope_outline_vert.glsl SRC)
313 data_to_c_simple(engines/overlay/shaders/armature_envelope_solid_frag.glsl SRC)
314 data_to_c_simple(engines/overlay/shaders/armature_envelope_solid_vert.glsl SRC)
315 data_to_c_simple(engines/overlay/shaders/armature_shape_outline_geom.glsl SRC)
316 data_to_c_simple(engines/overlay/shaders/armature_shape_outline_vert.glsl SRC)
317 data_to_c_simple(engines/overlay/shaders/armature_shape_solid_frag.glsl SRC)
318 data_to_c_simple(engines/overlay/shaders/armature_shape_solid_vert.glsl SRC)
319 data_to_c_simple(engines/overlay/shaders/armature_shape_wire_vert.glsl SRC)
320 data_to_c_simple(engines/overlay/shaders/armature_sphere_outline_vert.glsl SRC)
321 data_to_c_simple(engines/overlay/shaders/armature_sphere_solid_frag.glsl SRC)
322 data_to_c_simple(engines/overlay/shaders/armature_sphere_solid_vert.glsl SRC)
323 data_to_c_simple(engines/overlay/shaders/armature_stick_frag.glsl SRC)
324 data_to_c_simple(engines/overlay/shaders/armature_stick_vert.glsl SRC)
325 data_to_c_simple(engines/overlay/shaders/armature_wire_frag.glsl SRC)
326 data_to_c_simple(engines/overlay/shaders/armature_wire_vert.glsl SRC)
327 data_to_c_simple(engines/overlay/shaders/background_frag.glsl SRC)
328 data_to_c_simple(engines/overlay/shaders/clipbound_vert.glsl SRC)
329 data_to_c_simple(engines/overlay/shaders/depth_only_vert.glsl SRC)
330 data_to_c_simple(engines/overlay/shaders/edit_curve_handle_geom.glsl SRC)
331 data_to_c_simple(engines/overlay/shaders/edit_curve_handle_vert.glsl SRC)
332 data_to_c_simple(engines/overlay/shaders/edit_curve_point_vert.glsl SRC)
333 data_to_c_simple(engines/overlay/shaders/edit_curve_wire_vert.glsl SRC)
334 data_to_c_simple(engines/overlay/shaders/edit_gpencil_canvas_vert.glsl SRC)
335 data_to_c_simple(engines/overlay/shaders/edit_gpencil_guide_vert.glsl SRC)
336 data_to_c_simple(engines/overlay/shaders/edit_gpencil_vert.glsl SRC)
337 data_to_c_simple(engines/overlay/shaders/edit_lattice_point_vert.glsl SRC)
338 data_to_c_simple(engines/overlay/shaders/edit_lattice_wire_vert.glsl SRC)
339 data_to_c_simple(engines/overlay/shaders/edit_mesh_common_lib.glsl SRC)
340 data_to_c_simple(engines/overlay/shaders/edit_mesh_facefill_frag.glsl SRC)
341 data_to_c_simple(engines/overlay/shaders/edit_mesh_facefill_vert.glsl SRC)
342 data_to_c_simple(engines/overlay/shaders/edit_mesh_frag.glsl SRC)
343 data_to_c_simple(engines/overlay/shaders/edit_mesh_geom.glsl SRC)
344 data_to_c_simple(engines/overlay/shaders/edit_mesh_normal_vert.glsl SRC)
345 data_to_c_simple(engines/overlay/shaders/edit_mesh_analysis_frag.glsl SRC)
346 data_to_c_simple(engines/overlay/shaders/edit_mesh_analysis_vert.glsl SRC)
347 data_to_c_simple(engines/overlay/shaders/edit_mesh_skin_root_vert.glsl SRC)
348 data_to_c_simple(engines/overlay/shaders/edit_mesh_vert.glsl SRC)
349 data_to_c_simple(engines/overlay/shaders/edit_particle_strand_vert.glsl SRC)
350 data_to_c_simple(engines/overlay/shaders/edit_particle_point_vert.glsl SRC)
351 data_to_c_simple(engines/overlay/shaders/extra_frag.glsl SRC)
352 data_to_c_simple(engines/overlay/shaders/extra_vert.glsl SRC)
353 data_to_c_simple(engines/overlay/shaders/extra_groundline_vert.glsl SRC)
354 data_to_c_simple(engines/overlay/shaders/extra_lightprobe_grid_vert.glsl SRC)
355 data_to_c_simple(engines/overlay/shaders/extra_loose_point_frag.glsl SRC)
356 data_to_c_simple(engines/overlay/shaders/extra_loose_point_vert.glsl SRC)
357 data_to_c_simple(engines/overlay/shaders/extra_point_vert.glsl SRC)
358 data_to_c_simple(engines/overlay/shaders/extra_wire_frag.glsl SRC)
359 data_to_c_simple(engines/overlay/shaders/extra_wire_vert.glsl SRC)
360 data_to_c_simple(engines/overlay/shaders/facing_frag.glsl SRC)
361 data_to_c_simple(engines/overlay/shaders/facing_vert.glsl SRC)
362 data_to_c_simple(engines/overlay/shaders/grid_frag.glsl SRC)
363 data_to_c_simple(engines/overlay/shaders/grid_vert.glsl SRC)
364 data_to_c_simple(engines/overlay/shaders/image_vert.glsl SRC)
365 data_to_c_simple(engines/overlay/shaders/image_frag.glsl SRC)
366 data_to_c_simple(engines/overlay/shaders/motion_path_line_geom.glsl SRC)
367 data_to_c_simple(engines/overlay/shaders/motion_path_line_vert.glsl SRC)
368 data_to_c_simple(engines/overlay/shaders/motion_path_point_vert.glsl SRC)
369 data_to_c_simple(engines/overlay/shaders/outline_detect_frag.glsl SRC)
370 data_to_c_simple(engines/overlay/shaders/outline_prepass_frag.glsl SRC)
371 data_to_c_simple(engines/overlay/shaders/outline_prepass_geom.glsl SRC)
372 data_to_c_simple(engines/overlay/shaders/outline_prepass_vert.glsl SRC)
373 data_to_c_simple(engines/overlay/shaders/paint_face_vert.glsl SRC)
374 data_to_c_simple(engines/overlay/shaders/paint_point_vert.glsl SRC)
375 data_to_c_simple(engines/overlay/shaders/paint_texture_frag.glsl SRC)
376 data_to_c_simple(engines/overlay/shaders/paint_texture_vert.glsl SRC)
377 data_to_c_simple(engines/overlay/shaders/paint_vertcol_frag.glsl SRC)
378 data_to_c_simple(engines/overlay/shaders/paint_vertcol_vert.glsl SRC)
379 data_to_c_simple(engines/overlay/shaders/paint_weight_frag.glsl SRC)
380 data_to_c_simple(engines/overlay/shaders/paint_weight_vert.glsl SRC)
381 data_to_c_simple(engines/overlay/shaders/paint_wire_vert.glsl SRC)
382 data_to_c_simple(engines/overlay/shaders/particle_vert.glsl SRC)
383 data_to_c_simple(engines/overlay/shaders/particle_frag.glsl SRC)
384 data_to_c_simple(engines/overlay/shaders/pointcloud_vert.glsl SRC)
385 data_to_c_simple(engines/overlay/shaders/pointcloud_frag.glsl SRC)
386 data_to_c_simple(engines/overlay/shaders/sculpt_mask_vert.glsl SRC)
387 data_to_c_simple(engines/overlay/shaders/volume_velocity_vert.glsl SRC)
388 data_to_c_simple(engines/overlay/shaders/wireframe_vert.glsl SRC)
389 data_to_c_simple(engines/overlay/shaders/wireframe_frag.glsl SRC)
390 data_to_c_simple(engines/overlay/shaders/xray_fade_frag.glsl SRC)
391
392 list(APPEND INC
393 )
394
395 if(WITH_FREESTYLE)
396   add_definitions(-DWITH_FREESTYLE)
397 endif()
398
399 if(WITH_XR_OPENXR)
400   add_definitions(-DWITH_XR_OPENXR)
401 endif()
402
403 blender_add_lib(bf_draw "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")