rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / blender / editors / interface / 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         ../../blenfont
25         ../../blenkernel
26         ../../blenlib
27         ../../gpu
28         ../../imbuf
29         ../../makesdna
30         ../../makesrna
31         ../../python
32         ../../windowmanager
33         ../../../../intern/guardedalloc
34 )
35
36 SET(SRC
37         interface.c
38         interface_anim.c
39         interface_draw.c
40         interface_handlers.c
41         interface_icons.c
42         interface_layout.c
43         interface_ops.c
44         interface_panel.c
45         interface_regions.c
46         interface_style.c
47         interface_templates.c
48         interface_utils.c
49         interface_widgets.c
50         resources.c
51         view2d.c
52         view2d_ops.c
53 )
54
55 IF(WITH_INTERNATIONAL)
56         ADD_DEFINITIONS(-DINTERNATIONAL)
57 ENDIF(WITH_INTERNATIONAL)
58
59 IF(WITH_PYTHON)
60         ADD_DEFINITIONS(-DWITH_PYTHON)
61 ENDIF(WITH_PYTHON)
62
63 BLENDERLIB(bf_editor_interface "${SRC}" "${INC}")