Mercurial > vim
changeset 10398:2509ab895055 v8.0.0093
commit https://github.com/vim/vim/commit/dda39aeafc94484e7d209d7bdfd2fc403b7383f5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 19 17:17:12 2016 +0100
patch 8.0.0093
Problem: Not using multiprocess build feature.
Solution: Enable multiprocess build with MSVC 10. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 19 Nov 2016 17:30:04 +0100 |
parents | 91f658e6022f |
children | 1471410c04ae |
files | src/Make_mvc.mak src/version.c |
diffstat | 2 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -297,6 +297,9 @@ CPU = ix86 # Flag to turn on Win64 compatibility warnings for VC7.x and VC8. WP64CHECK = /Wp64 +# Use multiprocess build +USE_MP = yes + #>>>>> path of the compiler and linker; name of include and lib directories # PATH = c:\msvc20\bin;$(PATH) # INCLUDE = c:\msvc20\include @@ -473,6 +476,14 @@ NODEFAULTLIB = NODEFAULTLIB = /nodefaultlib !endif +# Use multiprocess build on MSVC 10 +!if "$(USE_MP)"=="yes" +!if $(MSVC_MAJOR) >= 10 +CFLAGS = $(CFLAGS) /MP +!endif +!endif + + !ifdef NODEBUG VIM = vim !if "$(OPTIMIZE)" == "SPACE"