CMakeLists.txt文件的内容可以包括:
- 添加源文件:
add_executable(<target> <sources>)
- 添加依赖:
target_link_libraries(<target> <libraries>)
- 配置发布信息:
rosbuild_add_executable(<target> <sources>)
- 添加ROS节点:
add_ros_node(<node_name> <node_executable> <node_type>)
CMakeLists.txt文件的内容可以包括:
add_executable(<target> <sources>)
target_link_libraries(<target> <libraries>)
rosbuild_add_executable(<target> <sources>)
add_ros_node(<node_name> <node_executable> <node_type>)