]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: add `CURL_CODE_COVERAGE` option
authorViktor Szakats <commit@vsz.me>
Wed, 3 Sep 2025 12:32:29 +0000 (14:32 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 19 Sep 2025 23:28:35 +0000 (01:28 +0200)
commit91720b620e802748d2e1629f43e29b76736542f9
tree9b6811002db64e2377bcac2361ed2763f46e0ed8
parentdc3f4fd89b7700a920597630d43e6c2702c6cc46
cmake: add `CURL_CODE_COVERAGE` option

To sync up with the `--enable-code-coverage` `./configure` option.

Ref: https://gcc.gnu.org/onlinedocs/gcc/Invoking-Gcov.html
Ref: https://gcc.gnu.org/onlinedocs/gcc/Cross-profiling.html
Ref: https://clang.llvm.org/docs/SourceBasedCodeCoverage.html

Closes #18468
CMakeLists.txt
docs/INSTALL-CMAKE.md
lib/CMakeLists.txt
src/CMakeLists.txt