ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
![]() | 1 | initial version |
Within CMake you can access the list of message/service files of a package since every message package exports these information in via its CMake extras file. After calling:
find_package(std_msgs REQUIRED)
or
find_package(catkin REQUIRED COMPONENTS std_msgs)
the list of message files is available in the CMake variable:
std_msgs_MESSAGE_FILES