X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarget.h;h=88642dc9ff5f446e1e30ee67e6c64a90df17c919;hb=47496103adfdfe45cdc162a4f6341e924211302d;hp=0f0afc6310b24d8fc88b924608d2a4bb2ec30aad;hpb=a1ac20ac56a65a26d96665b81d066a3050057910;p=builder.git diff --git a/source/target.h b/source/target.h index 0f0afc6..88642dc 100644 --- a/source/target.h +++ b/source/target.h @@ -86,6 +86,9 @@ public: the target has been prepared. */ const std::string &get_rebuild_reason() const { return rebuild_reason; } + /** Forces rebuild of the target. */ + void force_rebuild(); + bool is_installable() const { return !install_location.empty(); } const std::string &get_install_location() const { return install_location; } void add_depend(Target *);