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@...> 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:
>
http://lists.boost.org/mailman/listinfo.cgi/boost-build>
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost-build