Cleanup: remove contributors for CMake files
[blender.git] / source / blender / editors / datafiles / 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 LicenseS
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 # ***** END GPL LICENSE BLOCK *****
17
18 set(INC
19
20 )
21
22 set(INC_SYS
23
24 )
25
26 # blender and player
27 set(SRC
28
29 )
30
31 # Order matches "UI_icons.h", final name will be formatted: "icons{size}_{name}.dat"
32 set(ICON_NAMES
33         question
34         error
35         cancel
36         tria_right
37         tria_down
38         tria_left
39         tria_up
40         arrow_leftright
41         plus
42         disclosure_tri_right
43         disclosure_tri_down
44         radiobut_off
45         radiobut_on
46         menu_panel
47         blender
48         grip
49         dot
50         collapsemenu
51         x
52         duplicate
53         node
54         node_sel
55         window
56         workspace
57         rightarrow_thin
58         bordermove
59         viewzoom
60         add
61         remove
62         panel_close
63         copy_id
64         eyedropper
65         auto
66         checkbox_dehlt
67         checkbox_hlt
68         unlocked
69         locked
70         unpinned
71         pinned
72         screen_back
73         rightarrow
74         downarrow_hlt
75         plugin
76         help
77         ghost_enabled
78         color
79         unlinked
80         linked
81         hand
82         zoom_all
83         zoom_selected
84         zoom_previous
85         zoom_in
86         zoom_out
87         driver_distance
88         driver_rotational_difference
89         driver_transform
90         freeze
91         stylus_pressure
92         ghost_disabled
93         file_new
94         file_tick
95         quit
96         url
97         recover_last
98         three_dots
99         fullscreen_enter
100         fullscreen_exit
101         light
102         material
103         texture
104         anim
105         world
106         scene
107         output
108         script
109         particles
110         physics
111         speaker
112         tool_settings
113         shaderfx
114         fake_user_off
115         fake_user_on
116         view3d
117         graph
118         outliner
119         properties
120         filebrowser
121         image
122         info
123         sequence
124         text
125         sound
126         action
127         nla
128         preferences
129         time
130         nodetree
131         console
132         clip
133         asset_manager
134         node_compositing
135         node_texture
136         node_material
137         object_datamode
138         editmode_hlt
139         uv
140         vpaint_hlt
141         tpaint_hlt
142         wpaint_hlt
143         sculptmode_hlt
144         pose_hlt
145         particlemode
146         tracking
147         tracking_backwards
148         tracking_forwards
149         tracking_backwards_single
150         tracking_forwards_single
151         tracking_clear_backwards
152         tracking_clear_forwards
153         tracking_refine_backwards
154         tracking_refine_forwards
155         scene_data
156         renderlayers
157         world_data
158         object_data
159         mesh_data
160         curve_data
161         meta_data
162         lattice_data
163         light_data
164         material_data
165         texture_data
166         anim_data
167         camera_data
168         particle_data
169         library_data_direct
170         group
171         armature_data
172         community
173         bone_data
174         constraint
175         shapekey_data
176         constraint_bone
177         camera_stereo
178         package
179         uglypackage
180         experimental
181         brush_data
182         image_data
183         file
184         fcurve
185         font_data
186         render_result
187         surface_data
188         empty_data
189         preset
190         render_animation
191         render_still
192         library_data_broken
193         boids
194         strands
195         library_data_indirect
196         greasepencil
197         line_data
198         library_data_override
199         group_bone
200         group_vertex
201         group_vcol
202         group_uvs
203         face_maps
204         rna
205         rna_add
206         mouse_lmb
207         mouse_mmb
208         mouse_rmb
209         mouse_move
210         mouse_lmb_drag
211         mouse_mmb_drag
212         mouse_rmb_drag
213         preset_new
214         decorate
215         decorate_keyframe
216         decorate_animate
217         decorate_driver
218         decorate_linked
219         decorate_library_override
220         decorate_unlocked
221         decorate_locked
222         decorate_override
223         sealed
224         heart
225         orphan_data
226         user
227         system
228         settings
229         outliner_ob_empty
230         outliner_ob_mesh
231         outliner_ob_curve
232         outliner_ob_lattice
233         outliner_ob_meta
234         outliner_ob_light
235         outliner_ob_camera
236         outliner_ob_armature
237         outliner_ob_font
238         outliner_ob_surface
239         outliner_ob_speaker
240         outliner_ob_force_field
241         outliner_ob_group_instance
242         outliner_ob_greasepencil
243         outliner_ob_lightprobe
244         outliner_ob_image
245         restrict_color_off
246         restrict_color_on
247         hide_on
248         hide_off
249         restrict_select_on
250         restrict_select_off
251         restrict_render_on
252         restrict_render_off
253         outliner_data_empty
254         outliner_data_mesh
255         outliner_data_curve
256         outliner_data_lattice
257         outliner_data_meta
258         outliner_data_light
259         outliner_data_camera
260         outliner_data_armature
261         outliner_data_font
262         outliner_data_surface
263         outliner_data_speaker
264         outliner_data_greasepencil
265         gp_select_points
266         gp_select_strokes
267         gp_multiframe_editing
268         gp_only_selected
269         modifier_off
270         modifier_on
271         onionskin_off
272         onionskin_on
273         restrict_view_on
274         restrict_view_off
275         mesh_plane
276         mesh_cube
277         mesh_circle
278         mesh_uvsphere
279         mesh_icosphere
280         mesh_grid
281         mesh_monkey
282         mesh_cylinder
283         mesh_torus
284         mesh_cone
285         mesh_capsule
286         empty_single_arrow
287         light_point
288         light_sun
289         light_spot
290         light_hemi
291         light_area
292         cube
293         sphere
294         cone
295         meta_plane
296         meta_cube
297         meta_ball
298         meta_ellipsoid
299         meta_capsule
300         surface_ncurve
301         surface_ncircle
302         surface_nsurface
303         surface_ncylinder
304         surface_nsphere
305         surface_ntorus
306         empty_axis
307         stroke
308         empty_arrows
309         curve_bezcurve
310         curve_bezcircle
311         curve_ncurve
312         curve_ncircle
313         curve_path
314         lightprobe_cubemap
315         lightprobe_planar
316         lightprobe_grid
317         color_red
318         color_green
319         color_blue
320         tria_right_bar
321         tria_down_bar
322         tria_left_bar
323         tria_up_bar
324         force_force
325         force_wind
326         force_vortex
327         force_magnetic
328         force_harmonic
329         force_charge
330         force_lennardjones
331         force_texture
332         force_curve
333         force_boid
334         force_turbulence
335         force_drag
336         force_smokeflow
337         image_plane
338         image_background
339         image_reference
340         node_insert_on
341         node_insert_off
342         node_top
343         node_side
344         node_corner
345         align_left
346         align_center
347         align_right
348         align_justify
349         align_flush
350         align_top
351         align_middle
352         align_bottom
353         bold
354         italic
355         underline
356         small_caps
357         modifier
358         mod_wave
359         mod_build
360         mod_decim
361         mod_mirror
362         mod_soft
363         mod_subsurf
364         hook
365         mod_physics
366         mod_particles
367         mod_boolean
368         mod_edgesplit
369         mod_array
370         mod_uvproject
371         mod_displace
372         mod_curve
373         mod_lattice
374         mod_tint
375         mod_armature
376         mod_shrinkwrap
377         mod_cast
378         mod_meshdeform
379         mod_bevel
380         mod_smooth
381         mod_simpledeform
382         mod_mask
383         mod_cloth
384         mod_explode
385         mod_fluidsim
386         mod_multires
387         mod_smoke
388         mod_solidify
389         mod_screw
390         mod_vertex_weight
391         mod_dynamicpaint
392         mod_remesh
393         mod_ocean
394         mod_warp
395         mod_skin
396         mod_triangulate
397         mod_wireframe
398         mod_data_transfer
399         mod_normaledit
400         mod_particle_instance
401         mod_hue_saturation
402         mod_noise
403         mod_offset
404         mod_simplify
405         mod_thickness
406         mod_instance
407         mod_time
408         mod_opacity
409         rec
410         play
411         ff
412         rew
413         pause
414         prev_keyframe
415         next_keyframe
416         play_reverse
417         preview_range
418         action_tweak
419         pmarker_act
420         pmarker_sel
421         pmarker
422         marker_hlt
423         marker
424         keyframe_hlt
425         keyframe
426         keyingset
427         key_dehlt
428         key_hlt
429         mute_ipo_off
430         mute_ipo_on
431         visible_ipo_off
432         visible_ipo_on
433         driver
434         solo_off
435         solo_on
436         frame_prev
437         frame_next
438         nla_pushdown
439         ipo_constant
440         ipo_linear
441         ipo_bezier
442         ipo_sine
443         ipo_quad
444         ipo_cubic
445         ipo_quart
446         ipo_quint
447         ipo_expo
448         ipo_circ
449         ipo_bounce
450         ipo_elastic
451         ipo_back
452         ipo_ease_in
453         ipo_ease_out
454         ipo_ease_in_out
455         normalize_fcurves
456         vertexsel
457         edgesel
458         facesel
459         pivot_boundbox
460         pivot_cursor
461         pivot_individual
462         pivot_median
463         pivot_active
464         center_only
465         smoothcurve
466         spherecurve
467         rootcurve
468         sharpcurve
469         lincurve
470         nocurve
471         rndcurve
472         prop_off
473         prop_on
474         prop_con
475         sculpt_dyntopo
476         particle_point
477         particle_tip
478         particle_path
479         snap_off
480         snap_on
481         snap_normal
482         snap_grid
483         snap_vertex
484         snap_edge
485         snap_face
486         snap_volume
487         snap_increment
488         sticky_uvs_loc
489         sticky_uvs_disable
490         sticky_uvs_vert
491         clipuv_dehlt
492         clipuv_hlt
493         snap_peel_object
494         grid
495         object_origin
496         orientation_global
497         orientation_gimbal
498         orientation_local
499         orientation_normal
500         orientation_view
501         copydown
502         pastedown
503         pasteflipup
504         pasteflipdown
505         vis_sel_11
506         vis_sel_10
507         vis_sel_01
508         vis_sel_00
509         automerge_on
510         automerge_off
511         uv_vertexsel
512         uv_edgesel
513         uv_facesel
514         uv_islandsel
515         uv_sync_select
516         normals_vertex
517         normals_face
518         normals_vertex_face
519         shading_bbox
520         shading_wire
521         shading_solid
522         shading_rendered
523         shading_texture
524         overlay
525         xray
526         lockview_off
527         lockview_on
528         axis_side
529         axis_front
530         axis_top
531         ndof_dom
532         ndof_turn
533         ndof_fly
534         ndof_trans
535         layer_used
536         layer_active
537         sortalpha
538         sortbyext
539         sorttime
540         sortsize
541         shortdisplay
542         longdisplay
543         imgdisplay
544         bookmarks
545         fontpreview
546         filter
547         newfolder
548         file_parent
549         file_refresh
550         file_folder
551         file_blank
552         file_blend
553         file_image
554         file_movie
555         file_script
556         file_sound
557         file_font
558         file_text
559         sort_desc
560         sort_asc
561         link_blend
562         append_blend
563         import
564         export
565         loop_back
566         loop_forwards
567         back
568         forward
569         file_volume
570         alembic
571         volume
572         file_hidden
573         file_backup
574         disk_drive
575         matplane
576         matsphere
577         matcube
578         monkey
579         hair
580         aliased
581         antialiased
582         mat_sphere_sky
583         matshaderball
584         matcloth
585         matfluid
586         wordwrap_off
587         wordwrap_on
588         syntax_off
589         syntax_on
590         linenumbers_off
591         linenumbers_on
592         scriptplugins
593         seq_sequencer
594         seq_preview
595         seq_luma_waveform
596         seq_chroma_scope
597         seq_histogram
598         seq_splitview
599         image_rgb
600         image_rgb_alpha
601         image_alpha
602         image_zdepth
603         view_perspective
604         view_ortho
605         view_camera
606         view_pan
607         view_zoom
608 )
609
610 # This section is maintained by the updating script, keep BEGIN/END comments.
611 set_property(GLOBAL PROPERTY ICON_GEOM_NAMES
612         # BEGIN ICON_GEOM_NAMES
613         brush.gpencil_draw.draw
614         brush.gpencil_draw.erase
615         brush.gpencil_draw.fill
616         brush.paint_texture.airbrush
617         brush.paint_texture.clone
618         brush.paint_texture.draw
619         brush.paint_texture.fill
620         brush.paint_texture.mask
621         brush.paint_texture.masklort
622         brush.paint_texture.multiply
623         brush.paint_texture.smear
624         brush.paint_texture.soften
625         brush.paint_vertex.alpha
626         brush.paint_vertex.average
627         brush.paint_vertex.blur
628         brush.paint_vertex.draw
629         brush.paint_vertex.smear
630         brush.paint_weight.average
631         brush.paint_weight.blur
632         brush.paint_weight.draw
633         brush.paint_weight.mix
634         brush.paint_weight.smear
635         brush.particle.add
636         brush.particle.comb
637         brush.particle.cut
638         brush.particle.length
639         brush.particle.puff
640         brush.particle.smooth
641         brush.particle.weight
642         brush.sculpt.blob
643         brush.sculpt.clay
644         brush.sculpt.clay_strips
645         brush.sculpt.crease
646         brush.sculpt.draw
647         brush.sculpt.fill
648         brush.sculpt.flatten
649         brush.sculpt.grab
650         brush.sculpt.inflate
651         brush.sculpt.layer
652         brush.sculpt.mask
653         brush.sculpt.nudge
654         brush.sculpt.pinch
655         brush.sculpt.rotate
656         brush.sculpt.scrape
657         brush.sculpt.simplify
658         brush.sculpt.smooth
659         brush.sculpt.snake_hook
660         brush.sculpt.thumb
661         brush.uv_sculpt.grab
662         brush.uv_sculpt.pinch
663         brush.uv_sculpt.relax
664         none
665         ops.armature.bone.roll
666         ops.armature.extrude_cursor
667         ops.armature.extrude_move
668         ops.curve.draw
669         ops.curve.extrude_cursor
670         ops.curve.extrude_move
671         ops.generic.cursor
672         ops.generic.select
673         ops.generic.select_box
674         ops.generic.select_circle
675         ops.generic.select_lasso
676         ops.gpencil.draw
677         ops.gpencil.draw.eraser
678         ops.gpencil.draw.line
679         ops.gpencil.draw.poly
680         ops.gpencil.edit_bend
681         ops.gpencil.edit_mirror
682         ops.gpencil.edit_shear
683         ops.gpencil.edit_to_sphere
684         ops.gpencil.primitive_arc
685         ops.gpencil.primitive_box
686         ops.gpencil.primitive_circle
687         ops.gpencil.primitive_curve
688         ops.gpencil.primitive_line
689         ops.gpencil.sculpt_clone
690         ops.gpencil.sculpt_grab
691         ops.gpencil.sculpt_pinch
692         ops.gpencil.sculpt_push
693         ops.gpencil.sculpt_randomize
694         ops.gpencil.sculpt_smooth
695         ops.gpencil.sculpt_strength
696         ops.gpencil.sculpt_thickness
697         ops.gpencil.sculpt_twist
698         ops.gpencil.sculpt_weight
699         ops.mesh.bevel
700         ops.mesh.bisect
701         ops.mesh.dupli_extrude_cursor
702         ops.mesh.extrude_faces_move
703         ops.mesh.extrude_region_move
704         ops.mesh.extrude_region_shrink_fatten
705         ops.mesh.inset
706         ops.mesh.knife_tool
707         ops.mesh.loopcut_slide
708         ops.mesh.offset_edge_loops_slide
709         ops.mesh.polybuild_hover
710         ops.mesh.primitive_cone_add_gizmo
711         ops.mesh.primitive_cube_add_gizmo
712         ops.mesh.primitive_cylinder_add_gizmo
713         ops.mesh.primitive_grid_add_gizmo
714         ops.mesh.primitive_sphere_add_gizmo
715         ops.mesh.primitive_torus_add_gizmo
716         ops.mesh.rip
717         ops.mesh.rip_edge
718         ops.mesh.spin
719         ops.mesh.spin.duplicate
720         ops.mesh.vertices_smooth
721         ops.paint.vertex_color_fill
722         ops.paint.weight_fill
723         ops.paint.weight_gradient
724         ops.paint.weight_sample
725         ops.paint.weight_sample_group
726         ops.pose.breakdowner
727         ops.pose.push
728         ops.pose.relax
729         ops.sculpt.border_hide
730         ops.sculpt.border_mask
731         ops.transform.bone_envelope
732         ops.transform.bone_size
733         ops.transform.edge_slide
734         ops.transform.push_pull
735         ops.transform.resize.cage
736         ops.transform.resize
737         ops.transform.rotate
738         ops.transform.shear
739         ops.transform.shrink_fatten
740         ops.transform.tilt
741         ops.transform.tosphere
742         ops.transform.transform
743         ops.transform.translate
744         ops.transform.vert_slide
745         ops.transform.vertex_random
746         ops.view3d.ruler
747         # END ICON_GEOM_NAMES
748 )
749
750 data_to_c_simple(../../../../release/datafiles/bfont.pfb SRC)
751 data_to_c_simple(../../../../release/datafiles/bfont.ttf SRC)
752 data_to_c_simple(../../../../release/datafiles/bmonofont.ttf SRC)
753
754 if(WITH_BLENDER)
755         # blender only (not player)
756
757         if(NOT WITH_HEADLESS)
758                 # blender UI only
759
760                 # blends
761                 data_to_c_simple(../../../../release/datafiles/preview_cycles.blend SRC)
762                 data_to_c_simple(../../../../release/datafiles/preview_grease_pencil.blend SRC)
763
764                 # images
765                 data_to_c_simple(../../../../release/datafiles/splash.png SRC)
766                 data_to_c_simple(../../../../release/datafiles/splash_2x.png SRC)
767                 # XXX These are handy, but give nasty "false changes" in svn :/
768                 #svg_to_png(../../../../release/datafiles/blender_icons.svg
769                            #../../../../release/datafiles/blender_icons16.png
770                            #90 SRC)
771
772                 data_to_c_simple_icons(../../../../release/datafiles/blender_icons16 "icon16_" "${ICON_NAMES}" SRC)
773                 #data_to_c_simple(../../../../release/datafiles/blender_icons16.png SRC)
774                 #svg_to_png(../../../../release/datafiles/blender_icons.svg
775                            #../../../../release/datafiles/blender_icons32.png
776                            #180 SRC)
777                 data_to_c_simple_icons(../../../../release/datafiles/blender_icons32 "icon32_" "${ICON_NAMES}" SRC)
778                 #data_to_c_simple(../../../../release/datafiles/blender_icons32.png SRC)
779                 #svg_to_png(../../../../release/datafiles/prvicons.svg
780                            #../../../../release/datafiles/prvicons.png
781                            #90 SRC)
782                 data_to_c_simple(../../../../release/datafiles/prvicons.png SRC)
783
784                 # brushes
785                 data_to_c_simple(../../../../release/datafiles/brushicons/blob.png SRC)
786                 data_to_c_simple(../../../../release/datafiles/brushicons/blur.png SRC)
787                 data_to_c_simple(../../../../release/datafiles/brushicons/clay.png SRC)
788                 data_to_c_simple(../../../../release/datafiles/brushicons/claystrips.png SRC)
789                 data_to_c_simple(../../../../release/datafiles/brushicons/clone.png SRC)
790                 data_to_c_simple(../../../../release/datafiles/brushicons/crease.png SRC)
791                 data_to_c_simple(../../../../release/datafiles/brushicons/draw.png SRC)
792                 data_to_c_simple(../../../../release/datafiles/brushicons/fill.png SRC)
793                 data_to_c_simple(../../../../release/datafiles/brushicons/flatten.png SRC)
794                 data_to_c_simple(../../../../release/datafiles/brushicons/grab.png SRC)
795                 data_to_c_simple(../../../../release/datafiles/brushicons/inflate.png SRC)
796                 data_to_c_simple(../../../../release/datafiles/brushicons/layer.png SRC)
797                 data_to_c_simple(../../../../release/datafiles/brushicons/mask.png SRC)
798                 data_to_c_simple(../../../../release/datafiles/brushicons/mix.png SRC)
799                 data_to_c_simple(../../../../release/datafiles/brushicons/nudge.png SRC)
800                 data_to_c_simple(../../../../release/datafiles/brushicons/pinch.png SRC)
801                 data_to_c_simple(../../../../release/datafiles/brushicons/scrape.png SRC)
802                 data_to_c_simple(../../../../release/datafiles/brushicons/smear.png SRC)
803                 data_to_c_simple(../../../../release/datafiles/brushicons/smooth.png SRC)
804                 data_to_c_simple(../../../../release/datafiles/brushicons/snake_hook.png SRC)
805                 data_to_c_simple(../../../../release/datafiles/brushicons/soften.png SRC)
806                 data_to_c_simple(../../../../release/datafiles/brushicons/texdraw.png SRC)
807                 data_to_c_simple(../../../../release/datafiles/brushicons/texfill.png SRC)
808                 data_to_c_simple(../../../../release/datafiles/brushicons/texmask.png SRC)
809                 data_to_c_simple(../../../../release/datafiles/brushicons/thumb.png SRC)
810                 data_to_c_simple(../../../../release/datafiles/brushicons/twist.png SRC)
811
812                 # grease pencil sculpt
813                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_smooth.png SRC)
814                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_thickness.png SRC)
815                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_strength.png SRC)
816                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_grab.png SRC)
817                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_push.png SRC)
818                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_twist.png SRC)
819                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_pinch.png SRC)
820                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_randomize.png SRC)
821                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_clone.png SRC)
822                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_weight.png SRC)
823
824                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_pencil.png SRC)
825                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_pen.png SRC)
826                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_ink.png SRC)
827                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_inknoise.png SRC)
828                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_block.png SRC)
829                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_marker.png SRC)
830                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_fill.png SRC)
831                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_erase_soft.png SRC)
832                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_erase_hard.png SRC)
833                 data_to_c_simple(../../../../release/datafiles/brushicons/gp_brush_erase_stroke.png SRC)
834
835         endif()
836
837         data_to_c_simple(../../../../release/datafiles/startup.blend SRC)
838 endif()
839
840 unset(ICON_NAMES)
841
842 blender_add_lib(bf_editor_datafiles "${SRC}" "${INC}" "${INC_SYS}")