Skip to content

Commit b501db7

Browse files
ct2034traversaro
andauthored
Add Windows support (#426) (#430)
(cherry picked from commit 913becd) Co-authored-by: Silvio Traversaro <silvio@traversaro.it>
1 parent 173afae commit b501db7

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

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)