-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Description
The coverage methods fail in cmake 3.31 due to policy CMP0175
All add_custom_command calls like
add_custom_command(
TARGET ${Coverage_NAME}
POST_BUILD
COMMAND ;
COMMENT "Cobertura code coverage report saved in ${Coverage_NAME}.xml.")
endfunction() # setup_target_for_coverage_gcovr_xmlgenerate an error of the form
At least one COMMAND must be given.
These custom commands which seem to be for comment only should be integrated into the TARGET through separate commands or the comment made into a command.
szhorvat
Metadata
Metadata
Assignees
Labels
No labels