Skip to content

Commit 9941045

Browse files
fanc999-1kjellahl
authored andcommitted
NMake Makefiles: Support Visual Studio 2019 better
Make Visual Studio 2019 builds distinct from 2017 builds. Note that for the libsigc++-2-10 branch, we do not distinguish between Visual Studio 2015, 2017 and 2019 in regards to the built DLL and .lib filenames, since they are found to be interchangeable.
1 parent 699072b commit 9941045

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

MSVC_NMake/detectenv-msvc.mak

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,18 @@ VSVER = 11
8989
VSVER = 12
9090
!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 1910
9191
VSVER = 14
92-
!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 2000
92+
!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 1920
9393
VSVER = 15
94+
!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 2000
95+
VSVER = 16
9496
!else
9597
VSVER = 0
9698
!endif
9799

98100
!if "$(VSVER)" == "0"
99101
MSG = ^
100102
This NMake Makefile set supports Visual Studio^
101-
9 (2008) through 15 (2017). Your Visual Studio^
103+
9 (2008) through 16 (2019). Your Visual Studio^
102104
version is not supported.
103105
!error $(MSG)
104106
!else

0 commit comments

Comments
 (0)