@@ -49,38 +49,37 @@ if(${FOUND_ROS2_DISTRO} STREQUAL "humble" OR ${FOUND_ROS2_DISTRO} STREQUAL "iron
4949 set (CMAKE_BUILD_TYPE Release)
5050 endif ()
5151
52- # Default to C++14
53- if (NOT CMAKE_CXX_STANDARD)
54- set (CMAKE_CXX_STANDARD 14)
55- endif ()
52+ # Default to C++14
53+ if (NOT CMAKE_CXX_STANDARD)
54+ set (CMAKE_CXX_STANDARD 14)
55+ endif ()
5656
57- # dependencies
58- set (DEPENDENCIES
59- rclcpp
60- rclcpp_components
61- zed_topic_benchmark_interfaces
62- )
57+ # dependencies
58+ set (DEPENDENCIES
59+ rclcpp
60+ rclcpp_components
61+ zed_topic_benchmark_interfaces
62+ )
6363
64- find_package (ament_cmake_auto REQUIRED)
65- ament_auto_find_build_dependencies()
64+ find_package (ament_cmake_auto REQUIRED)
65+ ament_auto_find_build_dependencies()
6666
67- find_package (rclcpp REQUIRED)
68- find_package (rclcpp_components REQUIRED)
69- find_package (zed_topic_benchmark_interfaces REQUIRED)
67+ find_package (rclcpp REQUIRED)
68+ find_package (rclcpp_components REQUIRED)
69+ find_package (zed_topic_benchmark_interfaces REQUIRED)
7070
71- if (BUILD_TESTING)
72- find_package (ament_lint_auto REQUIRED)
73- ament_lint_auto_find_test_dependencies()
74- endif ()
71+ if (BUILD_TESTING)
72+ find_package (ament_lint_auto REQUIRED)
73+ ament_lint_auto_find_test_dependencies()
74+ endif ()
7575
76- ###############################################################################
77- # Add all files in subdirectories of the project in
78- # a dummy_target so qtcreator have access to all files
79- file (GLOB_RECURSE extra_files ${CMAKE_SOURCE_DIR} /*)
80- add_custom_target (${PROJECT_NAME} _files SOURCES ${extra_files} )
81- ###############################################################################
76+ ###############################################################################
77+ # Add all files in subdirectories of the project in
78+ # a dummy_target so qtcreator have access to all files
79+ file (GLOB_RECURSE extra_files ${CMAKE_SOURCE_DIR} /*)
80+ add_custom_target (${PROJECT_NAME} _files SOURCES ${extra_files} )
81+ ###############################################################################
8282
83- if (${FOUND_ROS2_DISTRO} STREQUAL "humble" OR ${FOUND_ROS2_DISTRO} STREQUAL "iron" )
8483 ## Sources
8584 set (SRC_COMP
8685 src/component /src/topic_benchmark_component.cpp
@@ -123,6 +122,6 @@ if(${FOUND_ROS2_DISTRO} STREQUAL "humble" OR ${FOUND_ROS2_DISTRO} STREQUAL "iron
123122 ament_package()
124123endif ()
125124
126- ament_package()
125+
127126
128127
0 commit comments