moveit_task_constructor/visualization/visualization_tools/CMakeLists.txt
Robert Haschke e9ba2248f8 Merge remote-tracking branch 'origin/master' into wip-refactor
- cmake 3.1 required for CMAKE_CXX_STANDARD
- more old-style signal/slots for Qt4 compatibility
2017-11-13 00:07:23 +01:00

33 lines
953 B
CMake

set(MOVEIT_LIB_NAME moveit_task_visualization_tools)
set(PROJECT_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/include/moveit/visualization_tools)
set(HEADERS
${PROJECT_INCLUDE}/display_solution.h
${PROJECT_INCLUDE}/task_solution_visualization.h
${PROJECT_INCLUDE}/task_solution_panel.h
)
add_library(${MOVEIT_LIB_NAME}
src/display_solution.cpp
src/task_solution_visualization.cpp
src/task_solution_panel.cpp
${HEADERS}
)
set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION ${${PROJECT_NAME}_VERSION})
target_link_libraries(${MOVEIT_LIB_NAME}
${catkin_LIBRARIES}
${OGRE_LIBRARIES}
${QT_LIBRARIES}
${Boost_LIBRARIES}
)
target_include_directories(${MOVEIT_LIB_NAME} PUBLIC include)
add_dependencies(${MOVEIT_LIB_NAME} ${catkin_EXPORTED_TARGETS})
install(DIRECTORY include/ DESTINATION include)
install(TARGETS ${MOVEIT_LIB_NAME}
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})