diff --git a/Modules/CTestCoverageCollectGCOV.cmake b/Modules/CTestCoverageCollectGCOV.cmake index 0b4f3746c3..a4ca03a2ee 100644 --- a/Modules/CTestCoverageCollectGCOV.cmake +++ b/Modules/CTestCoverageCollectGCOV.cmake @@ -7,10 +7,10 @@ CTestCoverageCollectGCOV .. versionadded:: 3.2 -This module provides the ``ctest_coverage_collect_gcov`` function. +This module provides the ``ctest_coverage_collect_gcov()`` function. -This function runs gcov on all .gcda files found in the binary tree -and packages the resulting .gcov files into a tar file. +This function runs ``gcov`` on all ``.gcda`` files found in the binary tree +and packages the resulting ``.gcov`` files into a tar file. This tarball also contains the following: * *data.json* defines the source and build directories for use by CDash. @@ -26,13 +26,19 @@ After generating this tar file, it can be sent to CDash for display with the .. code-block:: cmake - ctest_coverage_collect_gcov(TARBALL - [SOURCE ][BUILD ] + ctest_coverage_collect_gcov( + TARBALL + [TARBALL_COMPRESSION