Cleanup: de-duplicate active item center access
[blender.git] / source / blender / editors / object / 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         ../../blenkernel
24         ../../blenlib
25         ../../blentranslation
26         ../../bmesh
27         ../../depsgraph
28         ../../gpu
29         ../../ikplugin
30         ../../imbuf
31         ../../makesdna
32         ../../makesrna
33         ../../modifiers
34         ../../gpencil_modifiers
35         ../../shader_fx
36         ../../python
37         ../../render/extern/include
38         ../../windowmanager
39         ../../../../intern/guardedalloc
40         ../../../../intern/glew-mx
41 )
42
43 set(INC_SYS
44         ${GLEW_INCLUDE_PATH}
45 )
46
47 set(SRC
48         object_add.c
49         object_bake.c
50         object_bake_api.c
51         object_collection.c
52         object_constraint.c
53         object_edit.c
54         object_facemap_ops.c
55         object_hook.c
56         object_modes.c
57         object_modifier.c
58         object_gpencil_modifier.c
59         object_shader_fx.c
60         object_ops.c
61         object_random.c
62         object_relations.c
63         object_select.c
64         object_shapekey.c
65         object_data_transfer.c
66         object_transform.c
67         object_utils.c
68         object_warp.c
69         object_vgroup.c
70
71         object_intern.h
72 )
73
74 add_definitions(${GL_DEFINITIONS})
75
76 if(WITH_PYTHON)
77         add_definitions(-DWITH_PYTHON)
78 endif()
79
80 if(WITH_INTERNATIONAL)
81         add_definitions(-DWITH_INTERNATIONAL)
82 endif()
83
84 blender_add_lib(bf_editor_object "${SRC}" "${INC}" "${INC_SYS}")