8b07ed9ed3d9a1b2f59a40c1d2c1e067c460e1d5
[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         Bfont.c
32         bfont.ttf.c
33 )
34
35 if(WITH_BLENDER)
36         # blender only
37         list(APPEND SRC
38                 # startup.blend.c
39                 bmonofont.ttf.c
40         )
41
42         if(NOT WITH_HEADLESS)
43                 # blender UI only
44                 list(APPEND SRC
45                         # images
46                         splash.png.c
47                         blender_icons.png.c
48                 )
49
50                 # brushes
51                 data_to_c_simple(../../../../release/datafiles/brushicons/add.png SRC)
52                 data_to_c_simple(../../../../release/datafiles/brushicons/blob.png SRC)
53                 data_to_c_simple(../../../../release/datafiles/brushicons/blur.png SRC)
54                 data_to_c_simple(../../../../release/datafiles/brushicons/clay.png SRC)
55                 data_to_c_simple(../../../../release/datafiles/brushicons/claystrips.png SRC)
56                 data_to_c_simple(../../../../release/datafiles/brushicons/clone.png SRC)
57                 data_to_c_simple(../../../../release/datafiles/brushicons/crease.png SRC)
58                 data_to_c_simple(../../../../release/datafiles/brushicons/darken.png SRC)
59                 data_to_c_simple(../../../../release/datafiles/brushicons/draw.png SRC)
60                 data_to_c_simple(../../../../release/datafiles/brushicons/fill.png SRC)
61                 data_to_c_simple(../../../../release/datafiles/brushicons/flatten.png SRC)
62                 data_to_c_simple(../../../../release/datafiles/brushicons/grab.png SRC)
63                 data_to_c_simple(../../../../release/datafiles/brushicons/inflate.png SRC)
64                 data_to_c_simple(../../../../release/datafiles/brushicons/layer.png SRC)
65                 data_to_c_simple(../../../../release/datafiles/brushicons/lighten.png SRC)
66                 data_to_c_simple(../../../../release/datafiles/brushicons/mask.png SRC)
67                 data_to_c_simple(../../../../release/datafiles/brushicons/mix.png SRC)
68                 data_to_c_simple(../../../../release/datafiles/brushicons/multiply.png SRC)
69                 data_to_c_simple(../../../../release/datafiles/brushicons/nudge.png SRC)
70                 data_to_c_simple(../../../../release/datafiles/brushicons/pinch.png SRC)
71                 data_to_c_simple(../../../../release/datafiles/brushicons/scrape.png SRC)
72                 data_to_c_simple(../../../../release/datafiles/brushicons/smear.png SRC)
73                 data_to_c_simple(../../../../release/datafiles/brushicons/smooth.png SRC)
74                 data_to_c_simple(../../../../release/datafiles/brushicons/snake_hook.png SRC)
75                 data_to_c_simple(../../../../release/datafiles/brushicons/soften.png SRC)
76                 data_to_c_simple(../../../../release/datafiles/brushicons/subtract.png SRC)
77                 data_to_c_simple(../../../../release/datafiles/brushicons/texdraw.png SRC)
78                 data_to_c_simple(../../../../release/datafiles/brushicons/thumb.png SRC)
79                 data_to_c_simple(../../../../release/datafiles/brushicons/twist.png SRC)
80                 data_to_c_simple(../../../../release/datafiles/brushicons/vertexdraw.png SRC)
81
82                 data_to_c_simple(../../../../release/datafiles/prvicons.png SRC)
83
84                 data_to_c_simple(../../../../release/datafiles/preview.blend SRC)
85         endif()
86
87         data_to_c_simple(../../../../release/datafiles/startup.blend SRC)
88 endif()
89
90 blender_add_lib(bf_editor_datafiles "${SRC}" "${INC}" "${INC_SYS}")