ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The recommended solution is to mention your include/
subdirectory to catkin_package()
:
catkin_package(INCLUDE_DIRS include)
Then, follow standard ROS practice and place all external header files under include/your_package/
, and install them this way:
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION})