mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.4.078
Problem: MSVC 2013 is not supported. Solution: Recognize and support MSVC 2013. (Ed Brown)
This commit is contained in:
parent
03e228a623
commit
e5878f4be9
@ -424,6 +424,9 @@ MSVCVER = 11.0
|
|||||||
!if "$(_NMAKE_VER)" == "11.00.60610.1"
|
!if "$(_NMAKE_VER)" == "11.00.60610.1"
|
||||||
MSVCVER = 11.0
|
MSVCVER = 11.0
|
||||||
!endif
|
!endif
|
||||||
|
!if "$(_NMAKE_VER)" == "12.00.21005.1"
|
||||||
|
MSVCVER = 12.0
|
||||||
|
!endif
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
# Abort building VIM if version of VC is unrecognised.
|
# Abort building VIM if version of VC is unrecognised.
|
||||||
@ -438,7 +441,7 @@ MSVCVER = 11.0
|
|||||||
!endif
|
!endif
|
||||||
|
|
||||||
# Convert processor ID to MVC-compatible number
|
# Convert processor ID to MVC-compatible number
|
||||||
!if ("$(MSVCVER)" != "8.0") && ("$(MSVCVER)" != "9.0") && ("$(MSVCVER)" != "10.0") && ("$(MSVCVER)" != "11.0")
|
!if ("$(MSVCVER)" != "8.0") && ("$(MSVCVER)" != "9.0") && ("$(MSVCVER)" != "10.0") && ("$(MSVCVER)" != "11.0") && ("$(MSVCVER)" != "12.0")
|
||||||
!if "$(CPUNR)" == "i386"
|
!if "$(CPUNR)" == "i386"
|
||||||
CPUARG = /G3
|
CPUARG = /G3
|
||||||
!elseif "$(CPUNR)" == "i486"
|
!elseif "$(CPUNR)" == "i486"
|
||||||
@ -472,7 +475,7 @@ OPTFLAG = /O2
|
|||||||
OPTFLAG = /Ox
|
OPTFLAG = /Ox
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0")
|
!if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0") || ("$(MSVCVER)" == "12.0")
|
||||||
# Use link time code generation if not worried about size
|
# Use link time code generation if not worried about size
|
||||||
!if "$(OPTIMIZE)" != "SPACE"
|
!if "$(OPTIMIZE)" != "SPACE"
|
||||||
OPTFLAG = $(OPTFLAG) /GL
|
OPTFLAG = $(OPTFLAG) /GL
|
||||||
@ -485,7 +488,7 @@ CFLAGS=$(CFLAGS) $(WP64CHECK)
|
|||||||
!endif
|
!endif
|
||||||
|
|
||||||
# Static code analysis generally available starting with VS2012
|
# Static code analysis generally available starting with VS2012
|
||||||
!if ("$(ANALYZE)" == "yes") && ("$(MSVCVER)" == "11.0")
|
!if ("$(ANALYZE)" == "yes") && ("$(MSVCVER)" == "11.0") && ("$(MSVCVER)" == "12.0")
|
||||||
CFLAGS=$(CFLAGS) /analyze
|
CFLAGS=$(CFLAGS) /analyze
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
@ -943,7 +946,7 @@ LINKARGS2 = $(CON_LIB) $(GUI_LIB) $(LIBC) $(OLE_LIB) user32.lib $(SNIFF_LIB) \
|
|||||||
|
|
||||||
# Report link time code generation progress if used.
|
# Report link time code generation progress if used.
|
||||||
!ifdef NODEBUG
|
!ifdef NODEBUG
|
||||||
!if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0")
|
!if ("$(MSVCVER)" == "8.0") || ("$(MSVCVER)" == "9.0") || ("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0") || ("$(MSVCVER)" == "12.0")
|
||||||
!if "$(OPTIMIZE)" != "SPACE"
|
!if "$(OPTIMIZE)" != "SPACE"
|
||||||
LINKARGS1 = $(LINKARGS1) /LTCG:STATUS
|
LINKARGS1 = $(LINKARGS1) /LTCG:STATUS
|
||||||
!endif
|
!endif
|
||||||
|
@ -738,6 +738,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
78,
|
||||||
/**/
|
/**/
|
||||||
77,
|
77,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user