Manipulator: add image-empty manipulator
[blender.git] / source / blender / editors / space_view3d / 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         ../../blenfont
24         ../../blenkernel
25         ../../blenlib
26         ../../blentranslation
27         ../../bmesh
28         ../../draw
29         ../../gpu
30         ../../imbuf
31         ../../makesdna
32         ../../makesrna
33         ../../render/extern/include
34         ../../windowmanager
35         ../../depsgraph
36         ../../../../intern/guardedalloc
37         ../../../../intern/glew-mx
38         ../../../../intern/smoke/extern
39 )
40
41 set(INC_SYS
42         ${GLEW_INCLUDE_PATH}
43 )
44
45 set(SRC
46         drawanimviz.c
47         drawarmature.c
48         drawmesh.c
49         drawobject.c
50         drawsimdebug.c
51         drawvolume.c
52         space_view3d.c
53         view3d_buttons.c
54         view3d_camera_control.c
55         view3d_draw.c
56         view3d_draw_legacy.c
57         view3d_edit.c
58         view3d_fly.c
59         view3d_walk.c
60         view3d_header.c
61         view3d_iterators.c
62         view3d_manipulator_camera.c
63         view3d_manipulator_empty.c
64         view3d_manipulator_forcefield.c
65         view3d_manipulator_lamp.c
66         view3d_ops.c
67         view3d_project.c
68         view3d_ruler.c
69         view3d_select.c
70         view3d_snap.c
71         view3d_toolbar.c
72         view3d_view.c
73
74         view3d_intern.h
75 )
76
77 if(WITH_PYTHON)
78         blender_include_dirs(../../python)
79         add_definitions(-DWITH_PYTHON)
80 endif()
81
82 if(WITH_GAMEENGINE)
83         list(APPEND INC
84                 ../../../gameengine/BlenderRoutines
85         )
86         add_definitions(-DWITH_GAMEENGINE)
87 endif()
88
89 add_definitions(${GL_DEFINITIONS})
90
91 if(WITH_INTERNATIONAL)
92         add_definitions(-DWITH_INTERNATIONAL)
93 endif()
94
95 if(WITH_FREESTYLE)
96         add_definitions(-DWITH_FREESTYLE)
97 endif()
98
99 if(WITH_MOD_SMOKE)
100         add_definitions(-DWITH_SMOKE)
101 endif()
102
103 blender_add_lib(bf_editor_space_view3d "${SRC}" "${INC}" "${INC_SYS}")