|
Boost-Build : |
Subject: Re: [Boost-build] Logical AND for conditions
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-12-08 07:29:42
Norbert Wenzel wrote:
> Hello,
>
> I'm sure this is mentioned in the docs, but I didn't find it.
>
> The example from the documentation on page "Conditions and alternatives" describes the situation
> when you need a specific define to build your library.
>
> lib network : network.cpp
> : <link>shared:<define>NEWORK_LIB_SHARED
> ;
>
> I was wondering, how I would tell BB to only define the NEWORK_LIB_SHARED for windows. I've tried
>
> <target-os>windows:<link>shared:<define>NEWORK_LIB_SHARED
Please use
<target-os>windows,<link>shared:<define>NEWORK_LIB_SHARED
HTH,
Volodya
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