Skip to content

Commit

Permalink
Updated cmake to generate both composable node plugin library and sta…
Browse files Browse the repository at this point in the history
…ndalone executable for NovatelGpsNode.
  • Loading branch information
rjb0026 committed Oct 11, 2024
1 parent 56b766a commit 0a14c46
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion novatel_gps_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ add_library(${PROJECT_NAME}_nodes SHARED
)
target_compile_definitions(${PROJECT_NAME}_nodes
PRIVATE "COMPOSITION_BUILDING_DLL")
rclcpp_components_register_nodes(${PROJECT_NAME}_nodes "novatel_gps_driver::NovatelGpsNode")
rclcpp_components_register_node(${PROJECT_NAME}_nodes
PLUGIN "novatel_gps_driver::NovatelGpsNode"
EXECUTABLE "novatel_gps_node"
)
target_link_libraries(${PROJECT_NAME}_nodes
Boost::boost
Boost::thread
Expand Down

0 comments on commit 0a14c46

Please sign in to comment.