summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2004-01-25 10:56:33 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2004-01-25 10:56:33 +0000
commit186ffb1499eec612c9dc1eb27ce6854a20eba071 (patch)
tree2fa0485d390f7bb5808de32f3da194e4ba426344
parentae42b928410c5f6c8b9424424f99395ac166288d (diff)
downloadATCD-186ffb1499eec612c9dc1eb27ce6854a20eba071.tar.gz
ChangeLogTag: Sun Jan 25 10:49:21 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
-rwxr-xr-xbin/msvc_static_compile.pl28
1 files changed, 4 insertions, 24 deletions
diff --git a/bin/msvc_static_compile.pl b/bin/msvc_static_compile.pl
index 630741038e6..e9c5d545269 100755
--- a/bin/msvc_static_compile.pl
+++ b/bin/msvc_static_compile.pl
@@ -34,7 +34,6 @@ $debug = 0;
$verbose = 0;
$print_status = 0;
$Ignore_errors = 0; # By default, bail out if an error occurs.
-$Use_MPC = 0;
$Build_LIB = 0;
$Build_Debug = 0;
$Build_Release = 0;
@@ -174,10 +173,8 @@ sub Build_All ()
foreach $c (@configurations) {
if ($Build_All
- || ($Build_LIB && $Use_MPC == 0 && $Build_Debug && $c =~ /Win32 Static Debug/)
- || ($Build_LIB && $Use_MPC == 0 && $Build_Release && $c =~ /Win32 Static Release/)
- || ($Build_LIB && $Use_MPC == 1 && $Build_Debug && $c =~ /Win32 Debug/)
- || ($Build_LIB && $Use_MPC == 1 && $Build_Release && $c =~ /Win32 Release/))
+ || ($Build_LIB && $Build_Debug && $c =~ /Win32 Debug/)
+ || ($Build_LIB && $Build_Release && $c =~ /Win32 Release/))
{
my $Status = 0;
$Status = Build_Config ($c)
@@ -194,10 +191,8 @@ sub Build_All ()
foreach $c (@configurations) {
print STDERR "Configuration ".$count++." of ".$#configurations."\n" if ($print_status == 1);
Build_Config ($c)
- if (($Build_LIB && $Use_MPC == 0 && $Build_Debug && $c =~ /Win32 Static Debug/)
- || ($Build_LIB && $Use_MPC == 0 && $Build_Release && $c =~ /Win32 Static Release/)
- || ($Build_LIB && $Use_MPC == 1 && $Build_Debug && $c =~ /Win32 Debug/)
- || ($Build_LIB && $Use_MPC == 1 && $Build_Release && $c =~ /Win32 Release/));
+ if (($Build_LIB && $Build_Debug && $c =~ /Win32 Debug/)
+ || ($Build_LIB && $Build_Release && $c =~ /Win32 Release/));
}
}
@@ -239,16 +234,6 @@ while ( $#ARGV >= 0 && $ARGV[0] =~ /^(-|\/)/ )
push @directories, ("$ACE_ROOT\\TAO\\orbsvcs\\tests\\Notify\\lib");
push @directories, ("$ACE_ROOT\\TAO");
}
- elsif ($ARGV[0] =~ '-tests_TAO') { # Build TAO tests
- print "Building TAO tests\n" if ( $verbose );
- $use_custom_dir = 1;
- push @directories, ("$ACE_ROOT\\TAO\\tests");
- }
- elsif ($ARGV[0] =~ '-examples_TAO') { # Build TAO examples
- print "Building TAO examples\n" if ( $verbose );
- $use_custom_dir = 1;
- push @directories, ("$ACE_ROOT\\TAO\\examples");
- }
elsif ($ARGV[0] =~ '-dir') { # Compile only a specific directory
shift;
print "Adding directory $ARGV[0]\n" if ( $verbose );
@@ -278,10 +263,6 @@ while ( $#ARGV >= 0 && $ARGV[0] =~ /^(-|\/)/ )
$Build_LIB = 1;
$Build_All = 0;
}
- elsif ($ARGV[0] =~ '-MPC') { # Use MPC
- print "Use MPC generated files\n" if ( $verbose );
- $Use_MPC = 1;
- }
elsif ($ARGV[0] =~ '-(\?|h)') { # Help information
print "Options\n";
print "-d = Debug (only print out projects)\n";
@@ -300,7 +281,6 @@ while ( $#ARGV >= 0 && $ARGV[0] =~ /^(-|\/)/ )
print "-Debug = Compile Debug versions\n";
print "-Release = Compile Release versions\n";
print "-LIB = Comple LIB Configurations\n";
- print "-MPC = Use MPC generate project files\n";
exit;
}
else {