Skip to content

Commit c59a590

Browse files
committed
Add Windows support (ros#426)
(cherry picked from commit 913becd)
1 parent 173afae commit c59a590

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

diagnostic_aggregator/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ endif()
99
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
1010
add_compile_options(-Wall -Wextra -Wpedantic)
1111
endif()
12+
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
1213

1314
find_package(ament_cmake REQUIRED)
1415
find_package(diagnostic_msgs REQUIRED)

diagnostic_updater/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ endif()
99
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
1010
add_compile_options(-Wall -Wextra -Wpedantic)
1111
endif()
12+
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
1213

1314
find_package(ament_cmake REQUIRED)
1415
find_package(ament_cmake_ros REQUIRED)

0 commit comments

Comments
 (0)