Skip to content

Commit

Permalink
Split binary and library install
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova committed Dec 3, 2024
1 parent 1c82413 commit 14b16a5
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions rmf_fleet_adapter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,19 @@ rmf_api_generate_schema_headers(
ament_export_targets(export_rmf_fleet_adapter HAS_LIBRARY_TARGET)
ament_export_dependencies(${dep_pkgs})

# Install the libraries
install(
TARGETS
rmf_fleet_adapter
EXPORT export_rmf_fleet_adapter
RUNTIME DESTINATION lib/rmf_fleet_adapter
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)

# Install the binaries
install(
TARGETS
read_only
read_only_blockade
mock_traffic_light
Expand All @@ -538,10 +548,7 @@ install(
close_lanes
interrupt_robot
robot_state_aggregator_main
EXPORT export_rmf_fleet_adapter
RUNTIME DESTINATION lib/rmf_fleet_adapter
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
DESTINATION lib/rmf_fleet_adapter
)

# -----------------------------------------------------------------------------
Expand Down

0 comments on commit 14b16a5

Please sign in to comment.