Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-10-12 04:56:58


Duft Markus wrote:

> Hi all!
>
> I have a question regarding the boost build on Windows: I'm building
> boost with the following bjam command:
>
> cmd.exe /C ./tools/build/jam_src/${bindir}/bjam.exe -d2
> -sTOOLS=${toolchain} "-sBUILD=release <threading>multi
> <cxxflags>-D_USE_32BIT_TIME_T <runtime-link>dynamic"
> "-s${vc_root}=${vcvars32}"

You appears to be using Boost 1.33.*, with Boost.Build V1, right?

> Everything works fine so far, but: I want only the shared libraries
> (dlls), and am settings appropriate defines to use those versions in all
> other software i build. Thus the static libraries are completely useless
> for me (at least i think so, am i wrong?)
>
> Can i somehow disable static library builds?

I'm not sure this is easily possible in the version you're using. In
Boost 1.34.*, using Boost.Build V2, you'd use:

        link=shared

on the command like to build only shared libraries.

- Volodya


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk