diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-11-19 17:17:12 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-11-19 17:17:12 +0100 |
commit | dda39aeafc94484e7d209d7bdfd2fc403b7383f5 (patch) | |
tree | 015c28248234dfd5b66a9981bc1ac453cdb1bf8b /src/Make_mvc.mak | |
parent | ca8b8d6956dd881de6446fc32c38e817a364a6cc (diff) |
patch 8.0.0093v8.0.0093
Problem: Not using multiprocess build feature.
Solution: Enable multiprocess build with MSVC 10. (Ken Takata)
Diffstat (limited to 'src/Make_mvc.mak')
-rw-r--r-- | src/Make_mvc.mak | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak index 435f56dd0d..5160aebd7b 100644 --- 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" |