Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost Build
From: Lars Viklund (zao_at_[hidden])
Date: 2014-06-09 09:00:41


On Sun, Jun 08, 2014 at 11:53:51PM +0300, Igor R wrote:
> > bjam toolset=msvc10.0 variant=debug,release threading=multi link=static
> Add also runtime-link=static

It may be worth clarifying that the difference between link= and
runtime-link=.

'link' is whether the Boost library itself is a static or dynamic
library. On Windows this manifests are a lib- prefix on the .lib for
static libraries, and no lib- on the import libraries for DLLs.

'runtime-link' decides whether the C++ runtime is statically linked or
dynamically linked into the Boost library. This is indicated by a -s- in
the filename if statically linked, no -s- if it's the dynamic CRT.

-- 
Lars Viklund | zao_at_[hidden]

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