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