Boost logo

Boost-Build :

From: Klaus Nowikow (e8827661_at_[hidden])
Date: 2006-07-25 03:31:50


Hi Volodya,

Vladimir Prus wrote:
> On Monday 24 July 2006 14:30, Klaus Nowikow wrote:
[..]
>
> generators.register-standard template.process-template : RCTPL : RC ;
> generators.register-standard template.process-template : CPPTPL : CPP ;
>
> actions process-template
> {
> python template.py -i$(>:W) -o$(<:W) -I"$(INCLUDES:W)"
> "$(SUBSTITUTES)"
> }
>
> I have not tested this, so report any issues you run into.

This makes adding a new instance of source->target transformation
much easier, I just have to add another line
"generators.register-standard ..." to the code.
I just tried it, and it works - no problems. I only replaced
"-i$(>:W)" with "-i$(>[1]:W)", but that has nothing to do with
the solution itself.

Thank you,

Klaus


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