cmake-modules icon indicating copy to clipboard operation
cmake-modules copied to clipboard

CodeCoverage.cmake does not show the comments of the cutom_command

Open hippo91 opened this issue 2 years ago • 1 comments

Hi,

first of all thanks a lot for your work. It spares me a lot of time!

I'm using the CodeCoverage.cmake script and it works very well but the message associated with custom targets are not printed. I'm working with CMake version 3.22.1.

I solved this by replacing the comment with:

      COMMAND ${CMAKE_COMMAND} -E echo "Lcov code coverage info report saved in ${Coverage_NAME}.info."

Do you want a PR for this?

hippo91 avatar May 20 '22 07:05 hippo91

Can you please how to use this? for the user guide is not useful to a newer of CMake. Thanks!

Darwin-Li-001 avatar May 31 '22 06:05 Darwin-Li-001