X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftarget.h;h=6b9cc90a0842de77c845982a1f6462d7c107caf6;hb=e516e78510ad455eebc0e06645c9f12943117525;hp=7c1d9a74b7ea90bc2ec881254da2cda61861f39b;hpb=0d95fee118a3fcd78f153dca5721d9fe19b6f6bf;p=builder.git diff --git a/source/target.h b/source/target.h index 7c1d9a7..6b9cc90 100644 --- a/source/target.h +++ b/source/target.h @@ -138,6 +138,10 @@ public: virtual Task *build(); protected: + /** Targets can override this to do additional setup on the Task. This is + also called on side effects, which normally do not get built by themselves. */ + virtual void build(Task &) { } + /** Handler for Task::signal_finished. */ virtual void build_finished(bool);