Boost logo

Boost-Build :

Subject: Re: [Boost-build] Build libs: which ver. of MSVC?
From: Procházka Luká¹ Ing. - Pontex s. r. o. (LPr_at_[hidden])
Date: 2012-09-21 06:33:35


On Fri, 21 Sep 2012 12:29:32 +0200, Lars Viklund <zao_at_[hidden]> wrote:

> On Fri, Sep 21, 2012 at 08:33:36AM +0200, Procházka Luká¹ Ing. - Pontex s. r. o. wrote:
>> How does b2 detect the MSVC version?
>
> Brute-force against a pile of registry keys, and if all else fails, it
> tries 'cl.exe' in the runtime path.
>
>> Where to specify the target MSVC version to be 9.0?
>
> b2 toolset=msvc-9.0

... Great, that's it.

Thank you.

LuP

> This pattern holds for most the possible toolsets, being toolset=name-major.minor


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk