Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit220e36c

Browse files
committed
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 atime.
1 parentaac3c30 commit220e36c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/tools/msvc/Project.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Project;
33
#
44
# Package that encapsulates a Visual C++ project file generation
55
#
6-
# $PostgreSQL: pgsql/src/tools/msvc/Project.pm,v 1.19 2008/04/15 16:22:36 adunstan Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Project.pm,v 1.20 2009/07/27 07:11:15 mha Exp $
77
#
88
use Carp;
99
use strict;
@@ -501,6 +501,7 @@ sub WriteConfiguration
501501
PreprocessorDefinitions="WIN32;_WINDOWS;__WINDOWS__;__WIN32__;EXEC_BACKEND;WIN32_STACK_RLIMIT=4194304;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE$self->{defines}$p->{defs}"
502502
StringPooling="$p->{strpool}"
503503
RuntimeLibrary="$p->{runtime}" DisableSpecificWarnings="$self->{disablewarnings}"
504+
AdditionalOptions="/MP"
504505
EOF
505506
print$f<<EOF;
506507
AssemblerOutput="0" AssemblerListingLocation=".\\$cfgname\\$self->{name}\\" ObjectFile=".\\$cfgname\\$self->{name}\\"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp