Fix object mode/edit mode panels not visible in collections
[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 #
17 # Contributor(s): Jacques Beaurain.
18 #
19 # ***** END GPL LICENSE BLOCK *****
20
21 set(INC
22
23 )
24
25 set(INC_SYS
26
27 )
28
29 # blender and player
30 set(SRC
31
32 )
33
34 data_to_c_simple(../../../../release/datafiles/bfont.pfb SRC)
35 data_to_c_simple(../../../../release/datafiles/bfont.ttf SRC)
36 data_to_c_simple(../../../../release/datafiles/bmonofont.ttf SRC)
37
38 if(WITH_BLENDER)
39         # blender only (not player)
40
41         if(NOT WITH_HEADLESS)
42                 # blender UI only
43
44                 # blends
45                 data_to_c_simple(../../../../release/datafiles/preview.blend SRC)
46                 data_to_c_simple(../../../../release/datafiles/preview_cycles.blend SRC)
47
48                 # images
49                 data_to_c_simple(../../../../release/datafiles/splash.png SRC)
50                 data_to_c_simple(../../../../release/datafiles/splash_2x.png SRC)
51                 # XXX These are handy, but give nasty "false changes" in svn :/
52                 #svg_to_png(../../../../release/datafiles/blender_icons.svg
53                            #../../../../release/datafiles/blender_icons16.png
54                            #90 SRC)
55
56                 data_to_c_simple_icons(../../../../release/datafiles/blender_icons16 SRC)
57                 #data_to_c_simple(../../../../release/datafiles/blender_icons16.png SRC)
58                 #svg_to_png(../../../../release/datafiles/blender_icons.svg
59                            #../../../../release/datafiles/blender_icons32.png
60                            #180 SRC)
61                 data_to_c_simple_icons(../../../../release/datafiles/blender_icons32 SRC)
62                 #data_to_c_simple(../../../../release/datafiles/blender_icons32.png SRC)
63                 #svg_to_png(../../../../release/datafiles/prvicons.svg
64                            #../../../../release/datafiles/prvicons.png
65                            #90 SRC)
66                 data_to_c_simple(../../../../release/datafiles/prvicons.png SRC)
67
68                 # brushes
69                 data_to_c_simple(../../../../release/datafiles/brushicons/add.png SRC)
70                 data_to_c_simple(../../../../release/datafiles/brushicons/blob.png SRC)
71                 data_to_c_simple(../../../../release/datafiles/brushicons/blur.png SRC)
72                 data_to_c_simple(../../../../release/datafiles/brushicons/clay.png SRC)
73                 data_to_c_simple(../../../../release/datafiles/brushicons/claystrips.png SRC)
74                 data_to_c_simple(../../../../release/datafiles/brushicons/clone.png SRC)
75                 data_to_c_simple(../../../../release/datafiles/brushicons/crease.png SRC)
76                 data_to_c_simple(../../../../release/datafiles/brushicons/darken.png SRC)
77                 data_to_c_simple(../../../../release/datafiles/brushicons/draw.png SRC)
78                 data_to_c_simple(../../../../release/datafiles/brushicons/fill.png SRC)
79                 data_to_c_simple(../../../../release/datafiles/brushicons/flatten.png SRC)
80                 data_to_c_simple(../../../../release/datafiles/brushicons/grab.png SRC)
81                 data_to_c_simple(../../../../release/datafiles/brushicons/inflate.png SRC)
82                 data_to_c_simple(../../../../release/datafiles/brushicons/layer.png SRC)
83                 data_to_c_simple(../../../../release/datafiles/brushicons/lighten.png SRC)
84                 data_to_c_simple(../../../../release/datafiles/brushicons/mask.png SRC)
85                 data_to_c_simple(../../../../release/datafiles/brushicons/mix.png SRC)
86                 data_to_c_simple(../../../../release/datafiles/brushicons/multiply.png SRC)
87                 data_to_c_simple(../../../../release/datafiles/brushicons/nudge.png SRC)
88                 data_to_c_simple(../../../../release/datafiles/brushicons/pinch.png SRC)
89                 data_to_c_simple(../../../../release/datafiles/brushicons/scrape.png SRC)
90                 data_to_c_simple(../../../../release/datafiles/brushicons/smear.png SRC)
91                 data_to_c_simple(../../../../release/datafiles/brushicons/smooth.png SRC)
92                 data_to_c_simple(../../../../release/datafiles/brushicons/snake_hook.png SRC)
93                 data_to_c_simple(../../../../release/datafiles/brushicons/soften.png SRC)
94                 data_to_c_simple(../../../../release/datafiles/brushicons/subtract.png SRC)
95                 data_to_c_simple(../../../../release/datafiles/brushicons/texdraw.png SRC)
96                 data_to_c_simple(../../../../release/datafiles/brushicons/texfill.png SRC)
97                 data_to_c_simple(../../../../release/datafiles/brushicons/texmask.png SRC)
98                 data_to_c_simple(../../../../release/datafiles/brushicons/thumb.png SRC)
99                 data_to_c_simple(../../../../release/datafiles/brushicons/twist.png SRC)
100                 data_to_c_simple(../../../../release/datafiles/brushicons/vertexdraw.png SRC)
101
102                 # matcap
103                 data_to_c_simple(../../../../release/datafiles/matcaps/mc01.jpg SRC)
104                 data_to_c_simple(../../../../release/datafiles/matcaps/mc02.jpg SRC)
105                 data_to_c_simple(../../../../release/datafiles/matcaps/mc03.jpg SRC)
106                 data_to_c_simple(../../../../release/datafiles/matcaps/mc04.jpg SRC)
107                 data_to_c_simple(../../../../release/datafiles/matcaps/mc05.jpg SRC)
108                 data_to_c_simple(../../../../release/datafiles/matcaps/mc06.jpg SRC)
109                 data_to_c_simple(../../../../release/datafiles/matcaps/mc07.jpg SRC)
110                 data_to_c_simple(../../../../release/datafiles/matcaps/mc08.jpg SRC)
111                 data_to_c_simple(../../../../release/datafiles/matcaps/mc09.jpg SRC)
112                 data_to_c_simple(../../../../release/datafiles/matcaps/mc10.jpg SRC)
113                 data_to_c_simple(../../../../release/datafiles/matcaps/mc11.jpg SRC)
114                 data_to_c_simple(../../../../release/datafiles/matcaps/mc12.jpg SRC)
115                 data_to_c_simple(../../../../release/datafiles/matcaps/mc13.jpg SRC)
116                 data_to_c_simple(../../../../release/datafiles/matcaps/mc14.jpg SRC)
117                 data_to_c_simple(../../../../release/datafiles/matcaps/mc15.jpg SRC)
118                 data_to_c_simple(../../../../release/datafiles/matcaps/mc16.jpg SRC)
119                 data_to_c_simple(../../../../release/datafiles/matcaps/mc17.jpg SRC)
120                 data_to_c_simple(../../../../release/datafiles/matcaps/mc18.jpg SRC)
121                 data_to_c_simple(../../../../release/datafiles/matcaps/mc19.jpg SRC)
122                 data_to_c_simple(../../../../release/datafiles/matcaps/mc20.jpg SRC)
123                 data_to_c_simple(../../../../release/datafiles/matcaps/mc21.jpg SRC)
124                 data_to_c_simple(../../../../release/datafiles/matcaps/mc22.jpg SRC)
125                 data_to_c_simple(../../../../release/datafiles/matcaps/mc23.jpg SRC)
126                 data_to_c_simple(../../../../release/datafiles/matcaps/mc24.jpg SRC)
127
128         endif()
129
130         data_to_c_simple(../../../../release/datafiles/startup.blend SRC)
131 endif()
132
133 blender_add_lib(bf_editor_datafiles "${SRC}" "${INC}" "${INC_SYS}")