Cleanup: remove contributors for CMake files
[blender.git] / source / blender / editors / sculpt_paint / 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 # ***** END GPL LICENSE BLOCK *****
17
18 set(INC
19         ../include
20         ../uvedit
21         ../../blenkernel
22         ../../blenlib
23         ../../blentranslation
24         ../../bmesh
25         ../../depsgraph
26         ../../gpu
27         ../../imbuf
28         ../../makesdna
29         ../../makesrna
30         ../../render/extern/include
31         ../../windowmanager
32         ../../../../intern/guardedalloc
33         ../../../../intern/glew-mx
34 )
35
36 set(INC_SYS
37         ${GLEW_INCLUDE_PATH}
38 )
39
40 set(SRC
41         paint_cursor.c
42         paint_curve.c
43         paint_curve_undo.c
44         paint_hide.c
45         paint_image.c
46         paint_image_2d.c
47         paint_image_proj.c
48         paint_image_undo.c
49         paint_mask.c
50         paint_ops.c
51         paint_stroke.c
52         paint_utils.c
53         paint_vertex.c
54         paint_vertex_color_ops.c
55         paint_vertex_color_utils.c
56         paint_vertex_proj.c
57         paint_vertex_weight_ops.c
58         paint_vertex_weight_utils.c
59         sculpt.c
60         sculpt_undo.c
61         sculpt_uv.c
62
63         paint_intern.h
64         sculpt_intern.h
65 )
66
67 if(WITH_INTERNATIONAL)
68         add_definitions(-DWITH_INTERNATIONAL)
69 endif()
70
71 add_definitions(${GL_DEFINITIONS})
72
73 blender_add_lib(bf_editor_sculpt_paint "${SRC}" "${INC}" "${INC_SYS}")