]> git.tdb.fi Git - builder.git/blobdiff - source/lib/buildgraph.h
Install headers of non-installed components in a staging directory
[builder.git] / source / lib / buildgraph.h
index 371b5447e2e01291f8e902103a34d3cb12065565..8b7a0ca9d042f28d51ad8d6a5c59bf10a5cda59c 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <map>
 #include <string>
+#include "libbuilder_api.h"
 
 class Builder;
 class Target;
@@ -10,7 +11,7 @@ class Target;
 /**
 Manages a graph of targets.
 */
-class BuildGraph
+class LIBBUILDER_API BuildGraph
 {
 private:
        Builder &builder;
@@ -40,6 +41,8 @@ public:
        created and added as a dependency to the "install" virtual target. */
        void add_installed_target(Target &);
 
+       void add_staged_target(Target &);
+
        /** Adds a target as a toplevel goal.  These are stored as dependencies of
        the "goals" virtual target. */
        void add_goal(Target &);