|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-07-12 10:03:02
On Friday 08 July 2005 18:33, Andrey Melnikov wrote:
> Vladimir Prus wrote:
> > On Friday 08 July 2005 01:31, Andrey Melnikov wrote:
> >>But name for the stage rule is mandatory:
> >
> > ......
> >
> >>I cannot have just
> >>
> >>stage :
> >> projA
> >> projB
> >>
> >> : : <location>../output
> >>
> >>;
> >>
> >>Are there any good reasons for such behaviour, or anonymous stages just
> >>haven't been implemented yet?
> >
> > Simply, for projects name is often not needed. You can refer to a project
> > using directory name. For targets, name is the only way to refer to them,
> > so the idea that target can be anonymous did not occur to me.
>
> Most projects need just one stage rule. The rule is always called to
> install all binary components into one directory for testing, because
> components are useless without their binary dependencies. So there's no
> to refer to the rule in other places, just like there's often no need to
> refer to a project.
Ok, but naming it something like 'dist' should not be very complex ;-)
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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