File tree 12 files changed +25
-45
lines changed
hardware_interface_testing
12 files changed +25
-45
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.16)
2
2
project (controller_interface LANGUAGES CXX)
3
3
4
- if (CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)" )
5
- add_compile_options (-Wall -Wextra -Werror=conversion -Werror=unused-but-set-variable -Werror=return-type -Werror=shadow
6
- -Werror=missing-braces)
7
- endif ()
8
-
9
- # using this instead of visibility macros
10
- # S1 from https://github.com/ros-controls/ros2_controllers/issues/1053
11
- set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON )
4
+ find_package (ros2_control_cmake REQUIRED)
5
+ set_compiler_options()
6
+ export_windows_symbols()
12
7
13
8
set (THIS_PACKAGE_INCLUDE_DEPENDS
14
9
hardware_interface
Original file line number Diff line number Diff line change 14
14
<buildtool_depend >ament_cmake_gen_version_h</buildtool_depend >
15
15
16
16
<build_depend >hardware_interface</build_depend >
17
- <build_depend >realtime_tools</build_depend >
18
17
<build_depend >rclcpp_lifecycle</build_depend >
18
+ <build_depend >realtime_tools</build_depend >
19
+ <build_depend >ros2_control_cmake</build_depend >
19
20
<build_depend >sensor_msgs</build_depend >
20
21
21
22
<build_export_depend >hardware_interface</build_export_depend >
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.16)
2
2
project (controller_manager LANGUAGES CXX)
3
3
4
- if (CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)" )
5
- add_compile_options (-Wall -Wextra -Werror=conversion -Werror=unused-but-set-variable -Werror=return-type -Werror=shadow
6
- -Werror=missing-braces)
7
- endif ()
8
-
9
- # using this instead of visibility macros
10
- # S1 from https://github.com/ros-controls/ros2_controllers/issues/1053
11
- set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON )
4
+ find_package (ros2_control_cmake REQUIRED)
5
+ set_compiler_options()
6
+ export_windows_symbols()
12
7
13
8
set (THIS_PACKAGE_INCLUDE_DEPENDS
14
9
controller_interface
Original file line number Diff line number Diff line change 13
13
<buildtool_depend >ament_cmake</buildtool_depend >
14
14
<buildtool_depend >ament_cmake_gen_version_h</buildtool_depend >
15
15
<buildtool_depend >ament_cmake_python</buildtool_depend >
16
+ <build_depend >ros2_control_cmake</build_depend >
16
17
17
18
<depend >backward_ros</depend >
18
19
<depend >controller_interface</depend >
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.16)
2
2
project (hardware_interface LANGUAGES CXX)
3
3
4
- if (CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)" )
5
- add_compile_options (-Wall -Wextra -Werror=conversion -Werror=unused-but-set-variable -Werror=return-type -Werror=shadow
6
- -Werror=missing-braces)
7
- endif ()
8
-
9
- # using this instead of visibility macros
10
- # S1 from https://github.com/ros-controls/ros2_controllers/issues/1053
11
- set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON )
4
+ find_package (ros2_control_cmake REQUIRED)
5
+ set_compiler_options()
6
+ export_windows_symbols()
12
7
13
8
set (THIS_PACKAGE_INCLUDE_DEPENDS
14
9
control_msgs
Original file line number Diff line number Diff line change 11
11
12
12
<buildtool_depend >ament_cmake</buildtool_depend >
13
13
<buildtool_depend >ament_cmake_gen_version_h</buildtool_depend >
14
+ <build_depend >ros2_control_cmake</build_depend >
14
15
15
16
<depend >backward_ros</depend >
16
17
<depend >control_msgs</depend >
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.16)
2
2
project (hardware_interface_testing LANGUAGES CXX)
3
3
4
- if (CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)" )
5
- add_compile_options (-Wall -Wextra -Werror=conversion -Werror=unused-but-set-variable -Werror=return-type -Werror=shadow
6
- -Werror=missing-braces)
7
- endif ()
4
+ find_package (ros2_control_cmake REQUIRED)
5
+ set_compiler_options()
6
+ export_windows_symbols()
8
7
9
8
set (THIS_PACKAGE_INCLUDE_DEPENDS
10
9
control_msgs
Original file line number Diff line number Diff line change 10
10
<license >Apache License 2.0</license >
11
11
12
12
<buildtool_depend >ament_cmake</buildtool_depend >
13
+ <build_depend >ros2_control_cmake</build_depend >
13
14
14
15
<depend >control_msgs</depend >
15
16
<depend >hardware_interface</depend >
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.16)
2
2
project (joint_limits LANGUAGES CXX)
3
3
4
- if (CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)" )
5
- add_compile_options (-Wall -Wextra -Werror=conversion -Werror=unused-but-set-variable -Werror=return-type -Werror=shadow
6
- -Werror=missing-braces)
7
- endif ()
8
-
9
- # using this instead of visibility macros
10
- # S1 from https://github.com/ros-controls/ros2_controllers/issues/1053
11
- set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON )
4
+ find_package (ros2_control_cmake REQUIRED)
5
+ set_compiler_options()
6
+ export_windows_symbols()
12
7
13
8
set (THIS_PACKAGE_INCLUDE_DEPENDS
14
9
pluginlib
Original file line number Diff line number Diff line change 16
16
17
17
<buildtool_depend >ament_cmake</buildtool_depend >
18
18
<buildtool_depend >ament_cmake_gen_version_h</buildtool_depend >
19
+ <build_depend >ros2_control_cmake</build_depend >
19
20
20
21
<depend >backward_ros</depend >
21
22
<depend >pluginlib</depend >
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.16)
2
2
project (transmission_interface LANGUAGES CXX)
3
3
4
- if (CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)" )
5
- add_compile_options (-Wall -Wextra -Werror=conversion -Werror=unused-but-set-variable -Werror=return-type -Werror=shadow
6
- -Werror=missing-braces)
7
- endif ()
8
-
9
- # using this instead of visibility macros
10
- # S1 from https://github.com/ros-controls/ros2_controllers/issues/1053
11
- set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON )
4
+ find_package (ros2_control_cmake REQUIRED)
5
+ set_compiler_options()
6
+ export_windows_symbols()
12
7
13
8
set (THIS_PACKAGE_INCLUDE_DEPENDS
14
9
hardware_interface
Original file line number Diff line number Diff line change 12
12
13
13
<buildtool_depend >ament_cmake</buildtool_depend >
14
14
<buildtool_depend >ament_cmake_gen_version_h</buildtool_depend >
15
+ <build_depend >ros2_control_cmake</build_depend >
15
16
16
17
<depend >hardware_interface</depend >
17
18
<depend >pluginlib</depend >
You can’t perform that action at this time.
0 commit comments