postgresql/src/tools/msvc
Andrew Dunstan 8c3604ae7f Convert builddoc.bat into a perl script that actually works.
The old .bat file wasn't working for reasons that are unclear, and
which it did not seem worth the trouble to ascertain.
The new perl script has been tested and is known to work.
Soon it will be tested regularly on the buildfarm.
The .bat file is kept as a simple wrapper for the perl script.
2011-05-25 00:21:07 -04:00
..
build.bat
build.pl
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
config_default.pl
ecpg_regression.proj
gendef.pl
install.bat Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
install.pl
Install.pm
mkvcbuild.pl
Mkvcbuild.pm Remove spurious underscore in name of isolation tester on MSVC. 2011-05-22 21:51:18 -04:00
pgbison.bat
pgflex.bat
Project.pm
README
Solution.pm
vcregress.bat
vcregress.pl Remove spurious underscore in name of isolation tester on MSVC. 2011-05-22 21:51:18 -04: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.