Ticket #3069: msvc.jam.patch

File msvc.jam.patch, 1.8 KB (added by Richard Webb <richard.webb@…>, 13 years ago)
  • msvc.jam

     
    677677            # version from the path.
    678678            # FIXME: We currently detect both Microsoft Visual Studio 9.0 and
    679679            # 9.0express as 9.0 here.
    680             if [ MATCH "(Microsoft Visual Studio 9)" : $(command) ]
     680            if [ MATCH "(Microsoft Visual Studio 10)" : $(command) ]
    681681            {
     682                version = 10.0 ;
     683            }
     684            else if [ MATCH "(Microsoft Visual Studio 9)" : $(command) ]
     685            {
    682686                version = 9.0 ;
    683687            }
    684             if [ MATCH "(Microsoft Visual Studio 8)" : $(command) ]
     688            else if [ MATCH "(Microsoft Visual Studio 8)" : $(command) ]
    685689            {
    686690                version = 8.0 ;
    687691            }
     
    12661270
    12671271
    12681272# Known toolset versions, in order of preference.
    1269 .known-versions = 9.0 9.0express 8.0 8.0express 7.1 7.1toolkit 7.0 6.0 ;
     1273.known-versions = 10.0 9.0 9.0express 8.0 8.0express 7.1 7.1toolkit 7.0 6.0 ;
    12701274
    12711275# Version aliases.
    12721276.version-alias-6 = 6.0 ;
     
    12741278.version-alias-7 = 7.0 ;
    12751279.version-alias-8 = 8.0 ;
    12761280.version-alias-9 = 9.0 ;
     1281.version-alias-10 = 10.0 ;
    12771282
    12781283# Names of registry keys containing the Visual C++ installation path (relative
    12791284# to "HKEY_LOCAL_MACHINE\SOFTWARE\\Microsoft").
     
    12841289.version-8.0express-reg = "VCExpress\\8.0\\Setup\\VC" ;
    12851290.version-9.0-reg = "VisualStudio\\9.0\\Setup\\VC" ;
    12861291.version-9.0express-reg = "VCExpress\\9.0\\Setup\\VC" ;
     1292.version-10.0-reg = "VisualStudio\\10.0\\Setup\\VC" ;
    12871293
    12881294# Visual C++ Toolkit 2003 does not store its installation path in the registry.
    12891295# The environment variable 'VCToolkitInstallDir' and the default installation