Ask Your Question

Revision history [back]

This doesn't seem like a ROS question but a CMake question. For example: regardless of ROS, are you aware of how to link up multiple cmakelists together?

A good hint is looking at the add_subdirectory() macro in CMake.

Examples: https://github.com/ros-planning/navigation2/blob/master/nav2_system_tests/CMakeLists.txt#L51 https://github.com/SteveMacenski/slam_toolbox/blob/eloquent-devel/CMakeLists.txt#L33

This doesn't seem like a ROS question but a CMake question. For example: regardless of ROS, are you aware of how to link up multiple cmakelists together?

A good hint is looking at the add_subdirectory() macro in CMake.

Examples: https://github.com/ros-planning/navigation2/blob/master/nav2_system_tests/CMakeLists.txt#L51 Examples:

https://github.com/ros-planning/navigation2/blob/master/nav2_system_tests/CMakeLists.txt#L51

https://github.com/SteveMacenski/slam_toolbox/blob/eloquent-devel/CMakeLists.txt#L33