Skip to content

Commit 7e51b43

Browse files
Export symbols on windows
1 parent 4863ef8 commit 7e51b43

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

kinematics_interface/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
55
add_compile_options(-Wall -Wextra -Wpedantic)
66
endif()
77

8+
# using this instead of visibility macros
9+
# S1 from https://github.com/ros-controls/ros2_controllers/issues/1053
10+
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
11+
812
set(THIS_PACKAGE_INCLUDE_DEPENDS
913
rclcpp
1014
rclcpp_lifecycle

kinematics_interface_kdl/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
55
add_compile_options(-Wall -Wextra -Wpedantic)
66
endif()
77

8+
# using this instead of visibility macros
9+
# S1 from https://github.com/ros-controls/ros2_controllers/issues/1053
10+
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
11+
812
set(THIS_PACKAGE_INCLUDE_DEPENDS
913
kdl_parser
1014
kinematics_interface

0 commit comments

Comments
 (0)