Commit a6ef8f6f authored by David Tiede's avatar David Tiede
Browse files

CMakeLists.txt installs

parent c9247de8
......@@ -14,15 +14,39 @@ catkin_package(
include_directories(${catkin_INCLUDE_DIRS})
# plugin
add_library(${PROJECT_NAME} src/add_safety.cpp)
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES})
install(TARGETS ${PROJECT_NAME}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION})
set_target_properties(${PROJECT_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}")
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
#############
## Install ##
#############
# Mark executables and/or libraries for installation
install(
TARGETS
${PROJECT_NAME}
ARCHIVE DESTINATION
${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION
${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION
${CATKIN_GLOBAL_BIN_DESTINATION}
)
install(FILES planning_request_adapters_plugin_description.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
\ No newline at end of file
# Mark cpp header files for installation
#install(
# DIRECTORY
# src
# DESTINATION
# ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
#)
#catkin_lint ignore uninstalled_plugin
install(
FILES
planning_request_adapters_plugin_description.xml
DESTINATION
${CATKIN_PACKAGE_SHARE_DESTINATION}
)
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment