mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
This does not work perfectly yet in practice, but this is (probably) due to problems in upstream MoveIt.
38 lines
778 B
CMake
38 lines
778 B
CMake
cmake_minimum_required(VERSION 2.8.3)
|
|
project(moveit_task_constructor_capabilities)
|
|
|
|
add_compile_options(-std=c++14)
|
|
|
|
find_package(catkin REQUIRED COMPONENTS
|
|
actionlib
|
|
moveit_core
|
|
moveit_ros_move_group
|
|
moveit_task_constructor_msgs
|
|
pluginlib
|
|
std_msgs
|
|
)
|
|
|
|
catkin_package(
|
|
LIBRARIES $PROJECT_NAME}
|
|
CATKIN_DEPENDS
|
|
std_msgs
|
|
)
|
|
|
|
include_directories(
|
|
${catkin_INCLUDE_DIRS}
|
|
)
|
|
|
|
add_library(${PROJECT_NAME}
|
|
src/execute_task_solution_capability.cpp
|
|
)
|
|
add_dependencies(${PROJECT_NAME} ${catkin_EXPORTED_TARGETS})
|
|
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES})
|
|
|
|
install(TARGETS ${PROJECT_NAME}
|
|
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
|
|
)
|
|
|
|
install(FILES capabilities_plugin_description.xml
|
|
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
|
)
|