Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / space_outliner / 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         ../../blenkernel
24         ../../blenlib
25         ../../blentranslation
26         ../../depsgraph
27         ../../imbuf
28         ../../gpu
29         ../../makesdna
30         ../../makesrna
31         ../../windowmanager
32         ../../../../intern/guardedalloc
33         ../../../../intern/glew-mx
34 )
35
36 set(INC_SYS
37         ${GLEW_INCLUDE_PATH}
38 )
39
40 set(SRC
41         outliner_collections.c
42         outliner_dragdrop.c
43         outliner_draw.c
44         outliner_edit.c
45         outliner_ops.c
46         outliner_select.c
47         outliner_tools.c
48         outliner_tree.c
49         outliner_utils.c
50         space_outliner.c
51
52         outliner_intern.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_outliner "${SRC}" "${INC}" "${INC_SYS}")