]> git.tdb.fi Git - builder.git/blobdiff - source/target.h
Give targets the ability to gather their own build info
[builder.git] / source / target.h
index 114a51ec35ae934faf1ed89acdf9b99a749c9382..e7150c205deb0d1b274b63da6a0194abd3161299 100644 (file)
@@ -9,6 +9,7 @@
 #include <msp/time/timestamp.h>
 
 class Builder;
+class BuildInfo;
 class Component;
 class SourcePackage;
 class Task;
@@ -114,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; }