]> granicus.if.org Git - postgresql/commitdiff
Build the walreceiver library on MSVC as well.
authorMagnus Hagander <magnus@hagander.net>
Sat, 16 Jan 2010 11:55:38 +0000 (11:55 +0000)
committerMagnus Hagander <magnus@hagander.net>
Sat, 16 Jan 2010 11:55:38 +0000 (11:55 +0000)
src/tools/msvc/Mkvcbuild.pm

index 3b87179a5d5e5066f89dcc56c83fe20bc2aa8c62..984155d3a352bb2d0dbaf647a13b08ecaebcda08 100644 (file)
@@ -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');