Merge remote-tracking branch 'origin/master' into blender2.8
[blender.git] / source / blender / editors / manipulator_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         manipulator_draw_utils.c
41         manipulator_geometry.h
42         manipulator_library_intern.h
43         manipulator_library_presets.c
44         manipulator_library_utils.c
45         geometry/geom_arrow_manipulator.c
46         geometry/geom_cube_manipulator.c
47         geometry/geom_dial_manipulator.c
48         manipulator_types/arrow2d_manipulator.c
49         manipulator_types/arrow3d_manipulator.c
50         manipulator_types/button2d_manipulator.c
51         manipulator_types/cage2d_manipulator.c
52         manipulator_types/cage3d_manipulator.c
53         manipulator_types/dial3d_manipulator.c
54         manipulator_types/grab3d_manipulator.c
55         manipulator_types/primitive3d_manipulator.c
56 )
57
58 add_definitions(${GL_DEFINITIONS})
59
60 blender_add_lib(bf_editor_manipulator_library "${SRC}" "${INC}" "${INC_SYS}")