Depsgraph: Comb code to a better state all over
[blender.git] / source / blender / depsgraph / 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 # The Original Code is Copyright (C) 2014, Blender Foundation
18 # All rights reserved.
19 #
20 # The Original Code is: all of this file.
21 #
22 # Contributor(s): Joshua Leung, Lukas Toenne
23 #
24 # ***** END GPL LICENSE BLOCK *****
25
26 set(INC
27         .
28         ../blenkernel
29         ../blenlib
30         ../bmesh
31         ../draw
32         ../makesdna
33         ../makesrna
34         ../modifiers
35         ../windowmanager
36         ../../../intern/atomic
37         ../../../intern/guardedalloc
38 )
39
40 set(INC_SYS
41 )
42
43 set(SRC
44         intern/builder/deg_builder.cc
45         intern/builder/deg_builder_cycle.cc
46         intern/builder/deg_builder_map.cc
47         intern/builder/deg_builder_nodes.cc
48         intern/builder/deg_builder_nodes_rig.cc
49         intern/builder/deg_builder_nodes_view_layer.cc
50         intern/builder/deg_builder_pchanmap.cc
51         intern/builder/deg_builder_relations.cc
52         intern/builder/deg_builder_relations_keys.cc
53         intern/builder/deg_builder_relations_rig.cc
54         intern/builder/deg_builder_relations_view_layer.cc
55         intern/builder/deg_builder_transitive.cc
56         intern/debug/deg_debug.cc
57         intern/debug/deg_debug_relations_graphviz.cc
58         intern/debug/deg_debug_stats_gnuplot.cc
59         intern/eval/deg_eval.cc
60         intern/eval/deg_eval_copy_on_write.cc
61         intern/eval/deg_eval_flush.cc
62         intern/eval/deg_eval_stats.cc
63         intern/node/deg_node.cc
64         intern/node/deg_node_component.cc
65         intern/node/deg_node_factory.cc
66         intern/node/deg_node_id.cc
67         intern/node/deg_node_operation.cc
68         intern/node/deg_node_time.cc
69         intern/depsgraph.cc
70         intern/depsgraph_build.cc
71         intern/depsgraph_debug.cc
72         intern/depsgraph_eval.cc
73         intern/depsgraph_physics.cc
74         intern/depsgraph_query.cc
75         intern/depsgraph_query_filter.cc
76         intern/depsgraph_query_foreach.cc
77         intern/depsgraph_query_iter.cc
78         intern/depsgraph_tag.cc
79         intern/depsgraph_type.cc
80         intern/depsgraph_update.cc
81
82         DEG_depsgraph.h
83         DEG_depsgraph_build.h
84         DEG_depsgraph_debug.h
85         DEG_depsgraph_physics.h
86         DEG_depsgraph_query.h
87
88         intern/builder/deg_builder.h
89         intern/builder/deg_builder_cycle.h
90         intern/builder/deg_builder_map.h
91         intern/builder/deg_builder_nodes.h
92         intern/builder/deg_builder_pchanmap.h
93         intern/builder/deg_builder_relations.h
94         intern/builder/deg_builder_relations_impl.h
95         intern/builder/deg_builder_transitive.h
96         intern/debug/deg_debug.h
97         intern/eval/deg_eval.h
98         intern/eval/deg_eval_copy_on_write.h
99         intern/eval/deg_eval_flush.h
100         intern/eval/deg_eval_stats.h
101         intern/node/deg_node.h
102         intern/node/deg_node_component.h
103         intern/node/deg_node_factory.h
104         intern/node/deg_node_factory_impl.h
105         intern/node/deg_node_id.h
106         intern/node/deg_node_operation.h
107         intern/node/deg_node_time.h
108         intern/depsgraph.h
109         intern/depsgraph_physics.h
110         intern/depsgraph_tag.h
111         intern/depsgraph_type.h
112         intern/depsgraph_update.h
113 )
114
115 if(WITH_BOOST)
116         list(APPEND INC_SYS
117                 ${BOOST_INCLUDE_DIR}
118         )
119         add_definitions(-DHAVE_BOOST_FUNCTION_BINDINGS)
120 endif()
121
122 blender_add_lib(bf_depsgraph "${SRC}" "${INC}" "${INC_SYS}")