msvc/detectenv-msvc.mak: Accomdate Visual Studio 2019
This adds detection logic for Visual Studio 2019.
This commit is contained in:
parent
f277af5bd8
commit
3e92891d8c
|
@ -89,8 +89,10 @@ VSVER = 11
|
||||||
VSVER = 12
|
VSVER = 12
|
||||||
!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 1910
|
!elseif $(VCVERSION) > 1899 && $(VCVERSION) < 1910
|
||||||
VSVER = 14
|
VSVER = 14
|
||||||
!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 2000
|
!elseif $(VCVERSION) > 1909 && $(VCVERSION) < 1920
|
||||||
VSVER = 15
|
VSVER = 15
|
||||||
|
!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 2000
|
||||||
|
VSVER = 16
|
||||||
!else
|
!else
|
||||||
VSVER = 0
|
VSVER = 0
|
||||||
!endif
|
!endif
|
||||||
|
@ -98,7 +100,7 @@ VSVER = 0
|
||||||
!if "$(VSVER)" == "0"
|
!if "$(VSVER)" == "0"
|
||||||
MSG = ^
|
MSG = ^
|
||||||
This NMake Makefile set supports Visual Studio^
|
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.
|
version is not supported.
|
||||||
!error $(MSG)
|
!error $(MSG)
|
||||||
!elseif $(VSVER) < 15
|
!elseif $(VSVER) < 15
|
||||||
|
|
Loading…
Reference in New Issue