Boost logo

Boost-Build :

From: Andrey Melnikov (melnikov_at_[hidden])
Date: 2005-07-08 09:33:38


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.

Andrey

 


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