summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-22 22:10:23 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-22 22:10:23 +0000
commit14dc08b5ca9c4eb53e250dde5d216c98c8ceddbc (patch)
tree9466fc76afb983a1e6e848aa5b5d3ad690af8767 /bin
parente5044c5609a4f59ee337b8a11d5acb6ee7a91ca2 (diff)
downloadATCD-14dc08b5ca9c4eb53e250dde5d216c98c8ceddbc.tar.gz
*** empty log message ***
Diffstat (limited to 'bin')
-rwxr-xr-xbin/auto_compile_win32.pl14
1 files changed, 11 insertions, 3 deletions
diff --git a/bin/auto_compile_win32.pl b/bin/auto_compile_win32.pl
index eb280171699..71b9812d448 100755
--- a/bin/auto_compile_win32.pl
+++ b/bin/auto_compile_win32.pl
@@ -112,6 +112,7 @@ sub Build_Config
my $Project_Name = "";
my $Status = -1;
my $Cntr = 0;
+ my $Command_Line = "";
@Collection = split /:\s*/, $Collection;
for ($Cntr = 0; $Cntr < scalar (@Collection); $Cntr++)
@@ -122,16 +123,17 @@ sub Build_Config
$Bname =~ s/.*\/([^\/]*)/$1/;
($Project_File, $Project_Name) = split /,\s*/, $Bname;
chdir ("$ENV{ACE_ROOT}/$Project_Dir");
+ $Command_Line = "msdev.com $Project_File /MAKE \"$Project_Name - $Config\" /USEENV $Build_Cmd /Y3";
if ( $Debug == 0 )
{
$Status =
- system "msdev.com $Project_File /MAKE \"$Project_Name - $Config\" /USEENV /BUILD /Y3";
+ system "$Command_Line";
}
else
{
$Status = 0;
print "chdir (\"$ENV{ACE_ROOT}/$Project_Dir\");\n";
- print "$Status = msdev.com $Project_File /MAKE \"$Project_Name - $Config\"\n";
+ print "$Status = $Command_Line\n";
}
if ($Ignore_error == 0)
@@ -159,6 +161,7 @@ $Debug = 0;
$Ignore_error = 0; # By default, bail out if an error occurs.
$Build_DLL = 1;
$Build_LIB = 1;
+$Build_Cmd = "/BUILD";
@Lists = @Win32_Lists;
%DLL_Collections = %Win32_DLL_Collections;
%Lib_Collections = %Win32_Lib_Collections;
@@ -194,10 +197,15 @@ while ( $#ARGV >= 0 && $ARGV[0] =~ /^-/ )
print "Build LIB only" if ( $Verbose );
$Build_DLL = 0;
}
- elsif ($ARGV[0] eq '-v' ) # Verbose mode
+ elsif ( $ARGV[0] eq '-v' ) # Verbose mode
{
$Verbose = 1;
}
+ elsif ( $ARGV[0] eq '-r' ) # Rebuild all
+ {
+ print "Rebuild all\n" if ( $Verbose );
+ $Build_Cmd = "/REBUILD";
+ }
else
{
warn "$0: unknown option $ARGV[0]\n";