Open gavanderhoorn opened 3 years ago
This worked for me
@gavanderhoorn Usually when I am using these they are done as part of building the unit tests which is why I put them as test_depends. Though I am not sure how ros tools decide to pull the test dependencies. I can add them as build depends
@gavanderhoorn Do you think all of these should also be added as build_depends?
<test_depend>lcov</test_depend>
<test_depend>libclang-dev</test_depend>
<test_depend>iwyu</test_depend>
<test_depend>cppcheck</test_depend>
@gavanderhoorn friendly ping
lcov
appears to only be listed as atest_depend
in the manifest:https://github.com/ros-industrial/ros_industrial_cmake_boilerplate/blob/25aabced08aff54720215abf2d2adbe42cc3ecf6/ros_industrial_cmake_boilerplate/package.xml#L15
this causes problems for downstream users if they depend on
ros_industrial_cmake_boilerplate
as part of their own build, aslcov
will not be installed at that point.I believe adding
<build_depend>lcov</build_depend>
would solve this, but haven't investigated everything closely enough to be absolutely sure.