Ticket #5922: msvc11-build.patch
File msvc11-build.patch, 1.7 KB (added by , 11 years ago) |
---|
-
tools/build/v2/tools/msvc.jam
736 736 # version from the path. 737 737 # FIXME: We currently detect both Microsoft Visual Studio 9.0 and 738 738 # 9.0express as 9.0 here. 739 if [ MATCH "(Microsoft Visual Studio 1 0)" : $(command) ]739 if [ MATCH "(Microsoft Visual Studio 11)" : $(command) ] 740 740 { 741 version = 11.0 ; 742 } 743 else if [ MATCH "(Microsoft Visual Studio 10)" : $(command) ] 744 { 741 745 version = 10.0 ; 742 746 } 743 747 else if [ MATCH "(Microsoft Visual Studio 9)" : $(command) ] … … 1351 1355 1352 1356 1353 1357 # Known toolset versions, in order of preference. 1354 .known-versions = 1 0.0 10.0express 9.0 9.0express 8.0 8.0express 7.1 7.1toolkit 7.0 6.0 ;1358 .known-versions = 11.0 10.0 10.0express 9.0 9.0express 8.0 8.0express 7.1 7.1toolkit 7.0 6.0 ; 1355 1359 1356 1360 # Version aliases. 1357 1361 .version-alias-6 = 6.0 ; … … 1360 1364 .version-alias-8 = 8.0 ; 1361 1365 .version-alias-9 = 9.0 ; 1362 1366 .version-alias-10 = 10.0 ; 1367 .version-alias-11 = 11.0 ; 1363 1368 1364 1369 # Names of registry keys containing the Visual C++ installation path (relative 1365 1370 # to "HKEY_LOCAL_MACHINE\SOFTWARE\\Microsoft"). … … 1372 1377 .version-9.0express-reg = "VCExpress\\9.0\\Setup\\VC" ; 1373 1378 .version-10.0-reg = "VisualStudio\\10.0\\Setup\\VC" ; 1374 1379 .version-10.0express-reg = "VCExpress\\10.0\\Setup\\VC" ; 1380 .version-11.0-reg = "VisualStudio\\11.0\\Setup\\VC" ; 1375 1381 1376 1382 # Visual C++ Toolkit 2003 does not store its installation path in the registry. 1377 1383 # The environment variable 'VCToolkitInstallDir' and the default installation