]> granicus.if.org Git - postgresql/blob - src/tools/msvc/mkvcbuild.pl
Turn most vc build scripts into modules instead of scripts, and just have
[postgresql] / src / tools / msvc / mkvcbuild.pl
1 use strict;
2 use warnings;
3
4 use Mkvcbuild;
5
6 chdir('..\..\..') if (-d '..\msvc' && -d '..\..\..\src');
7 die 'Must run from root or msvc directory' unless (-d 'src\tools\msvc' && -d 'src');
8
9 die 'Could not find config.pl' unless (-f 'src/tools/msvc/config.pl');
10
11 our $config;
12 require 'src/tools/msvc/config.pl';
13
14 Mkvcbuild::mkvcbuild($config);