CMakeLists.linux-x86_64.txt 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # This file was generated by the build system used internally in the Yandex monorepo.
  2. # Only simple modifications are allowed (adding source-files to targets, adding simple properties
  3. # like target_include_directories). These modifications will be ported to original
  4. # ya.make files by maintainers. Any complex modifications which can't be ported back to the
  5. # original buildsystem will not be accepted.
  6. get_built_tool_path(
  7. TOOL_enum_parser_bin
  8. TOOL_enum_parser_dependency
  9. tools/enum_parser/enum_parser
  10. enum_parser
  11. )
  12. add_library(cpp-monlib-metrics)
  13. target_link_libraries(cpp-monlib-metrics PUBLIC
  14. contrib-libs-linux-headers
  15. contrib-libs-cxxsupp
  16. yutil
  17. tools-enum_parser-enum_serialization_runtime
  18. )
  19. target_sources(cpp-monlib-metrics PRIVATE
  20. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/ewma.cpp
  21. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/fake.cpp
  22. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_explicit.cpp
  23. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_exponential.cpp
  24. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_linear.cpp
  25. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_snapshot.cpp
  26. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/log_histogram_snapshot.cpp
  27. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/labels.cpp
  28. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_registry.cpp
  29. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_consumer.cpp
  30. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_type.cpp
  31. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value.cpp
  32. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/summary_collector.cpp
  33. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/summary_snapshot.cpp
  34. )
  35. generate_enum_serilization(cpp-monlib-metrics
  36. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value_type.h
  37. GEN_HEADER
  38. ${CMAKE_BINARY_DIR}/library/cpp/monlib/metrics/metric_value_type.h_serialized.h
  39. INCLUDE_HEADERS
  40. library/cpp/monlib/metrics/metric_value_type.h
  41. )