0e4c9ca6aa39e395ee412b1c3f68e707f16ad69c
[blender.git] / source / blender / editors / space_view3d / 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         ../../windowmanager
32         ../../render/extern/include
33         ../../../../intern/guardedalloc
34         ../../../../intern/smoke/extern
35 )
36
37 set(SRC
38         drawanimviz.c
39         drawarmature.c
40         drawmesh.c
41         drawobject.c
42         drawvolume.c
43         space_view3d.c
44         view3d_buttons.c
45         view3d_draw.c
46         view3d_edit.c
47         view3d_fly.c
48         view3d_header.c
49         view3d_ops.c
50         view3d_select.c
51         view3d_snap.c
52         view3d_toolbar.c
53         view3d_view.c
54
55         view3d_intern.h
56 )
57
58 if(WITH_GAMEENGINE)
59         list(APPEND INC ../../../kernel/gen_system)
60         add_definitions(-DWITH_GAMEENGINE)
61 endif()
62
63 add_definitions(-DGLEW_STATIC)
64
65 blenderlib(bf_editor_space_view3d "${SRC}" "${INC}")