summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2009-08-10 11:48:48 +0000
committerMagnus Hagander <magnus@hagander.net>2009-08-10 11:48:48 +0000
commit7dc5dcec59c6cc50b2beafbc3d4f57d97e041c5a (patch)
tree63603b9b0e79d118f01560da004dab29f8f0da7d /src
parent47cbad2d18ccae6e6c98db5aebb73b476af9ac69 (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.
Diffstat (limited to 'src')
-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 5578b61f768..fa466c79882 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 <<EOF;
AssemblerOutput="0" AssemblerListingLocation=".\\$cfgname\\$self->{name}\\" ObjectFile=".\\$cfgname\\$self->{name}\\"