From 7dc5dcec59c6cc50b2beafbc3d4f57d97e041c5a Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Mon, 10 Aug 2009 11:48:48 +0000 Subject: [PATCH] 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. --- src/tools/msvc/Project.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/msvc/Project.pm b/src/tools/msvc/Project.pm index 5578b61f76..fa466c7988 100644 --- a/src/tools/msvc/Project.pm +++ b/src/tools/msvc/Project.pm @@ -374,6 +374,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 <