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

Revision history [back]

click to hide/show revision 1
initial version

Your package can create a CMake extra file. That file is registered with catkin_package(CFG_EXTRAS ...) and will be included every time your package is find_packaged() by others.

As an example you can look at: https://github.com/ros/ros_comm/blob/hydro-devel/tools/rosconsole/CMakeLists.txt#L47 and https://github.com/ros/ros_comm/blob/hydro-devel/tools/rosconsole/cmake/rosconsole-extras.cmake.in

May be the API doc will also help what you can actually pass as an argument and what kind of templates you can use: http://docs.ros.org/api/catkin/html/dev_guide/generated_cmake_api.html#catkin-package