File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -287,6 +287,10 @@ option(WITH_ASYNC_EXPORT_PREVIEW "Whether to enable async export" OFF)
287287option (WITH_METRICS_EXEMPLAR_PREVIEW
288288 "Whether to enable exemplar within metrics" OFF )
289289
290+ option (OPENTELEMETRY_SKIP_DYNAMIC_LOADING_TESTS
291+ "Whether to build test libraries that are always linked as shared libs"
292+ OFF )
293+
290294#
291295# Verify options dependencies
292296#
Original file line number Diff line number Diff line change @@ -10,4 +10,7 @@ add_subdirectory(metrics)
1010add_subdirectory (logs)
1111add_subdirectory (common)
1212add_subdirectory (baggage)
13- add_subdirectory (singleton)
13+
14+ if (NOT OPENTELEMETRY_SKIP_DYNAMIC_LOADING_TESTS)
15+ add_subdirectory (singleton)
16+ endif ()
Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: Apache-2.0
33
44add_subdirectory (load)
5- add_subdirectory (plugin)
5+
6+ if (NOT OPENTELEMETRY_SKIP_DYNAMIC_LOADING_TESTS)
7+ add_subdirectory (plugin)
8+ endif ()
You can’t perform that action at this time.
0 commit comments