ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

catkin check runtime dependency

asked 2013-11-07 02:57:58 -0600

Does this exist?

The use case is packages which provide cmake/xxx-extras.cmake files. An obvious example is the message_generation macros throwing a warning/error if you didn't run_depend on message_runtime, but there are similar cases where a build_depend package provides a macro which does something in a dependent package that will then need some other run_depend.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-11-13 12:31:04 -0600

Dirk Thomas gravatar image

Are you referring to the following error message of catkin: https://github.com/ros/catkin/blob/groovy-devel/cmake/catkin_package.cmake#L214 ?

It uses the CMake variable ${PROJECT_NAME}_RUN_DEPENDS which is available after you invoked catkin_package() (or catkin_package_xml()). It provides all the keys for run_depend from the package.xml file.

edit flag offensive delete link more

Comments

Fantastic, that was just what I was looking for.

mikepurvis gravatar image mikepurvis  ( 2013-11-15 00:25:43 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-11-07 02:57:58 -0600

Seen: 570 times

Last updated: Nov 13 '13