Bevel mod: cleanup flags and extra data.
[blender.git] / source / blender / editors / gizmo_library / 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 #
17 # ***** END GPL LICENSE BLOCK *****
18
19 set(INC
20         ../include
21         ../../blenkernel
22         ../../blenlib
23         ../../blentranslation
24         ../../bmesh
25         ../../depsgraph
26         ../../gpu
27         ../../makesdna
28         ../../makesrna
29         ../../windowmanager
30         ../../../../intern/guardedalloc
31         ../../../../intern/eigen
32         ../../../../intern/glew-mx
33 )
34
35 set(INC_SYS
36         ${GLEW_INCLUDE_PATH}
37 )
38
39 set(SRC
40         gizmo_draw_utils.c
41         gizmo_geometry.h
42         gizmo_library_intern.h
43         gizmo_library_presets.c
44         gizmo_library_utils.c
45         geometry/geom_arrow_gizmo.c
46         geometry/geom_cube_gizmo.c
47         geometry/geom_dial_gizmo.c
48         gizmo_group_types/value2d_gizmo_group.c
49         gizmo_types/arrow2d_gizmo.c
50         gizmo_types/arrow3d_gizmo.c
51         gizmo_types/blank3d_gizmo.c
52         gizmo_types/button2d_gizmo.c
53         gizmo_types/cage2d_gizmo.c
54         gizmo_types/cage3d_gizmo.c
55         gizmo_types/dial3d_gizmo.c
56         gizmo_types/move3d_gizmo.c
57         gizmo_types/primitive3d_gizmo.c
58         gizmo_types/value2d_gizmo.c
59 )
60
61 add_definitions(${GL_DEFINITIONS})
62
63 blender_add_lib(bf_editor_gizmo_library "${SRC}" "${INC}" "${INC_SYS}")