postgres.git / summary / log / commit / refs
commit d9234b2bec02af22842214b2867e704071c009fa
Author: Magnus Hagander <magnus@hagander.net>
Date: Mon Aug 10 11:48:52 2009 +0000
First released in: 8.2.14, 8.3.8, 8.4.1
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 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/tools/msvc/Project.pm b/src/tools/msvc/Project.pm
index 385b757ed72..2e74d81ecd9 100644
--- a/src/tools/msvc/Project.pm
+++ b/src/tools/msvc/Project.pm
@@ -3,7 +3,7 @@ package Project;
#
# Package that encapsulates a Visual C++ project file generation
#
-# $PostgreSQL: pgsql/src/tools/msvc/Project.pm,v 1.19 2008/04/15 16:22:36 adunstan Exp $
+# $PostgreSQL: pgsql/src/tools/msvc/Project.pm,v 1.19.2.1 2009/08/10 11:48:52 mha Exp $
#
use Carp;
use strict;
@@ -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}\\"
[parent: a6fb8791b2ce]