diff options
author | Magnus Hagander | 2009-07-27 07:11:15 +0000 |
---|---|---|
committer | Magnus Hagander | 2009-07-27 07:11:15 +0000 |
commit | 952c5df552d2f7548504d10e5c9651c8a2b125c1 (patch) | |
tree | a6a801896dacea132390fa24b25b3393bed18e14 | |
parent | bd24c2f8fe750ea8e32f6a4470c5f382a8106f6b (diff) |
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.
-rw-r--r-- | src/tools/msvc/Project.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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 <<EOF; AssemblerOutput="0" AssemblerListingLocation=".\\$cfgname\\$self->{name}\\" ObjectFile=".\\$cfgname\\$self->{name}\\" |