Boost logo

Boost-Build :

Subject: Re: [Boost-build] begin/end of run targets
From: Jonathan Brannan (kickace_at_[hidden])
Date: 2009-07-10 09:04:33

In v1 I did this to get my end rule:
action my_end_rule

my_end_rule : do_at_end ;
DEPENDS all : do_at_end ;

Then for each rule in the build system we had:
DEPENDS do_at_end : $(new_target) ;

I could not get this working in v2 build system.

On 7/10/09, Vladimir Prus <ghost_at_[hidden]> wrote:
> On Friday 10 July 2009 Jonathan Brannan wrote:
>> I have a Jamroot.jam that I want to have a rule executed before
>> anything else (always) and something at the end of all other rules are
>> executed. I had something that worked under v1, but I can't seem to
>> get them to work under v2.
> Can the 'start' action be implemented as a target that everything depends
> on?
> I don't know any way to run some code at the end of the build, though it
> might be implemented one day for other reasons.
> - Volodya
> _______________________________________________
> Unsubscribe & other changes:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at