X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flib%2Fbuildgraph.h;h=8b7a0ca9d042f28d51ad8d6a5c59bf10a5cda59c;hb=a8dd31308dfef6da930c261779d4e9ebfc2af838;hp=371b5447e2e01291f8e902103a34d3cb12065565;hpb=c8e829c219c65ff8e93b6c7b66212ff0876441c5;p=builder.git diff --git a/source/lib/buildgraph.h b/source/lib/buildgraph.h index 371b544..8b7a0ca 100644 --- a/source/lib/buildgraph.h +++ b/source/lib/buildgraph.h @@ -3,6 +3,7 @@ #include #include +#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 &);