~ubuntu-branches/ubuntu/natty/postgresql-8.4/natty-updates

« back to all changes in this revision

Viewing changes to src/tools/msvc/mkvcbuild.pl

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Script that parses Unix style build environment and generates build files
 
3
# for building with Visual Studio.
 
4
#
 
5
# $PostgreSQL$
 
6
#
 
7
use strict;
 
8
use warnings;
 
9
 
 
10
use Mkvcbuild;
 
11
 
 
12
chdir('..\..\..') if (-d '..\msvc' && -d '..\..\..\src');
 
13
die 'Must run from root or msvc directory' unless (-d 'src\tools\msvc' && -d 'src');
 
14
 
 
15
die 'Could not find config.pl' unless (-f 'src/tools/msvc/config.pl');
 
16
 
 
17
our $config;
 
18
require 'src/tools/msvc/config.pl';
 
19
 
 
20
Mkvcbuild::mkvcbuild($config);