Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-12-18 01:35:43

Zbynek Winkler wrote:

> Works great. But I've found out that I am not able to build my example
> project with the library (see my previous post) just by calling 'bjam'
> on the command line. It tries to build 'test-lib' with <link>shared even
> though I have the project requirements set to <link>static. Have I
> misunderstood the 'requirements'? [building with 'bjam main' or 'bjam
> link=static' works fine, 'bjam -a' does not].

Oh... I think you've hit some wierdness in the way that alternatives are
selected. It's known, but not fixed yet, so I'm going to post a separate
message describing the problem in detail and asking for discussion.

I think the workaround for now is to add

explicit test-lib ;

so that test-lib is not built by itself, but only when requested from 'main'.



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at