Skip to content

Commit 9650917

Browse files
ct2034traversaro
andauthored
Add Windows support (#426) (#429)
(cherry picked from commit 913becd) Co-authored-by: Silvio Traversaro <[email protected]>
1 parent 6560606 commit 9650917

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_python REQUIRED)

0 commit comments

Comments
 (0)