Get CMake version and display it.

This commit is contained in:
Laurent Rineau 2008-11-03 00:29:55 +00:00
parent 5175f3c926
commit 7908c72f86
2 changed files with 8 additions and 3 deletions

View File

@ -324,6 +324,7 @@ sub print_platform_descriptions()
<th class="warning">w</th>
<th class="error">n</th>
<th class="requirements">r</th>
<th>CMake</th>
<th>BOOST</th>
<th>MPFR</th>
<th>GMP</th>
@ -362,7 +363,7 @@ EOF
my $countn = $testresults[$platform_num]->{"n"};
my $countr = $testresults[$platform_num]->{"r"};
my $index = 12;
my $index = 13;
my @tmp;
while ($index) {
$index--;
@ -382,7 +383,7 @@ EOF
print OUTPUT "<td>$countw</td>\n";
print OUTPUT "<td>$countn</td>\n";
print OUTPUT "<td>$countr</td>\n";
$index = 12;
$index = 13;
while ($index) {
$index--;
$_ = $tmp[$index];

View File

@ -41,7 +41,7 @@ sub reformat_results($)
$_ = $line;
open (PLATFORM_INFO,">${platform}.info") or return;
open (PLATFORM_NEW_RESULTS,">${platform}.new_results") or return;
my ($CGAL_VERSION,$LEDA_VERSION,$TESTER,$TESTER_NAME,$TESTER_ADDRESS,$GMP,$MPFR,$ZLIB,$BLAS,$LAPACK,$OPENGL,$TAUCS,$BOOST,$QT,$QT4) = ("-","-","-","-","-","-","-","-","-","-","-","-","-","-");
my ($CGAL_VERSION,$LEDA_VERSION,$TESTER,$TESTER_NAME,$TESTER_ADDRESS,$GMP,$MPFR,$ZLIB,$BLAS,$LAPACK,$OPENGL,$TAUCS,$BOOST,$QT,$QT4,$CMAKE) = ("-","-","-","-","-","-","-","-","-","-","-","-","-","-","no");
my ($LDFLAGS,$CXXFLAGS) = ("", "");
while (! /^------/) {
if(/^\s*$/) {
@ -50,6 +50,9 @@ sub reformat_results($)
if(/^-- USING /) {
$use_cmake = 1;
}
if(/^-- USING CMake version: ([\w\.-]+)/) {
$CMAKE = $1;
}
if (/^CGAL_VERSION\s+([\w\.-]+)/) {
$CGAL_VERSION = $1;
}
@ -139,6 +142,7 @@ $CGAL_VERSION
$TESTER
$TESTER_NAME
$TESTER_ADDRESS
$CMAKE
$BOOST
$MPFR
$GMP