cmake_minimum_required(VERSION 3.8)
project(bringup_hardware)
find_package(ament_cmake REQUIRED)
find_package(hardware_interface REQUIRED)
find_package(pluginlib REQUIRED)
find_package(rclcpp REQUIRED)
find_package(rclcpp_lifecycle REQUIRED)
add_library(bringup_hardware SHARED src/bringup_system.cpp)
target_compile_features(bringup_hardware PUBLIC cxx_std_17)
ament_target_dependencies(bringup_hardware hardware_interface pluginlib rclcpp rclcpp_lifecycle)
pluginlib_export_plugin_description_file(hardware_interface bringup_hardware.xml)
install(TARGETS bringup_hardware LIBRARY DESTINATION lib ARCHIVE DESTINATION lib RUNTIME DESTINATION bin)
ament_package()
