From: Magnus Hagander Date: Sat, 16 Jan 2010 11:55:38 +0000 (+0000) Subject: Build the walreceiver library on MSVC as well. X-Git-Tag: REL9_0_ALPHA4~242 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40b91b3a8ddf4a7742051ee384ac94b30d8136c9;p=postgresql Build the walreceiver library on MSVC as well. --- diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm index 3b87179a5d..984155d3a3 100644 --- a/src/tools/msvc/Mkvcbuild.pm +++ b/src/tools/msvc/Mkvcbuild.pm @@ -3,7 +3,7 @@ package Mkvcbuild; # # Package that generates build files for msvc build # -# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.46 2010/01/11 14:16:18 adunstan Exp $ +# $PostgreSQL: pgsql/src/tools/msvc/Mkvcbuild.pm,v 1.47 2010/01/16 11:55:38 mha Exp $ # use Carp; use Win32; @@ -175,6 +175,10 @@ sub mkvcbuild $libpq->ReplaceFile('src\interfaces\libpq\libpqrc.c','src\interfaces\libpq\libpq.rc'); $libpq->AddReference($libpgport); + my $walreceiver = $solution->AddProject('walreceiver', 'dll', '', 'src\backend\replication\walreceiver'); + $walreceiver->AddIncludeDir('src\interfaces\libpq'); + $walreceiver->AddReference($postgres,$libpq); + my $pgtypes = $solution->AddProject('libpgtypes','dll','interfaces','src\interfaces\ecpg\pgtypeslib'); $pgtypes->AddDefine('FRONTEND');