Boost logo

Boost-Build :

Subject: Re: [Boost-build] Build libs: which ver. of MSVC?
From: Lars Viklund (zao_at_[hidden])
Date: 2012-09-21 06:29:32


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

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

-- 
Lars Viklund | zao_at_[hidden]

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