X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarget.h;h=c4a822b48df43f5747479c67bc7e955ee0ce1031;hb=c3968651eb8a2ba66a95398f0571dd5afd37225c;hp=64a132c9f13a0460f8608695cb632b88f3ed5522;hpb=55269a63b0875be0b172453714f9190d30fb1dff;p=builder.git diff --git a/source/target.h b/source/target.h index 64a132c..c4a822b 100644 --- a/source/target.h +++ b/source/target.h @@ -9,6 +9,7 @@ #include class Builder; +class BuildInfo; class Component; class SourcePackage; class Task; @@ -26,7 +27,7 @@ dependencies can be used by other targets further down the chain. class Target { public: - typedef std::list Dependencies; + using Dependencies = std::list; protected: enum State @@ -41,6 +42,7 @@ protected: public: sigc::signal signal_bubble_rebuild; + sigc::signal signal_modified; protected: Builder &builder; @@ -113,6 +115,8 @@ public: the build() function. */ const Tool *get_tool() const { return tool; } + virtual void collect_build_info(BuildInfo &) const; + /** Indicates if it's possible to build this target. */ bool is_buildable() const { return tool!=0; }