summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2009-07-27 07:11:15 +0000
committerMagnus Hagander2009-07-27 07:11:15 +0000
commit952c5df552d2f7548504d10e5c9651c8a2b125c1 (patch)
treea6a801896dacea132390fa24b25b3393bed18e14
parentbd24c2f8fe750ea8e32f6a4470c5f382a8106f6b (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.pm1
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}\\"