diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-18 15:49:59 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-18 15:49:59 +0300 |
commit | b4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch) | |
tree | 6a64ab25a145265287789bceed3f59e953561206 /library/cpp/monlib/metrics/CMakeLists.txt | |
parent | 5e837a820d5be0671fa4096a1cc1e378453e5132 (diff) | |
download | ydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz |
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'library/cpp/monlib/metrics/CMakeLists.txt')
-rw-r--r-- | library/cpp/monlib/metrics/CMakeLists.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/library/cpp/monlib/metrics/CMakeLists.txt b/library/cpp/monlib/metrics/CMakeLists.txt new file mode 100644 index 0000000000..0f8487d84a --- /dev/null +++ b/library/cpp/monlib/metrics/CMakeLists.txt @@ -0,0 +1,28 @@ +add_library(cpp-monlib-metrics) +target_link_libraries(cpp-monlib-metrics PUBLIC + contrib-libs-cxxsupp + yutil + tools-enum_parser-enum_serialization_runtime +) +target_sources(cpp-monlib-metrics PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/ewma.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/fake.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_explicit.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_exponential.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_linear.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_snapshot.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/log_histogram_snapshot.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/labels.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_registry.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_consumer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_type.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/summary_snapshot.cpp +) +generate_enum_serilization(cpp-monlib-metrics + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value_type.h + GEN_HEADER + ${CMAKE_BINARY_DIR}/library/cpp/monlib/metrics/metric_value_type.h_serialized.h + INCLUDE_HEADERS + library/cpp/monlib/metrics/metric_value_type.h +) |