|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-07-08 01:03:00
On Friday 08 July 2005 01:31, Andrey Melnikov wrote:
> Now I can have anonymous project rules:
>
> project
>
> : requirements
>
> <include>D:/Home/libsrc/boost-CVS-HEAD-05-05-21-1305
> <library-path>d:/home/lib
> <link>static
>
> : build-dir
>
> "../../intermediate"
> ;
>
> 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.
- 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