]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/sdk/test/metrics/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / sdk / test / metrics / CMakeLists.txt
1 foreach(
2 testname
3 meter_provider_sdk_test
4 view_registry_test
5 aggregation_test
6 attributes_processor_test
7 attributes_hashmap_test
8 sync_metric_storage_test
9 async_metric_storage_test
10 multi_metric_storage_test
11 observer_result_test
12 sync_instruments_test
13 async_instruments_test
14 metric_reader_test
15 periodic_exporting_metric_reader_test)
16 add_executable(${testname} "${testname}.cc")
17 target_link_libraries(
18 ${testname} ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}
19 opentelemetry_resources opentelemetry_metrics)
20 gtest_add_tests(
21 TARGET ${testname}
22 TEST_PREFIX metrics.
23 TEST_LIST ${testname})
24 endforeach()
25
26 add_executable(attributes_processor_benchmark attributes_processor_benchmark.cc)
27 target_link_libraries(attributes_processor_benchmark benchmark::benchmark
28 ${CMAKE_THREAD_LIBS_INIT} opentelemetry_common)
29
30 add_executable(attributes_hashmap_benchmark attributes_hashmap_benchmark.cc)
31 target_link_libraries(attributes_hashmap_benchmark benchmark::benchmark
32 ${CMAKE_THREAD_LIBS_INIT} opentelemetry_common)
33
34 add_subdirectory(exemplar)