CTEST_EXTRA_COVERAGE_GLOB
From Get docs
Cmake/docs/3.21/variable/ctest extra coverage glob
CTEST_EXTRA_COVERAGE_GLOB
New in version 3.4.
A list of regular expressions which will be used to find files which should be covered by the ctest_coverage() command.
It is initialized by ctest(1), but may be edited in a CTestCustom
file. See ctest_read_custom_files() documentation.
© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CTEST_EXTRA_COVERAGE_GLOB.html