Boost logo

Boost :

Subject: Re: [boost] [1.58.0] Release candidates available
From: Deniz Bahadir (deniz.bahadir_at_[hidden])
Date: 2015-05-01 05:06:13

Am 30.04.2015 um 18:46 schrieb Olaf van der Spek:
> On Thu, Apr 30, 2015 at 6:03 PM, Deniz Bahadir <dbahadir_at_[hidden]> wrote:
>> Am 30.04.2015 um 13:57 schrieb Olaf van der Spek:
>>> On Mon, Apr 6, 2015 at 4:08 PM, Olaf van der Spek <ml_at_[hidden]> wrote:
>>>> On Mon, Apr 6, 2015 at 3:53 PM, Beman Dawes <bdawes_at_[hidden]> wrote:
>>>>>> No. I'm rerunning now with --build-type=complete
>>>>> Failed, with the same errors you reported.
>>>>> That's a cautionary tale!
>>>>> Marshall,
>>>>> We need to start asking RC testers to use --build-type=complete
>>>> Why doesn't it default to complete (on Windows)?
>>>> Where's build-type documented anyway?
>>>> All I found was " For instructions on how to build only specific
>>>> variants, please ask on the Boost.Build mailing list."
>>> Somebody?
>> You can call "b2 --help" (or "bjam --help") in the Boost-source directory
>> and will get the information you are looking for:
>> --build-type=<type>
>> Build the specified pre-defined set of variations of
>> the libraries. Note, that which variants get built
>> depends on what each library supports.
>> -- minimal -- (default) Builds a minimal set of
>> variants. On Windows, these are static
>> multithreaded libraries in debug and release
>> modes, using shared runtime. On Linux, these are
>> static and shared multithreaded libraries in
>> release mode.
>> -- complete -- Build all possible variations.
> Ah, thanks. Could the -s variant (static mt lib release with static
> runtime) be build too? I think it's a relatively frequently used
> variant.

As far as I know this should be possible, if you do not use the
build-option "--build-type" but instead the build-properties "variant",
"link", "threading" and "runtime-link". (See "b2 --help".)

For the combination you asked for the build-properties on the
command-line would look like:

variant=release link=static runtime-link=static threading=multi

> I still think the documentation should be improved such that it
> doesn't have to redirect to a mailing list for further info.

I agree with you. Someone, who feels in charge for boost-build should
probably consider doing this.


Dipl.-Inform. Deniz Bahadir
Winterfeldtstr. 21
10781 Berlin
Phone: +49 - 30 / 577 0004-22
Email: deniz.bahadir_at_[hidden]
Board of Management:
   Michael Wolz, Dr.-Ing. Oliver Holschke, Dr.-Ing. Ingmar Poese
Commercial Register: Amtsgericht Bonn HRB 19378

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