|
Boost-Build : |
Subject: Re: [Boost-build] [python-port] msvc toolset patch
From: Vladimir Prus (ghost_at_[hidden])
Date: 2011-11-24 15:34:42
On 24/11/11 22:19, Juraj IvanÄiÄ wrote:
> Secondly - I observed a little inconsistency with the old boost build. In Python Port if I invoke
> project build with toolset=msvc (or without specifying the toolset at all) on the command line the
> created directory structure is
>
> bin/msvc/...
>
> The old bb detects that I have vc9 and creates
>
> bin/msvc-9.0
>
> If I explicitly specify version on the command line (toolset=msvc-9.0) then it works. Any hint where
> to look for this?
What do you have in your user-config.jam (if anything)? In Jam version, when you have no version
specified, the following code in msvc.jam:configure-really is supposed to kick in:
# Decide what the 'default' version is.
if ! $(v)
{
# Take the first registered (i.e. auto-detected) version.
version = [ $(.versions).all ] ;
version = $(version[1]) ;
v = $(version) ;
# Note: 'version' can still be empty at this point if no versions have
# been auto-detected.
version ?= "default" ;
}
Where .versions is created with:
.versions = [ new configurations ] ;
at the top-level, and then populated with auto-discovered versions.
HTH,
Volodya
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