From: Magnus Hagander Date: Mon, 27 Jul 2009 07:11:15 +0000 (+0000) Subject: Enable the use of multiple CPUs/cores when building on MSVC. This only X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=952c5df552d2f7548504d10e5c9651c8a2b125c1;p=users%2Fsimon%2Fpostgres.git Enable the use of multiple CPUs/cores when building on MSVC. This only affects the C compiler step - we still only build one target at a time. --- diff --git a/src/tools/msvc/Project.pm b/src/tools/msvc/Project.pm index 22beaf720f..4a7084d7e0 100644 --- a/src/tools/msvc/Project.pm +++ b/src/tools/msvc/Project.pm @@ -501,6 +501,7 @@ sub WriteConfiguration PreprocessorDefinitions="WIN32;_WINDOWS;__WINDOWS__;__WIN32__;EXEC_BACKEND;WIN32_STACK_RLIMIT=4194304;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE$self->{defines}$p->{defs}" StringPooling="$p->{strpool}" RuntimeLibrary="$p->{runtime}" DisableSpecificWarnings="$self->{disablewarnings}" + AdditionalOptions="/MP" EOF print $f <