diff options
author | Bjorn Munch <bjorn.munch@oracle.com> | 2011-05-25 12:39:11 +0200 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2011-05-25 12:39:11 +0200 |
commit | 73d1992ef420e11d3b7e4ff95d856c52e7fcebb8 (patch) | |
tree | 6e877ecd8fef366212e23f9276d7314443587cab /cmake | |
parent | e57de95f41bc1822286b5d6518fa1777fbc41caf (diff) | |
download | mariadb-git-73d1992ef420e11d3b7e4ff95d856c52e7fcebb8.tar.gz |
Bug #12586211 ENABLE GCOV BUILDS WITH CMAKE, INCLUDING PLUGINS
Added --with-gcov option to configure.pl and use that from SETUP.sh
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/configure.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/configure.pl b/cmake/configure.pl index b24afa034c7..bf872264953 100644 --- a/cmake/configure.pl +++ b/cmake/configure.pl @@ -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; |