Boost logo

Boost-Build :

From: Gennadiy Rozental (gennadiy.rozental_at_[hidden])
Date: 2006-02-28 11:52:11


"Daniel Einspanjer" <deinspanjer_at_[hidden]> wrote in message
news:dtvus9$ij4$1_at_sea.gmane.org...
> "Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> wrote in message
> news:dtvro7$7l6$1_at_sea.gmane.org...
>> Getting started question: how to build only lib or only dll?

[...] // Non -build command staff skipped

> Finally, if you haven't made it an explicit requirement (which I don't
> believe can be overridden) then you can specify a different value for the
> feature on the command line. e.g. If none of the <link> lines were in the
> targets above, you could run
> bjam link=static
> and you would get static libs instead of the default shared.
>
> You could even run
> bjam link=static link=shared
> And it would build both libs and dlls.

doesn't seems to work

bjam "-sBUILD=<link>shared" boost_unit_test_framework

builds both static and dynamic libs

Gennadiy


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