X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ffiletarget.h;h=a48e1ab6d976932eb507653bc9c37a2a8fe19d91;hb=5cfcbc7507b14df81018f734ae47f92b231b10d2;hp=30cd3df3ec3fae9486761e8cf403c8df582dc9ce;hpb=c8dfe708b5551818dad3f6cf3e86cc72fe684572;p=builder.git diff --git a/source/filetarget.h b/source/filetarget.h index 30cd3df..a48e1ab 100644 --- a/source/filetarget.h +++ b/source/filetarget.h @@ -31,19 +31,22 @@ public: bool is_installable() const { return !install_location.empty(); } const Msp::FS::Path &get_install_location() const { return install_location; } - /** - Changes the mtime of the target to the current time. - */ + /// Changes the mtime of the target to the current time. void touch(); protected: virtual void check_rebuild(); + virtual std::string create_build_signature() const; + public: virtual Task *build(); protected: virtual void build_finished(bool); + +public: + virtual void clean(); }; #endif