postgresql/src/tools/msvc
Heikki Linnakangas 3b7cf43678 Turn install.bat into a pure one line wrapper fort he perl script.
Build.bat and vcregress.bat got similar treatment years ago. I'm not sure
why install.bat wasn't treated at the same time, but it seems like a good
idea anyway.

The immediate problem with the old install.bat was that it had quoting
issues, and wouldn't work if the target directory's name contained spaces.
This fixes that problem.

I committed this to master yesterday, this is a backpatch of the same for
all supported versions.
2015-07-07 16:38:24 +03:00
..
.gitignore Ignore config.pl and buildenv.pl in src/tools/msvc. 2014-05-12 14:24:37 -04:00
build.bat Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
build.pl Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
builddoc.bat Convert builddoc.bat into a perl script that actually works. 2011-05-25 00:21:07 -04:00
builddoc.pl Convert builddoc.bat into a perl script that actually works. 2011-05-25 00:21:07 -04:00
clean.bat Make handling of errcodes.h more consistent with other generated headers. 2011-02-04 09:29:10 -05:00
config_default.pl Fix typo 2011-04-19 22:00:35 +03:00
ecpg_regression.proj Adding special command line option that is now needed for the one ecpg regression test that was changed. 2010-03-21 14:26:58 +00:00
gendef.pl Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
install.bat Turn install.bat into a pure one line wrapper fort he perl script. 2015-07-07 16:38:24 +03:00
install.pl Turn install.bat into a pure one line wrapper fort he perl script. 2015-07-07 16:38:24 +03:00
Install.pm Properly install ecpg_compat and pgtypes libraries on msvc 2013-01-09 17:34:18 +01:00
mkvcbuild.pl Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
Mkvcbuild.pm Revert error-throwing wrappers for the printf family of functions. 2015-05-19 18:18:16 -04:00
pgbison.bat Back-patch Fix bat file quoting of %ENV from commit 19b7fac8. 2011-07-04 10:44:07 -04:00
pgflex.bat Back-patch Fix bat file quoting of %ENV from commit 19b7fac8. 2011-07-04 10:44:07 -04:00
Project.pm Disable RandomizeBaseAddress on MSVC builds 2014-03-16 11:46:20 +01:00
README Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
Solution.pm Update MSVC toolchain to match SGML entity uppercasing 2011-04-04 16:43:15 -04:00
vcregress.bat Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
vcregress.pl Recognize Makefile line continuations in fetchRegressOpts(). 2014-12-18 03:57:48 -05:00

src/tools/msvc/README

MSVC build
==========

This directory contains the tools required to build PostgreSQL using
Microsoft Visual Studio 2005. This builds the whole backend, not just
the libpq frontend library. For more information, see the documentation
chapter "Installation on Windows".


Notes about code indention
--------------------------
If the perl code is modified, use perltidy on it since pgindent won't
touch perl code. Use the following commandline:
perltidy -b -bl -nsfs -naws -l=100 -ole=unix *.pl *.pm

Notes about Visual Studio Express
---------------------------------
To build PostgreSQL using Visual Studio Express, the Platform SDK
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 the latest Platform SDK from
www.microsoft.com.

Locate the files vcprojectengine.dll.express.config and
vcprojectengine.dll.config in the vc\vcpackages directory of
the Visual C++ Express installation. In these files, add the paths
to the Platform SDK to the Include, Library and Path tags. Be sure
to add them to the beginning of the list.

This should work for both GUI and commandline builds, but a restart
may be necessary.