[librsvg/nmake: 2/6] win32/detectenv-msvc.mak: Detect Visual Studio 2019
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/nmake: 2/6] win32/detectenv-msvc.mak: Detect Visual Studio 2019
- Date: Fri, 28 Jun 2019 16:36:23 +0000 (UTC)
commit a269c5ac46d07f8065ea873d471560e2576459db
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Jun 26 17:03:37 2019 +0800
win32/detectenv-msvc.mak: Detect Visual Studio 2019
We want to ensure that we can build with Visual Studio 2019 properly.
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 6fd96ccc..787a8974 100644
--- a/win32/detectenv-msvc.mak
+++ b/win32/detectenv-msvc.mak
@@ -42,8 +42,10 @@ VSVER = 11
VSVER = 12
!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 1910
VSVER = 14
-!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 2000
+!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 1920
VSVER = 15
+!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 2000
+VSVER = 16
!else
VSVER = 0
!endif
@@ -51,7 +53,7 @@ VSVER = 0
!if "$(VSVER)" == "0"
MSG = ^
This NMake Makefile set supports Visual Studio^
-9 (2008) through 14 (2015). Your Visual Studio^
+9 (2008) through 16 (2019). Your Visual Studio^
version is not supported.
!error $(MSG)
!endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]