We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building TypeART with ninja works but executing the (lcov) coverage targets fails (e.g., lcov-make).
lcov-make
Most likely this behavior comes from differences between make and ninja w.r.t. commands in add_custom_target, see https://gitlab.kitware.com/cmake/cmake/-/issues/21778
add_custom_target
The respective targets have to be re-worked for ninja-compat.
Ninja doesn't like the lcov-make target, in particular, both the fragments --no-extenal and -b ${CMAKE_SOURCE_DIR}. What seems to work is:
--no-extenal
-b ${CMAKE_SOURCE_DIR}
add_custom_target( lcov-make COMMAND ${LCOV_COMMAND} ${GCOV_TOOL} ${GCOV_WORKAROUND} -c -d ${CMAKE_BINARY_DIR} -o typeart.coverage COMMAND ${LCOV_COMMAND} --remove typeart.coverage '${CMAKE_BINARY_DIR}/*' -o typeart.coverage # need to remove externals: COMMAND ${LCOV_COMMAND} --remove typeart.coverage '/usr/*' -o typeart.coverage COMMAND ${LCOV_COMMAND} --remove typeart.coverage '*/llvm/*' -o typeart.coverage )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Building TypeART with ninja works but executing the (lcov) coverage targets fails (e.g.,
lcov-make
).Most likely this behavior comes from differences between make and ninja w.r.t. commands in
add_custom_target
, see https://gitlab.kitware.com/cmake/cmake/-/issues/21778The respective targets have to be re-worked for ninja-compat.
Update
Ninja doesn't like the
lcov-make
target, in particular, both the fragments--no-extenal
and-b ${CMAKE_SOURCE_DIR}
.What seems to work is:
The text was updated successfully, but these errors were encountered: