[gtk/msvc-project-improvements: 1/4] win32/detectenv-msvc.mak: Add section on VS2022




commit b051c6a8459d87c80f2f2329e2784b793f02ee0f
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue Dec 21 16:50:43 2021 +0800

    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

 win32/detectenv-msvc.mak | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/win32/detectenv-msvc.mak b/win32/detectenv-msvc.mak
index 29b73d88bf..4c25954102 100644
--- a/win32/detectenv-msvc.mak
+++ b/win32/detectenv-msvc.mak
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]