mikeferguson / code_coverage

ROS package to run coverage testing
37 stars 25 forks source link

cmake cyclic dependency #42

Closed knorth55 closed 1 year ago

knorth55 commented 1 year ago

cmake tests now has cyclic dependency because of #36 , which causes build error.

_______________________________________________________________________________________________________________________________________
Errors     << robot_calibration:check /home/knorth55/gitai/coverage_ws/logs/robot_calibration/build.check.004.log
CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
  "tests" of type UTILITY
    depends on "robot_calibration_coverage_report_cleanup_cpp" (strong)
  "robot_calibration_coverage_report_cleanup_cpp" of type UTILITY
    depends on "tests" (strong)
At least one of these targets is not a STATIC_LIBRARY.  Cyclic dependencies are allowed only among static libraries.
CMake Generate step failed.  Build files cannot be regenerated correctly.
make: *** [Makefile:2972: cmake_check_build_system] Error 1
cd /home/knorth55/gitai/coverage_ws/build/robot_calibration; catkin build --get-env robot_calibration | catkin env -si  /usr/bin/make cmake_check_build_system; cd -

.......................................................................................................................................
Failed     << robot_calibration:check               [ Exited with code 2 ]
Failed    <<< robot_calibration                     [ 1.5 seconds ]
mikeferguson commented 1 year ago

PR has been merged that fixes documentation so this now works.