Skip to content

Conversation

suurjaak
Copy link

With regard to issue #30.

To use Clang coverage tools (llvm-cov), user will need to specify:

APPEND_COVERAGE_COMPILER_FLAGS(COMPILER clang)

Existing workflows remain the same as they were, no arguments to function:

APPEND_COVERAGE_COMPILER_FLAGS()

CMAKE_EXE_LINKER_FLAGS_COVERAGE
CMAKE_SHARED_LINKER_FLAGS_COVERAGE )

set(GCOV_TOOL "${CMAKE_CURRENT_LIST_DIR}/../../../../lib/code_coverage/llvm-gcov.sh")
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not pretty, but I'm not sure how would be better. Basing it off ROS_ROOT, which is along the lines of /opt/ros/noetic/share/ros?

@suurjaak suurjaak mentioned this pull request Sep 29, 2021
@suurjaak
Copy link
Author

@mikeferguson Any comments?

@suurjaak
Copy link
Author

@mikeferguson Helloooo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant