c13e6c16413a41e3601d15fa2b84ea33d30f78b8
[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 #
17 # Contributor(s): Jacques Beaurain.
18 #
19 # ***** END GPL LICENSE BLOCK *****
20
21 set(INC
22         ../include
23         ../../blenfont
24         ../../blenkernel
25         ../../blenlib
26         ../../blenloader
27         ../../bmesh
28         ../../makesdna
29         ../../makesrna
30         ../../windowmanager
31         ../../../../intern/guardedalloc
32 )
33
34 set(INC_SYS
35
36 )
37
38 set(SRC
39         ed_util.c
40         editmode_undo.c
41         numinput.c
42         undo.c
43         crazyspace.c
44
45         util_intern.h
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_clip.h
52         ../include/ED_curve.h
53         ../include/ED_datafiles.h
54         ../include/ED_fileselect.h
55         ../include/ED_fluidsim.h
56         ../include/ED_gpencil.h
57         ../include/ED_image.h
58         ../include/ED_info.h
59         ../include/ED_keyframes_draw.h
60         ../include/ED_keyframes_edit.h
61         ../include/ED_keyframing.h
62         ../include/ED_lattice.h
63         ../include/ED_logic.h
64         ../include/ED_markers.h
65         ../include/ED_mball.h
66         ../include/ED_mesh.h
67         ../include/ED_node.h
68         ../include/ED_numinput.h
69         ../include/ED_object.h
70         ../include/ED_particle.h
71         ../include/ED_physics.h
72         ../include/ED_render.h
73         ../include/ED_screen.h
74         ../include/ED_screen_types.h
75         ../include/ED_sculpt.h
76         ../include/ED_sequencer.h
77         ../include/ED_sound.h
78         ../include/ED_space_api.h
79         ../include/ED_text.h
80         ../include/ED_transform.h
81         ../include/ED_types.h
82         ../include/ED_util.h
83         ../include/ED_uvedit.h
84         ../include/ED_view3d.h
85         ../include/UI_icons.h
86         ../include/UI_interface.h
87         ../include/UI_interface_icons.h
88         ../include/UI_resources.h
89         ../include/UI_view2d.h
90 )
91
92 if(WITH_INTERNATIONAL)
93         add_definitions(-DWITH_INTERNATIONAL)
94 endif()
95
96 blender_add_lib(bf_editor_util "${SRC}" "${INC}" "${INC_SYS}")