Skip to content

Commit

Permalink
style: Change formatting in CMake files
Browse files Browse the repository at this point in the history
  • Loading branch information
2b-t committed Nov 3, 2024
1 parent 9f0d167 commit e4fb470
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
3 changes: 1 addition & 2 deletions myactuator_rmd_bringup/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ project(myactuator_rmd_bringup)

find_package(ament_cmake REQUIRED)

install(
DIRECTORY launch
install(DIRECTORY launch
DESTINATION share/${PROJECT_NAME}
)

Expand Down
3 changes: 1 addition & 2 deletions myactuator_rmd_description/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ project(myactuator_rmd_description)

find_package(ament_cmake REQUIRED)

install(DIRECTORY
config launch meshes urdf rviz
install(DIRECTORY config launch meshes urdf rviz
DESTINATION share/${PROJECT_NAME}/
)

Expand Down
15 changes: 7 additions & 8 deletions myactuator_rmd_hardware/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE
MYACTUATOR_RMD_HARDWARE_BUILDING_LIBRARY
)
# Required for std::atomic
target_link_libraries(${PROJECT_NAME} -latomic)
target_link_libraries(${PROJECT_NAME}
atomic
)
ament_target_dependencies(${PROJECT_NAME}
hardware_interface
myactuator_rmd
Expand All @@ -38,20 +40,17 @@ ament_target_dependencies(${PROJECT_NAME}
pluginlib_export_plugin_description_file(hardware_interface
myactuator_rmd_hardware.xml
)
install(
DIRECTORY include/
DESTINATION include
install(DIRECTORY include/
DESTINATION include/${PROJECT_NAME}
)
install(
TARGETS ${PROJECT_NAME}
install(TARGETS ${PROJECT_NAME}
EXPORT export_${PROJECT_NAME}
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin
)

ament_export_targets(
export_${PROJECT_NAME}
ament_export_targets(export_${PROJECT_NAME}
HAS_LIBRARY_TARGET
)
ament_package()

0 comments on commit e4fb470

Please sign in to comment.