@@ -49,38 +49,37 @@ if(${FOUND_ROS2_DISTRO} STREQUAL "humble" OR ${FOUND_ROS2_DISTRO} STREQUAL "iron
49
49
set (CMAKE_BUILD_TYPE Release)
50
50
endif ()
51
51
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 ()
56
56
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
+ )
63
63
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()
66
66
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)
70
70
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 ()
75
75
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
+ ###############################################################################
82
82
83
- if (${FOUND_ROS2_DISTRO} STREQUAL "humble" OR ${FOUND_ROS2_DISTRO} STREQUAL "iron" )
84
83
## Sources
85
84
set (SRC_COMP
86
85
src/component /src/topic_benchmark_component.cpp
@@ -123,6 +122,6 @@ if(${FOUND_ROS2_DISTRO} STREQUAL "humble" OR ${FOUND_ROS2_DISTRO} STREQUAL "iron
123
122
ament_package()
124
123
endif ()
125
124
126
- ament_package()
125
+
127
126
128
127
0 commit comments