Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-02 12:34:37


AMDG

Johan Råde wrote:
> I need to build two versions:
>
> 1. debug, dynamic linking, secure SCL
> 2. release, static linking, no secure SCL
>
> Both versions should use the dynamic runtime and multi-threading.
> And I need zlib support with my iostreams.
>
> Is the following correct
>
> bjam toolset=msvc-9.0 runtime-link=dynamic threading=multi
> debug/link=dynamic/define=_SECURE_SCL=1
> release/link=static/define=_SECURE_SCL=0 --NO_ZLIB=0
> -sZLIB_SOURCE=C:\ZLib install

Almost, try runtime-link=shared and link=shared.

The -n option of bjam is helpful. (Don't actually execute the
updating actions, only print them). You can use --with-iostreams
e.g. to only see the actions for a single library.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net