use explicit file paths for CMake rather then globing, This is recommended by cmake...
[blender.git] / source / blender / editors / object / CMakeLists.txt
1 # $Id: CMakeLists.txt 12931 2007-12-17 18:20:48Z theeth $
2 # ***** BEGIN GPL LICENSE BLOCK *****
3 #
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software Foundation,
16 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 #
18 # Contributor(s): Jacques Beaurain.
19 #
20 # ***** END GPL LICENSE BLOCK *****
21
22 SET(INC
23         ../include
24         ../../blenkernel
25         ../../blenlib
26         ../../gpu
27         ../../ikplugin
28         ../../imbuf
29         ../../makesdna
30         ../../makesrna
31         ../../python
32         ../../windowmanager
33         ../../render/extern/include
34         ../../../../intern/guardedalloc
35 )
36
37 SET(SRC
38         object_add.c
39         object_bake.c
40         object_constraint.c
41         object_edit.c
42         object_group.c
43         object_hook.c
44         object_lattice.c
45         object_modifier.c
46         object_ops.c
47         object_relations.c
48         object_select.c
49         object_shapekey.c
50         object_transform.c
51         object_vgroup.c
52 )
53
54 IF(WIN32)
55         LIST(APPEND INC ${PTHREADS_INC})
56 ENDIF(WIN32)
57
58 IF(NOT WITH_PYTHON)
59         ADD_DEFINITIONS(-DDISABLE_PYTHON)
60 ENDIF(NOT WITH_PYTHON)
61
62 BLENDERLIB(bf_editor_object "${SRC}" "${INC}")