@@ -1113,7 +1113,15 @@ local rule generate-setup-cmd ( version : command : parent : options * : cpu : g
1113
1113
}
1114
1114
else
1115
1115
{
1116
- if [ MATCH "(14.2)" : $(version) ]
1116
+ if [ MATCH "(14.3)" : $(version) ]
1117
+ {
1118
+ if $(.debug-configuration)
1119
+ {
1120
+ ECHO "notice: [generate-setup-cmd] $(version) is 14.3" ;
1121
+ }
1122
+ parent = [ path.native [ path.join $(parent) "..\\..\\..\\..\\..\\Auxiliary\\Build" ] ] ;
1123
+ }
1124
+ else if [ MATCH "(14.2)" : $(version) ]
1117
1125
{
1118
1126
if $(.debug-configuration)
1119
1127
{
@@ -1284,7 +1292,11 @@ local rule configure-really ( version ? : options * )
1284
1292
# version from the path.
1285
1293
# FIXME: We currently detect both Microsoft Visual Studio 9.0 and
1286
1294
# 9.0express as 9.0 here.
1287
- if [ MATCH "(MSVC\\\\14.2)" : $(command) ]
1295
+ if [ MATCH "(MSVC\\\\14.3)" : $(command) ]
1296
+ {
1297
+ version = 14.3 ;
1298
+ }
1299
+ else if [ MATCH "(MSVC\\\\14.2)" : $(command) ]
1288
1300
{
1289
1301
version = 14.2 ;
1290
1302
}
@@ -1701,13 +1713,17 @@ local rule default-path ( version )
1701
1713
# And fortunately, forward slashes do also work in native Windows.
1702
1714
local vswhere = "$(root)/Microsoft Visual Studio/Installer/vswhere.exe" ;
1703
1715
# The check for $(root) is to avoid a segmentation fault if not found.
1704
- if $(version) in 14.1 14.2 default && $(root) && [ path.exists $(vswhere) ]
1716
+ if $(version) in 14.1 14.2 14.3 default && $(root) && [ path.exists $(vswhere) ]
1705
1717
{
1706
1718
local req = "-requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64" ;
1707
1719
local prop = "-property installationPath" ;
1708
1720
local limit ;
1709
1721
1710
- if $(version) = 14.2 || $(version) = "default"
1722
+ if $(version) = 14.3
1723
+ {
1724
+ limit = "-version \"[17.0,18.0)\" -prerelease" ;
1725
+ }
1726
+ else if $(version) = 14.2 || $(version) = "default"
1711
1727
{
1712
1728
limit = "-version \"[16.0,17.0)\"" ;
1713
1729
}
@@ -2138,7 +2154,7 @@ for local arch in [ MATCH "^\\.cpus-on-(.*)" : [ VARNAMES $(__name__) ] ]
2138
2154
armv7 armv7s ;
2139
2155
2140
2156
# Known toolset versions, in order of preference.
2141
- .known-versions = 14.2 14.1 14.0 12.0 11.0 10.0 10.0express 9.0 9.0express 8.0 8.0express 7.1
2157
+ .known-versions = 14.3 14. 2 14.1 14.0 12.0 11.0 10.0 10.0express 9.0 9.0express 8.0 8.0express 7.1
2142
2158
7.1toolkit 7.0 6.0 ;
2143
2159
2144
2160
# Version aliases.
@@ -2185,6 +2201,11 @@ for local arch in [ MATCH "^\\.cpus-on-(.*)" : [ VARNAMES $(__name__) ] ]
2185
2201
"Microsoft Visual Studio/2019/*/VC/Tools/MSVC/*/bin/Host*/*"
2186
2202
;
2187
2203
.version-14.2-env = VS160COMNTOOLS ProgramFiles ProgramFiles(x86) ;
2204
+ .version-14.3-path =
2205
+ "../../VC/Tools/MSVC/*/bin/Host*/*"
2206
+ "Microsoft Visual Studio/2022/*/VC/Tools/MSVC/*/bin/Host*/*"
2207
+ ;
2208
+ .version-14.3-env = VS170COMNTOOLS ProgramFiles ProgramFiles(x86) ;
2188
2209
2189
2210
# Auto-detect all the available msvc installations on the system.
2190
2211
auto-detect-toolset-versions ;
0 commit comments