Skip to content

Commit

Permalink
refactor(build): RT examples depend on sigset_t. Do not build on WIN32
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfr committed Jun 15, 2024
1 parent ccb8fbe commit 14c7cc6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,11 @@ if(UA_ENABLE_PUBSUB)
add_example(tutorial_pubsub_publish pubsub/tutorial_pubsub_publish.c)
add_example(server_pubsub_publish_on_demand pubsub/server_pubsub_publisher_on_demand.c)
add_example(server_pubsub_publisher_iop pubsub/server_pubsub_publisher_iop.c)
add_example(server_pubsub_publish_rt_level pubsub_realtime/server_pubsub_publisher_rt_level.c)
add_example(server_pubsub_rt_information_model pubsub_realtime/server_pubsub_rt_field_information_model.c)
add_example(server_pubsub_subscribe_rt_level pubsub_realtime/server_pubsub_subscriber_rt_level.c)
if(NOT WIN32)
add_example(server_pubsub_publish_rt_level pubsub_realtime/server_pubsub_publisher_rt_level.c)
add_example(server_pubsub_rt_information_model pubsub_realtime/server_pubsub_rt_field_information_model.c)
add_example(server_pubsub_subscribe_rt_level pubsub_realtime/server_pubsub_subscriber_rt_level.c)
endif()
add_example(tutorial_pubsub_subscribe pubsub/tutorial_pubsub_subscribe.c)
if (BUILD_SHARED_LIBS)
message(WARNING "Build option BUILD_SHARED_LIBS not supported for standalone subscriber and realtime examples. Skipping these examples.")
Expand Down

0 comments on commit 14c7cc6

Please sign in to comment.