Cleanup: remove contributors for CMake files
[blender.git] / source / blender / editors / mesh / 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         ../../depsgraph
25         ../../bmesh
26         ../../gpu
27         ../../imbuf
28         ../../makesdna
29         ../../makesrna
30         ../../render/extern/include
31         ../../windowmanager
32         ../../../../intern/clog
33         ../../../../intern/guardedalloc
34         ../../../../intern/glew-mx
35 )
36
37 set(INC_SYS
38         ${GLEW_INCLUDE_PATH}
39 )
40
41 set(SRC
42         editface.c
43         editmesh_add.c
44         editmesh_add_gizmo.c
45         editmesh_bevel.c
46         editmesh_bisect.c
47         editmesh_extrude.c
48         editmesh_extrude_screw.c
49         editmesh_extrude_spin.c
50         editmesh_extrude_spin_gizmo.c
51         editmesh_inset.c
52         editmesh_intersect.c
53         editmesh_knife.c
54         editmesh_knife_project.c
55         editmesh_loopcut.c
56         editmesh_path.c
57         editmesh_polybuild.c
58         editmesh_preselect_edgering.c
59         editmesh_preselect_elem.c
60         editmesh_rip.c
61         editmesh_rip_edge.c
62         editmesh_select.c
63         editmesh_select_similar.c
64         editmesh_tools.c
65         editmesh_undo.c
66         editmesh_utils.c
67         mesh_data.c
68         mesh_mirror.c
69         mesh_ops.c
70         meshtools.c
71
72         mesh_intern.h
73 )
74
75 if(WITH_INTERNATIONAL)
76         add_definitions(-DWITH_INTERNATIONAL)
77 endif()
78
79 if(WITH_FREESTYLE)
80         add_definitions(-DWITH_FREESTYLE)
81 endif()
82
83 if(WITH_BULLET)
84         add_definitions(-DWITH_BULLET)
85 endif()
86
87 add_definitions(${GL_DEFINITIONS})
88
89 blender_add_lib(bf_editor_mesh "${SRC}" "${INC}" "${INC_SYS}")