Boost logo

Boost-Build :

From: jim_at_[hidden]
Date: 2005-03-04 07:50:36


In article <200503041249.21045.ghost_at_[hidden]>,
Vladimir Prus <jamboost_at_[hidden]> wrote:
>However, you can do something. Say:
>
> exe builder : builder.c ;
>
> some_rule_of_yours a : a.cpp : <command>builder ;
>
>where 'command' is a dependency property that you should define and the
>'some_rule_of_yours' rule should make use of that property.

Many, many thanks for that hint. I had got an awful hack working, but
that has now been thankfully consigned to history and I've done as you
suggest instead. Very neat.

If you agree, I am tempted to add a 'Recipes' section to the Wiki,
and add a page there describing this use case.

-- 
Jim Hague - jim_at_[hidden] Never trust a computer you can't lift.
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk