Boost logo

Boost-Build :

Subject: Re: [Boost-build] lib rule, could <name> requirment be conditional?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-03-04 15:40:10


Dmitry Timoshenko wrote:
> Hello.
>
> I wanted to ask. Is it possible to write something like this in order to
> use different library names depending on e.g. <target-os>?
>
> lib xercesc
> :
> : <target-os>windows:<name>xerces-c_2D
> <target-os>linux:<name>xerces-c

Please use "searched-lib xercesc ..." -- this should resolve this issue.

- 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