Fix own regression in cycles material group cased by recent changes in nodes rna
[blender.git] / source / blender / editors / space_node / 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         ../../imbuf
28         ../../gpu
29         ../../makesdna
30         ../../makesrna
31         ../../nodes
32         ../../render/extern/include
33         ../../windowmanager
34         ../../compositor
35         ../../../../intern/guardedalloc
36         ../../../../intern/opennl/extern
37 )
38
39 set(INC_SYS
40         ${GLEW_INCLUDE_PATH}
41 )
42
43 set(SRC
44         drawnode.c
45         node_buttons.c
46         node_draw.c
47         node_edit.c
48         node_header.c
49         node_ops.c
50         node_select.c
51         node_state.c
52         node_templates.c
53         space_node.c
54
55         node_intern.h
56 )
57
58 if(WITH_INTERNATIONAL)
59         add_definitions(-DWITH_INTERNATIONAL)
60 endif()
61
62 if(WITH_COMPOSITOR)
63         add_definitions(-DWITH_COMPOSITOR)
64 endif()
65
66 blender_add_lib(bf_editor_space_node "${SRC}" "${INC}" "${INC_SYS}")