source: box/trunk/infrastructure/msvc/fake-config.sub.pl @ 2925

Revision 2925, 348 bytes checked in by chris, 13 months ago (diff)

Substitute variables in boxbackup.mpi.in to build a valid InstallJammer?
config file for use with MSVC.

Line 
1#!perl
2
3use strict;
4use warnings;
5use Cwd;
6
7require "infrastructure\\BoxPlatform.pm.in";
8my $wd = getcwd();
9my $dummy = $BoxPlatform::product_version;
10
11while(<>)
12{
13        s|\@build_dir@|$wd|;
14        s|\@client_parcel_dir@|$wd/Debug|;
15        s|\@box_version@|$BoxPlatform::product_version|;
16        m|[^@](@[^@]+@)| and die "Unknown variable: $1";
17        print;
18}
Note: See TracBrowser for help on using the repository browser.