From 08825d2c214765d0fefa5741ab973e966ddcace7 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 17 Feb 2017 17:48:13 +0800 Subject: [PATCH] win32/detectenv-msvc.mak: Support Visual Studio 2017 Update this common NMake Makefile module so projects using this (such as for introspection builds or projects supporting MSVC builds using NMake) can make use of Visual Studio 2017. --- win32/detectenv-msvc.mak | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/win32/detectenv-msvc.mak b/win32/detectenv-msvc.mak index c23e444fe..e4548d70d 100644 --- a/win32/detectenv-msvc.mak +++ b/win32/detectenv-msvc.mak @@ -40,8 +40,10 @@ VSVER = 10 VSVER = 11 !elseif $(VCVERSION) > 1799 && $(VCVERSION) < 1900 VSVER = 12 -!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 2000 +!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 1910 VSVER = 14 +!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 2000 +VSVER = 15 !else VSVER = 0 !endif