aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/metrics/CMakeLists.txt
blob: 50001ff0dad332a022b14b7886a4504a43a0c8ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This file was gererated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.



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
)