Boost logo

Boost-Build :

From: Alan Gutierrez (alan-jamboost_at_[hidden])
Date: 2005-01-04 19:16:57


* David Abrahams <dave_at_[hidden]> [2005-01-04 17:40]:
>
> generators.register-standard verbatim.inline-file : VERBATIM : CPP ;
>
> declares a generator that converts VERBATIM files into CPP files. But
> if we want to declare a cpp file to be generated, we might write:
>
> cpp foo : foo.verbatim ;
>
> The .cpp target is on the left and the .verbatim target is on the right.
> I find this difference somewhat confusing. I definitely got the
> order wrong the first time I declared a generator. It's a weird
> property of build systems that targets go on the left and sources go on
> the right. It might be a good idea to stick to that convention.

Dave,

It didn't think about it until you said it, but in my exercises,
creaating an example generator.register-standard, and an example
generators.register-composed, I made the mistake both times, of
putting the generators.register-foo arguments in the wrong order.

--
Alan Gutierrez - alan_at_[hidden]
 

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