diff options
Diffstat (limited to 'bin/msvc_auto_compile.pl')
-rwxr-xr-x | bin/msvc_auto_compile.pl | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/bin/msvc_auto_compile.pl b/bin/msvc_auto_compile.pl index 706aee2d707..a161d3910c7 100755 --- a/bin/msvc_auto_compile.pl +++ b/bin/msvc_auto_compile.pl @@ -215,7 +215,7 @@ sub Build_All () { my $Status = 0; $Status = Build_Config ($c) - if (($c =~ /Library/) || ($c =~ / DLL /) || ($c =~ / LIB /)); + if (($c =~ /Library/) || ($c =~ /DLL/) || ($c =~ /LIB/)); return if ($Status != 0 && !$Ignore_errors); } } @@ -227,11 +227,16 @@ sub Build_All () $count = 0; foreach $c (@configurations) { print STDERR "Configuration ".$count++." of ".$#configurations."\n" if ($print_status == 1); - Build_Config ($c) - if (($Build_DLL && $Build_Debug && $c =~ /Win32 Debug/) - || ($Build_DLL && $Build_Release && $c =~ /Win32 Release/) - || ($Build_LIB && $Build_Debug && $c =~ /Win32 Static Debug/) - || ($Build_LIB && $Build_Release && $c =~ /Win32 Static Release/)); + if (($Build_DLL && $Build_Debug && $c =~ /Win32 Debug/) + || ($Build_DLL && $Build_Release && $c =~ /Win32 Release/) + || ($Build_LIB && $Build_Debug && $c =~ /Win32 Static Debug/) + || ($Build_LIB && $Build_Release && $c =~ /Win32 Static Release/)) + { + my $Status = 0; + $Status = Build_Config ($c) + if (!(($c =~ /Library/) || ($c =~ /DLL/) || ($c =~ /LIB/))); + return if ($Status != 0 && !$Ignore_errors); + } } } |