wpb_home/wpbh_local_planner/CMakeLists.txt
2017-03-24 16:37:22 +08:00

52 lines
965 B
CMake

cmake_minimum_required(VERSION 2.8.3)
project(wpbh_local_planner)
set(CMAKE_BUILD_TYPE Release)
find_package(catkin REQUIRED COMPONENTS
base_local_planner
cmake_modules
costmap_2d
geometry_msgs
nav_core
nav_msgs
roscpp
std_msgs
pluginlib
tf
)
catkin_package(
INCLUDE_DIRS include
LIBRARIES wpbh_local_planner
CATKIN_DEPENDS
base_local_planner
costmap_2d
geometry_msgs
nav_core
nav_msgs
pluginlib
roscpp
std_msgs
tf
tf_conversions
DEPENDS
)
include_directories(
include ${catkin_INCLUDE_DIRS}
)
install(FILES
wpbh_local_planner_plugin.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
add_library(wpbh_local_planner
include/wpbh_local_planner/wpbh_local_planner.h
src/wpbh_local_planner.cpp
)
add_dependencies(wpbh_local_planner ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(wpbh_local_planner
${catkin_LIBRARIES}
)