Skip to content

Commit

Permalink
[CMakeLists] clean installation for ROS1
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthou committed Sep 14, 2024
1 parent 5c84c7d commit d4842df
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 7 deletions.
21 changes: 17 additions & 4 deletions cmake/BuildCommon.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,22 @@ target_link_libraries(mementarGUI
target_include_directories(mementarGUI PUBLIC include)

meme_install_executables(
mementar_single
mementar_multi
mementar_timeline
mementarGUI)
mementar_single
mementar_multi
mementar_timeline
mementarGUI)

meme_install_libs(
mementar_interface
mementar_lib
mementar_compat
mementar_core_lib
mementar_events_lib
mementar_drawer_lib
mementar_lt_lib
mementar_memGraphs_lib
mementar_compression_lib
mementar_events_lib
)

# ##################################
19 changes: 16 additions & 3 deletions cmake/BuildROS1.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,22 @@ target_link_libraries(graphs mementar_memGraphs_lib)
# # Install
# #############################
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.h"
PATTERN ".svn" EXCLUDE)
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.h"
PATTERN ".svn" EXCLUDE)

install(DIRECTORY include/${PROJECT_NAME}/API/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.h"
PATTERN ".svn" EXCLUDE)

install(DIRECTORY launch/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
)

install(DIRECTORY files/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/files
)

# #############################
# # Tests
Expand Down

0 comments on commit d4842df

Please sign in to comment.