git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aac3c30)
Enable the use of multiple CPUs/cores when building on MSVC. This only
2009年7月27日 07:11:15 +0000 (07:11 +0000)
2009年7月27日 07:11:15 +0000 (07:11 +0000)
affects the C compiler step - we still only build one target at a
time.


diff --git a/src/tools/msvc/Project.pm b/src/tools/msvc/Project.pm
index 385b757ed72162b2cfe4bf999117a3e2ca288b12..53b55cd59139c9f9d3b8072c5a3e66f39c03f8d5 100644 (file)
--- 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.20 2009年07月27日 07:11:15 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}\\"
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /