写一个gazebo中差速驱动插件的CMakeLists.txt文件
时间: 2023-03-13 17:43:20 浏览: 121
CMakeLists.txt
CMakeLists.txt文件的内容如下:cmake_minimum_required(VERSION 3.5)project(diffdrive_plugin)find_package(gazebo REQUIRED)include_directories(${GAZEBO_INCLUDE_DIRS})link_directories(${GAZEBO_LIBRARY_DIRS})list(APPEND CMAKE_CXX_FLAGS "${GAZEBO_CXX_FLAGS}")add_library(diffdrive_plugin SHARED diffdrive_plugin.cc)target_link_libraries(diffdrive_plugin ${GAZEBO_LIBRARIES})
阅读全文