Cleanup: remove contributors for CMake files
[blender.git] / source / blender / editors / util / 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         ../../blenkernel
21         ../../blenlib
22         ../../blentranslation
23         ../../bmesh
24         ../../depsgraph
25         ../../imbuf
26         ../../gpu
27         ../../makesdna
28         ../../makesrna
29         ../../windowmanager
30         ../../../../intern/guardedalloc
31         ../../../../intern/clog
32         ../../../../intern/glew-mx
33 )
34
35 set(INC_SYS
36         ${GLEW_INCLUDE_PATH}
37 )
38
39 set(SRC
40         ed_transverts.c
41         ed_util.c
42         gizmo_utils.c
43         numinput.c
44         select_utils.c
45
46         # general includes
47         ../include/BIF_gl.h
48         ../include/BIF_glutil.h
49         ../include/ED_anim_api.h
50         ../include/ED_armature.h
51         ../include/ED_buttons.h
52         ../include/ED_clip.h
53         ../include/ED_curve.h
54         ../include/ED_datafiles.h
55         ../include/ED_fileselect.h
56         ../include/ED_gizmo_library.h
57         ../include/ED_gizmo_utils.h
58         ../include/ED_gpencil.h
59         ../include/ED_image.h
60         ../include/ED_info.h
61         ../include/ED_keyframes_draw.h
62         ../include/ED_keyframes_edit.h
63         ../include/ED_keyframing.h
64         ../include/ED_lattice.h
65         ../include/ED_logic.h
66         ../include/ED_markers.h
67         ../include/ED_mask.h
68         ../include/ED_mball.h
69         ../include/ED_mesh.h
70         ../include/ED_node.h
71         ../include/ED_numinput.h
72         ../include/ED_object.h
73         ../include/ED_outliner.h
74         ../include/ED_paint.h
75         ../include/ED_particle.h
76         ../include/ED_physics.h
77         ../include/ED_render.h
78         ../include/ED_scene.h
79         ../include/ED_screen.h
80         ../include/ED_screen_types.h
81         ../include/ED_sculpt.h
82         ../include/ED_select_utils.h
83         ../include/ED_sequencer.h
84         ../include/ED_sound.h
85         ../include/ED_space_api.h
86         ../include/ED_text.h
87         ../include/ED_transform.h
88         ../include/ED_transform_snap_object_context.h
89         ../include/ED_transverts.h
90         ../include/ED_types.h
91         ../include/ED_undo.h
92         ../include/ED_util.h
93         ../include/ED_uvedit.h
94         ../include/ED_view3d.h
95         ../include/UI_icons.h
96         ../include/UI_interface.h
97         ../include/UI_interface_icons.h
98         ../include/UI_resources.h
99         ../include/UI_view2d.h
100 )
101
102 add_definitions(${GL_DEFINITIONS})
103
104 if(WITH_INTERNATIONAL)
105         add_definitions(-DWITH_INTERNATIONAL)
106 endif()
107
108 if(WITH_PYTHON)
109         add_definitions(-DWITH_PYTHON)
110         list(APPEND INC
111                 ../../python
112         )
113 endif()
114
115 blender_add_lib(bf_editor_util "${SRC}" "${INC}" "${INC_SYS}")