Open phlptp opened 2 weeks ago
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_xml
generate 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.
The coverage methods fail in cmake 3.31 due to policy CMP0175
All add_custom_command calls like
generate 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.