Depsgraph: Move time source node to own file
[blender-staging.git] / source / blender / depsgraph / CMakeLists.txt
index e1dc8b020fbdee95eb85acc15a7552c556a32329..868a26ae82130b4826497a8bfb612c86cb81a45d 100644 (file)
@@ -25,8 +25,6 @@
 
 set(INC
        .
-       intern
-       util
        ../blenkernel
        ../blenlib
        ../bmesh
@@ -42,48 +40,62 @@ set(INC_SYS
 )
 
 set(SRC
+       intern/builder/deg_builder.cc
+       intern/builder/deg_builder_cycle.cc
+       intern/builder/deg_builder_nodes.cc
+       intern/builder/deg_builder_nodes_rig.cc
+       intern/builder/deg_builder_nodes_scene.cc
+       intern/builder/deg_builder_pchanmap.cc
+       intern/builder/deg_builder_relations.cc
+       intern/builder/deg_builder_relations_keys.cc
+       intern/builder/deg_builder_relations_rig.cc
+       intern/builder/deg_builder_relations_scene.cc
+       intern/builder/deg_builder_transitive.cc
+       intern/debug/deg_debug_graphviz.cc
+       intern/eval/deg_eval.cc
+       intern/eval/deg_eval_flush.cc
+       intern/nodes/deg_node.cc
+       intern/nodes/deg_node_component.cc
+       intern/nodes/deg_node_operation.cc
+       intern/nodes/deg_node_time.cc
        intern/depsgraph.cc
-       intern/depsnode.cc
-       intern/depsnode_component.cc
-       intern/depsnode_operation.cc
        intern/depsgraph_build.cc
-       intern/depsgraph_build_nodes.cc
-       intern/depsgraph_build_relations.cc
        intern/depsgraph_debug.cc
        intern/depsgraph_eval.cc
        intern/depsgraph_query.cc
-       intern/depsgraph_queue.cc
+       intern/depsgraph_query_foreach.cc
        intern/depsgraph_tag.cc
        intern/depsgraph_type_defines.cc
-       util/depsgraph_util_cycle.cc
-       util/depsgraph_util_pchanmap.cc
-       util/depsgraph_util_transitive.cc
 
        DEG_depsgraph.h
        DEG_depsgraph_build.h
        DEG_depsgraph_debug.h
        DEG_depsgraph_query.h
+
+       intern/builder/deg_builder.h
+       intern/builder/deg_builder_cycle.h
+       intern/builder/deg_builder_nodes.h
+       intern/builder/deg_builder_pchanmap.h
+       intern/builder/deg_builder_relations.h
+       intern/builder/deg_builder_relations_impl.h
+       intern/builder/deg_builder_transitive.h
+       intern/eval/deg_eval.h
+       intern/eval/deg_eval_flush.h
+       intern/nodes/deg_node.h
+       intern/nodes/deg_node_component.h
+       intern/nodes/deg_node_operation.h
+       intern/nodes/deg_node_time.h
        intern/depsgraph.h
-       intern/depsnode.h
-       intern/depsnode_component.h
-       intern/depsnode_operation.h
-       intern/depsnode_opcodes.h
-       intern/depsgraph_build.h
-       intern/depsgraph_debug.h
        intern/depsgraph_intern.h
-       intern/depsgraph_queue.h
        intern/depsgraph_types.h
 
-       util/depsgraph_util_cycle.h
-       util/depsgraph_util_function.h
-       util/depsgraph_util_hash.h
-       util/depsgraph_util_map.h
-       util/depsgraph_util_pchanmap.h
-       util/depsgraph_util_set.h
-       util/depsgraph_util_transitive.h
+       util/deg_util_foreach.h
+       util/deg_util_function.h
 )
 
-if(HAVE_STD_UNORDERED_MAP_HEADER)
+if(WITH_CXX11)
+       add_definitions(-DDEG_STD_UNORDERED_MAP)
+elseif(HAVE_STD_UNORDERED_MAP_HEADER)
        if(HAVE_UNORDERED_MAP_IN_STD_NAMESPACE)
                add_definitions(-DDEG_STD_UNORDERED_MAP)
        else()