Bug #12586211 ENABLE GCOV BUILDS WITH CMAKE, INCLUDING PLUGINS

Added --with-gcov option to configure.pl and use that from SETUP.sh
This commit is contained in:
Bjorn Munch
2011-05-25 12:39:11 +02:00
parent e57de95f41
commit 73d1992ef4
2 changed files with 7 additions and 2 deletions

View File

@ -190,6 +190,11 @@ foreach my $option (@ARGV)
$cmakeargs = $cmakeargs." \"-DWITH_COMMENT=".substr($option,13)."\"";
next;
}
if ($option =~ /with-gcov/)
{
$cmakeargs = $cmakeargs." -DENABLE_GCOV=ON";
next;
}
$option = uc($option);
$option =~ s/-/_/g;