win32/detectenv-msvc.mak: Add section on VS2022

This will make introspection builds via the Visual Studio 2022 projects work as
the NMake Makefiles were looking for VS2019 builds, which most probably did not
exist
This commit is contained in:
Chun-wei Fan 2021-12-21 16:50:43 +08:00
parent 92a8e10789
commit 04496cc535

View File

@ -46,8 +46,10 @@ VSVER = 12
VSVER = 14
!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 1920
VSVER = 15
!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 2000
!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 1930
VSVER = 16
!elseif $(VCVERSION) > 1929 && $(VCVERSION) < 2000
VSVER = 17
!else
VSVER = 0
!endif
@ -55,7 +57,7 @@ VSVER = 0
!if "$(VSVER)" == "0"
MSG = ^
This NMake Makefile set supports Visual Studio^
9 (2008) through 16 (2019). Your Visual Studio^
9 (2008) through 17 (2022). Your Visual Studio^
version is not supported.
!error $(MSG)
!endif