Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-05-19 01:06:25


On Monday 19 May 2008 02:26:01 Frank Birbacher wrote:
> Hi!
>
> I'm happy about your response! :)
>
> Vladimir Prus schrieb:
> > I'd suggest this:
> >
> > lib common_proper : [ glob *.cpp ] <link>static ;
> > alias common : common_proper /boost//filesystem ;
>
> I am totally puzzled, this approach actually works. o_O
>
> I was convinced common_proper would not link without the
> boost.filesystem library.

Static libraries don't care :-)

> To conserve the library name I put
> <use>/boost//filesystem into the usage requirements.

Does that actually work? I'd expect:

   lib common : a.cpp : <link>static : : <use>/boost//filesystem ;

would try to static build of boost.filesystem.

- 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