diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-07-02 14:02:33 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-07-02 14:02:33 +0900 |
commit | 2b1394fc2b52a2573d08aa626e7b49568f27464e (patch) | |
tree | 9dcc3273fe7bdf1e05d07e3b1397e103436fae40 /src/tools/msvc/README | |
parent | 9adda24543e354317abf5400d7e7d3961a93bce6 (diff) | |
download | postgresql-2b1394fc2b52a2573d08aa626e7b49568f27464e.tar.gz |
Add support for Visual Studio 2019 in build scripts
This fixes at the same time a set of inconsistencies in the
documentation and the scripts related to the versions of Windows SDK
supported.
Author: Haribabu Kommi
Reviewed-by: Andrew Dunstan, Juan José SantamarÃa Flecha, Michael
Paquier
Discussion: https://postgr.es/m/CAJrrPGcfqXhfPyMrny9apoDU7M1t59dzVAvoJ9AeAh5BJi+UzA@mail.gmail.com
Diffstat (limited to 'src/tools/msvc/README')
-rw-r--r-- | src/tools/msvc/README | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/msvc/README b/src/tools/msvc/README index 4ab81d3402..d22fff331d 100644 --- a/src/tools/msvc/README +++ b/src/tools/msvc/README @@ -4,7 +4,7 @@ MSVC build ========== This directory contains the tools required to build PostgreSQL using -Microsoft Visual Studio 2013 - 2017. This builds the whole backend, not just +Microsoft Visual Studio 2013 - 2019. This builds the whole backend, not just the libpq frontend library. For more information, see the documentation chapter "Installation on Windows" and the description below. @@ -16,7 +16,7 @@ has to be installed. Since this is not included in the product originally, extra steps are needed to make it work. First, download and install a supported version of the Microsoft Windows SDK -from www.microsoft.com (v6.0 or greater). +from www.microsoft.com (v8.1a or greater). Locate the files vcprojectengine.dll.express.config and vcprojectengine.dll.config in the vc\vcpackages directory of @@ -88,11 +88,11 @@ config_default.pl to create the configuration arguments. These configuration arguments are passed over to Mkvcbuild::mkvcbuild (Mkvcbuild.pm) which creates the Visual Studio project and solution files. It does this by using VSObjectFactory::CreateSolution to create an object -implementing the Solution interface (this could be either a VS2013Solution, -or a VS2015Solution or a VS2017Solution, all in Solution.pm, depending on -the user's build environment) and adding objects implementing the corresponding -Project interface (VC2013Project or VC2015Project or VC2017Project from -MSBuildProject.pm) to it. +implementing the Solution interface (this could be either VS2013Solution, +VS2015Solution, VS2017Solution or VS2019Solution, all in Solution.pm, +depending on the user's build environment) and adding objects implementing +the corresponding Project interface (VC2013Project, VC2015Project, +VC2017Project or VC2019Project from MSBuildProject.pm) to it. When Solution::Save is called, the implementations of Solution and Project save their content in the appropriate format. The final step of starting the appropriate build program (msbuild) is |