Fix some inconsistencies in object visibility/selectability tests.
[blender.git] / source / blender / editors / space_info / 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         ../../blenloader
27         ../../blentranslation
28         ../../depsgraph
29         ../../imbuf
30         ../../bmesh
31         ../../gpu
32         ../../makesdna
33         ../../makesrna
34         ../../windowmanager
35         ../../../../intern/guardedalloc
36         ../../../../intern/glew-mx
37 )
38
39 set(INC_SYS
40         ${GLEW_INCLUDE_PATH}
41 )
42
43 set(SRC
44         info_ops.c
45         info_stats.c
46         info_draw.c
47         info_report.c
48         textview.c
49         space_info.c
50
51         info_intern.h
52         textview.h
53 )
54
55 if(WITH_INTERNATIONAL)
56         add_definitions(-DWITH_INTERNATIONAL)
57 endif()
58
59 add_definitions(${GL_DEFINITIONS})
60
61 blender_add_lib(bf_editor_space_info "${SRC}" "${INC}" "${INC_SYS}")