Skip to content

Commit

Permalink
do not use ament_auto instead
Browse files Browse the repository at this point in the history
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
  • Loading branch information
Owen-Liuyuxuan committed Nov 26, 2024
1 parent 8828069 commit cb633d2
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions nebula_examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ target_link_libraries(hesai_ros_offline_extract_pcd PUBLIC
nebula_decoders::nebula_decoders_hesai
)

ament_auto_add_executable(hesai_ros_offline_extract_pcd_node
${CMAKE_CURRENT_SOURCE_DIR}/src/hesai/hesai_ros_offline_extract_pcd_main.cpp
add_executable(hesai_ros_offline_extract_pcd_node
src/hesai/hesai_ros_offline_extract_pcd_main.cpp
)
list(APPEND ${PROJECT_NAME}_EXECUTABLES hesai_ros_offline_extract_pcd_node)

target_link_libraries(hesai_ros_offline_extract_pcd_node PUBLIC
hesai_ros_offline_extract_pcd
Expand All @@ -62,9 +63,10 @@ target_link_libraries(hesai_ros_offline_extract_bag_pcd PUBLIC
nebula_decoders::nebula_decoders_hesai
)

ament_auto_add_executable(hesai_ros_offline_extract_bag_pcd_node
${CMAKE_CURRENT_SOURCE_DIR}/src/hesai/hesai_ros_offline_extract_bag_pcd_main.cpp
add_executable(hesai_ros_offline_extract_bag_pcd_node
src/hesai/hesai_ros_offline_extract_bag_pcd_main.cpp
)
list(APPEND ${PROJECT_NAME}_EXECUTABLES hesai_ros_offline_extract_bag_pcd_node)

target_link_libraries(hesai_ros_offline_extract_bag_pcd_node PUBLIC
hesai_ros_offline_extract_bag_pcd
Expand All @@ -78,9 +80,10 @@ target_link_libraries(hesai_ros_offline_extract_bag_decode PUBLIC
nebula_decoders::nebula_decoders_hesai
)

ament_auto_add_executable(hesai_ros_offline_extract_bag_decode_node
${CMAKE_CURRENT_SOURCE_DIR}/src/hesai/hesai_ros_offline_extract_bag_decode_main.cpp
add_executable(hesai_ros_offline_extract_bag_decode_node
src/hesai/hesai_ros_offline_extract_bag_decode_main.cpp
)
list(APPEND ${PROJECT_NAME}_EXECUTABLES hesai_ros_offline_extract_bag_decode_node)

target_link_libraries(hesai_ros_offline_extract_bag_decode_node PUBLIC
hesai_ros_offline_extract_bag_decode
Expand All @@ -95,9 +98,10 @@ target_link_libraries(velodyne_ros_offline_extract_bag_pcd PUBLIC
nebula_decoders::nebula_decoders_velodyne
)

ament_auto_add_executable(velodyne_ros_offline_extract_bag_pcd_node
${CMAKE_CURRENT_SOURCE_DIR}/src/velodyne/velodyne_ros_offline_extract_bag_pcd_main.cpp
add_executable(velodyne_ros_offline_extract_bag_pcd_node
src/velodyne/velodyne_ros_offline_extract_bag_pcd_main.cpp
)
list(APPEND ${PROJECT_NAME}_EXECUTABLES velodyne_ros_offline_extract_bag_pcd_node)

target_link_libraries(velodyne_ros_offline_extract_bag_pcd_node PUBLIC
velodyne_ros_offline_extract_bag_pcd
Expand Down

0 comments on commit cb633d2

Please sign in to comment.