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