CMakeLists.darwin-x86_64.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. add_subdirectory(buffered)
  7. add_subdirectory(json)
  8. add_subdirectory(legacy_protobuf)
  9. add_subdirectory(prometheus)
  10. add_subdirectory(spack)
  11. add_subdirectory(text)
  12. get_built_tool_path(
  13. TOOL_enum_parser_bin
  14. TOOL_enum_parser_dependency
  15. tools/enum_parser/enum_parser
  16. enum_parser
  17. )
  18. add_library(cpp-monlib-encode)
  19. target_link_libraries(cpp-monlib-encode PUBLIC
  20. contrib-libs-cxxsupp
  21. yutil
  22. cpp-monlib-metrics
  23. tools-enum_parser-enum_serialization_runtime
  24. )
  25. target_sources(cpp-monlib-encode PRIVATE
  26. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder.cpp
  27. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state.cpp
  28. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/format.cpp
  29. )
  30. generate_enum_serilization(cpp-monlib-encode
  31. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state_enum.h
  32. GEN_HEADER
  33. ${CMAKE_BINARY_DIR}/library/cpp/monlib/encode/encoder_state_enum.h_serialized.h
  34. INCLUDE_HEADERS
  35. library/cpp/monlib/encode/encoder_state_enum.h
  36. )