Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-07-24 07:18:15


On Monday 24 July 2006 14:45, Roland Schwarz wrote:
> In bbv1 it was possible to have custom requirements rule which had the
> signature:
>
> rule my-requirements ( toolset variant : subvariant-path properties * )
>
> Is there something similar available in bbv2?
>
> Or is there a different(similar) mechanism available in bbv2?
> I used this to conditionally calculate library and include directives
> from environment variables.

Consider using indirect conditional requirements:

http://boost.org/boost-build2/doc/html/bbv2/advanced/targets.html#bbv2.advanced.targets.requirements

- 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