Boost logo

Boost-Build :

From: Phillip Seaver (phil_at_[hidden])
Date: 2006-04-27 08:06:33


Noel Belcourt wrote:
> Hi,
>
> I find myself having to do stuff like this quite often, does anyone
> know if there's a shorthand notation to accomplish this?
>
> <toolset>darwin:<define>TEMPLATE_DEFS_INCLUDED
> <toolset>gcc:<define>TEMPLATE_DEFS_INCLUDED
> <toolset>sun:<define>TEMPLATE_DEFS_INCLUDED
> <toolset>vacpp:<define>TEMPLATE_DEFS_INCLUDED
>
> Maybe a something like this is possible?
>
> <toolset>darwin,gcc,sun,vacpp:<define>TEMPLATE_DEFS_INCLUDED

The only way I know how to do it would be

    local tools = darwin gcc sun vacpp ;

    <toolset>$(tools):<define>TEMPLATE_DEFS_INCLUDED

Phillip


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