|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-06-06 00:51:26
David Abrahams wrote:
> >> A generator with signature A -> B B produces two Bs at the same
> >> time. Am I missing something?
> >
> > True. However, the first CPP returned is always the one which must be
> > processed further.
>
> ???
> Seems totally arbitrary.
No, I don't think so. The rule is arbitrary if it's general rule used by the
*system*. However, if it's a rule provided by *user*, which applies to
specific generator, it's not arbitrary at all.
The ECPP target is processed by some tool. Given foo.ecpp, it produces
foo_target.cpp and foo_host.cpp. The first one must be processed further.
Generator is Boost.Build representation of a tool. It takes ECPP target and
produces two CPP target. Given foo.cpp it will produce foo_target.cpp and
foo_host.cpp, *in that order*, and the first produced target should be
processed further.
- Volodya
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