CMakeLists.linux-aarch64.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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-linux-headers
  21. contrib-libs-cxxsupp
  22. yutil
  23. cpp-monlib-metrics
  24. tools-enum_parser-enum_serialization_runtime
  25. )
  26. target_sources(cpp-monlib-encode PRIVATE
  27. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder.cpp
  28. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state.cpp
  29. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/format.cpp
  30. )
  31. generate_enum_serilization(cpp-monlib-encode
  32. ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state_enum.h
  33. GEN_HEADER
  34. ${CMAKE_BINARY_DIR}/library/cpp/monlib/encode/encoder_state_enum.h_serialized.h
  35. INCLUDE_HEADERS
  36. library/cpp/monlib/encode/encoder_state_enum.h
  37. )