ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
There has always been the include()
command in CMake, so you can just do:
include(buildLibA.txt)
include(LibB/CMakeLists.txt)
Or, for the second case, add_subdirectory()
would be better:
include(buildLibA.txt)
add_subdirectory(LibB)