diff --git a/package.xml b/package.xml index 801975f..5ffc5b4 100644 --- a/package.xml +++ b/package.xml @@ -13,12 +13,6 @@ TODO TODO - catkin - roscpp - std_msgs - sensor_msgs - roscpp - std_msgs - sensor_msgs + catkin diff --git a/src/common/async_io/CMakeLists.txt b/src/common/async_io/CMakeLists.txt index 7ef89aa..987bf1f 100644 --- a/src/common/async_io/CMakeLists.txt +++ b/src/common/async_io/CMakeLists.txt @@ -18,7 +18,15 @@ target_include_directories(asyncio PUBLIC $ PRIVATE src) +install(TARGETS asyncio + RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} + LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} + ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}) + +install(DIRECTORY include asio + DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}) + # Add executables if(BUILD_TESTS) add_subdirectory(tests) -endif() \ No newline at end of file +endif() diff --git a/src/hunter_sdk/hunter_base/CMakeLists.txt b/src/hunter_sdk/hunter_base/CMakeLists.txt index 63d58ea..51a5eac 100755 --- a/src/hunter_sdk/hunter_base/CMakeLists.txt +++ b/src/hunter_sdk/hunter_base/CMakeLists.txt @@ -9,6 +9,14 @@ target_include_directories(hunterbase PUBLIC $ PRIVATE src) +install(TARGETS hunterbase + RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} + LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} + ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}) + +install(DIRECTORY include + DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}) + ## Add executables if(BUILD_TESTS) add_subdirectory(tests) diff --git a/src/hunter_sdk/hunter_protocol/CMakeLists.txt b/src/hunter_sdk/hunter_protocol/CMakeLists.txt index 705a8c6..5049aff 100755 --- a/src/hunter_sdk/hunter_protocol/CMakeLists.txt +++ b/src/hunter_sdk/hunter_protocol/CMakeLists.txt @@ -6,4 +6,12 @@ add_library(hunter_protocol STATIC ${HUNTER_PROTOCOL_SRC}) target_include_directories(hunter_protocol PUBLIC $ $ - PRIVATE src) \ No newline at end of file + PRIVATE src) + +install(TARGETS hunter_protocol + RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} + LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} + ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}) + +install(DIRECTORY include + DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}) \ No newline at end of file diff --git a/src/scout_sdk/scout_base/CMakeLists.txt b/src/scout_sdk/scout_base/CMakeLists.txt index fec048a..83a2ec7 100755 --- a/src/scout_sdk/scout_base/CMakeLists.txt +++ b/src/scout_sdk/scout_base/CMakeLists.txt @@ -10,6 +10,14 @@ target_include_directories(scoutbase PUBLIC $ PRIVATE src) +install(TARGETS scoutbase + RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} + LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} + ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}) + +install(DIRECTORY include + DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}) + ## Add executables if(BUILD_TESTS) add_subdirectory(tests) diff --git a/src/scout_sdk/scout_protocol/CMakeLists.txt b/src/scout_sdk/scout_protocol/CMakeLists.txt index 1ee03ac..7e03a3f 100755 --- a/src/scout_sdk/scout_protocol/CMakeLists.txt +++ b/src/scout_sdk/scout_protocol/CMakeLists.txt @@ -9,4 +9,18 @@ target_include_directories(scout_protocol PUBLIC $ $ $ - PRIVATE src) \ No newline at end of file + PRIVATE src) + +install(TARGETS scout_protocol + RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} + LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} + ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}) + +install(DIRECTORY include + DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}) + +install(TARGETS scout_protocol + # EXPORT MyLibTargets + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib + INCLUDES DESTINATION include) \ No newline at end of file