Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-05-26 14:31:57

"Peter Dimov" <pdimov_at_[hidden]> writes:

> That aside, FWIW I've found bjam relatively painless to use (once it's
> present). I didn't even need to specify an -sTOOLS option or run
> vcvars32.bat IIRC. For the scenario where one already has the headers up and
> running but doesn't want to "bjam install" the whole package, the main
> obstacle is figuring out which -sBUILD combination generates
> "library-sgd-mt-whatever" when autolinking kicks in.
> Or can bjam figure these out automatically from the target name of
> "library-sgd-mt-whatever.lib"? It didn't occur to me to try it. ;-)

No, it can't. The presumption is that -SBUILD="..." specifications
are higher level than sgd-mt-whatever abbreviated tag strings. Of
course, -sBUILD is still pretty awful in v1. In v2 you just write,

      bjam threading=multi link=static <library-name>

if you want to build a library with specific options.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at