Skip to content

Commit

Permalink
[Control] refactor the cmake rule for build binary file and library
Browse files Browse the repository at this point in the history
  • Loading branch information
tongtybj committed Nov 18, 2023
1 parent f5ff371 commit 46618c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion aerial_robot_control/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,14 @@ target_link_libraries (trajectory_generation_node ${catkin_LIBRARIES} trajectory
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION})

install(TARGETS control_utils flight_control_pluginlib flight_navigation
install(TARGETS control_utils flight_control_pluginlib flight_navigation trajectory_generation
DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
)

install(TARGETS trajectory_generation_node
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

install(DIRECTORY scripts plugins
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS
Expand Down

0 comments on commit 46618c5

Please sign in to comment.