File tree 5 files changed +14
-6
lines changed
5 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.16)
2
2
project (control_toolbox LANGUAGES CXX)
3
3
4
- if (CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)" )
5
- add_compile_options (-Wall -Wextra -Wpedantic -Werror=conversion -Werror=unused-but-set-variable
6
- -Werror=return-type -Werror=shadow -Werror=format)
7
- endif ()
4
+ find_package (ros2_control_cmake REQUIRED)
5
+ set_compiler_options()
8
6
9
7
if (WIN32 )
10
8
add_compile_definitions (
@@ -16,7 +14,7 @@ if(WIN32)
16
14
WIN32_LEAN_AND_MEAN
17
15
)
18
16
# set the same behavior for windows as it is on linux
19
- set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON )
17
+ export_windows_symbols( )
20
18
endif ()
21
19
22
20
set (THIS_PACKAGE_INCLUDE_DEPENDS
Original file line number Diff line number Diff line change 1
1
control_toolbox
2
2
===========
3
3
[ ![ License] ( https://img.shields.io/badge/License-BSD%203--Clause-blue.svg )] ( https://opensource.org/licenses/BSD-3-Clause )
4
- [ ![ Licence ] ( https://img.shields.io/badge/License-Apache%202.0-blue.svg )] ( https://opensource.org/licenses/Apache-2.0 )
4
+ [ ![ License ] ( https://img.shields.io/badge/License-Apache%202.0-blue.svg )] ( https://opensource.org/licenses/Apache-2.0 )
5
5
[ ![ codecov] ( https://codecov.io/gh/ros-controls/control_toolbox/graph/badge.svg?token=0o4dFzADHj )] ( https://codecov.io/gh/ros-controls/control_toolbox )
6
6
7
7
This package contains several C++ classes useful in writing controllers.
Original file line number Diff line number Diff line change @@ -7,3 +7,7 @@ repositories:
7
7
type: git
8
8
url: https://github.com/ros-controls/realtime_tools
9
9
version: jazzy
10
+ ros2_control_cmake:
11
+ type: git
12
+ url: https://github.com/ros-controls/ros2_control_cmake.git
13
+ version: master
Original file line number Diff line number Diff line change @@ -7,3 +7,7 @@ repositories:
7
7
type: git
8
8
url: https://github.com/ros-controls/realtime_tools
9
9
version: master
10
+ ros2_control_cmake:
11
+ type: git
12
+ url: https://github.com/ros-controls/ros2_control_cmake.git
13
+ version: master
Original file line number Diff line number Diff line change 21
21
22
22
<buildtool_depend >ament_cmake</buildtool_depend >
23
23
24
+ <build_depend >ros2_control_cmake</build_depend >
25
+
24
26
<depend >control_msgs</depend >
25
27
<depend >eigen</depend >
26
28
<depend >filters</depend >
You can’t perform that action at this time.
0 commit comments