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

Commit4fc6e2f

Browse files
committed
Teach MSVC build system about building foreign data wrappers.
Should fix recent buildfarm breakage.
1 parent6d79871 commit4fc6e2f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎src/tools/msvc/Mkvcbuild.pm

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package Mkvcbuild;
33
#
44
# Package that generates build files for msvc build
55
#
6-
# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.34 2008/12/02 10:39:31 mha Exp $
6+
# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.35 2008/12/20 22:04:02 mha Exp $
77
#
88
use Carp;
99
use Win32;
@@ -312,6 +312,15 @@ sub mkvcbuild
312312
$p->AddReference($postgres);
313313
}
314314

315+
$mf = Project::read_file('src\backend\foreign\Makefile');
316+
$mf =~s{\\s*[\r\n]+}{}mg;
317+
$mf =~m{FDW\s*=\s*(.*)$}m ||die'Could not match in foreign makefile' ."\n";
318+
foreachmy$foreign (split /\s+/,$1)
319+
{
320+
my$proj =$solution->AddProject($foreign .'_fdw','dll','foreign','src\backend\foreign\\' .$foreign);
321+
$proj->AddReference($postgres);
322+
}
323+
315324
$mf = Project::read_file('src\bin\scripts\Makefile');
316325
$mf =~s{\\s*[\r\n]+}{}mg;
317326
$mf =~m{PROGRAMS\s*=\s*(.*)$}m ||die'Could not match in bin\scripts\Makefile' ."\n";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp