Cleanup: remove contributors for CMake files
[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 # ***** END GPL LICENSE BLOCK *****
17
18 set(INC
19         ../include
20         ../../blenfont
21         ../../blenkernel
22         ../../blenlib
23         ../../blentranslation
24         ../../bmesh
25         ../../draw
26         ../../gpu
27         ../../imbuf
28         ../../makesdna
29         ../../makesrna
30         ../../render/extern/include
31         ../../windowmanager
32         ../../depsgraph
33         ../../../../intern/guardedalloc
34         ../../../../intern/glew-mx
35         ../../../../intern/smoke/extern
36 )
37
38 set(INC_SYS
39         ${GLEW_INCLUDE_PATH}
40 )
41
42 set(SRC
43         drawobject.c
44         space_view3d.c
45         view3d_buttons.c
46         view3d_camera_control.c
47         view3d_draw.c
48         view3d_draw_legacy.c
49         view3d_edit.c
50         view3d_fly.c
51         view3d_gizmo_armature.c
52         view3d_gizmo_camera.c
53         view3d_gizmo_empty.c
54         view3d_gizmo_forcefield.c
55         view3d_gizmo_lamp.c
56         view3d_gizmo_navigate.c
57         view3d_gizmo_navigate_type.c
58         view3d_gizmo_preselect.c
59         view3d_gizmo_preselect_type.c
60         view3d_gizmo_ruler.c
61         view3d_header.c
62         view3d_iterators.c
63         view3d_ops.c
64         view3d_project.c
65         view3d_select.c
66         view3d_snap.c
67         view3d_toolbar.c
68         view3d_utils.c
69         view3d_view.c
70         view3d_walk.c
71
72         view3d_intern.h
73 )
74
75 if(WITH_PYTHON)
76         blender_include_dirs(../../python)
77         add_definitions(-DWITH_PYTHON)
78 endif()
79
80 add_definitions(${GL_DEFINITIONS})
81
82 if(WITH_INTERNATIONAL)
83         add_definitions(-DWITH_INTERNATIONAL)
84 endif()
85
86 if(WITH_FREESTYLE)
87         add_definitions(-DWITH_FREESTYLE)
88 endif()
89
90 if(WITH_MOD_SMOKE)
91         add_definitions(-DWITH_SMOKE)
92 endif()
93
94 blender_add_lib(bf_editor_space_view3d "${SRC}" "${INC}" "${INC_SYS}")