CMakeLists.darwin-x86_64.txt 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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(proto)
  7. get_built_tool_path(
  8. TOOL_enum_parser_bin
  9. TOOL_enum_parser_dependency
  10. tools/enum_parser/enum_parser
  11. enum_parser
  12. )
  13. add_library(library-cpp-unified_agent_client)
  14. target_include_directories(library-cpp-unified_agent_client PRIVATE
  15. ${CMAKE_SOURCE_DIR}/contrib/libs/grpc
  16. ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include
  17. )
  18. target_link_libraries(library-cpp-unified_agent_client PUBLIC
  19. contrib-libs-cxxsupp
  20. yutil
  21. contrib-libs-grpc
  22. cpp-logger-global
  23. cpp-threading-future
  24. cpp-monlib-dynamic_counters
  25. cpp-unified_agent_client-proto
  26. tools-enum_parser-enum_serialization_runtime
  27. )
  28. target_sources(library-cpp-unified_agent_client PRIVATE
  29. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/backend.cpp
  30. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/backend_creator.cpp
  31. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/client_impl.cpp
  32. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/counters.cpp
  33. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/helpers.cpp
  34. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/grpc_io.cpp
  35. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/grpc_status_code.cpp
  36. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/clock.cpp
  37. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/duration_counter.cpp
  38. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/logger.cpp
  39. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/throttling.cpp
  40. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/proto_weighing.cpp
  41. )
  42. generate_enum_serilization(library-cpp-unified_agent_client
  43. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/grpc_io.h
  44. INCLUDE_HEADERS
  45. library/cpp/unified_agent_client/grpc_io.h
  46. )
  47. add_global_library_for(library-cpp-unified_agent_client.global library-cpp-unified_agent_client)
  48. target_include_directories(library-cpp-unified_agent_client.global PRIVATE
  49. ${CMAKE_SOURCE_DIR}/contrib/libs/grpc
  50. ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include
  51. )
  52. target_link_libraries(library-cpp-unified_agent_client.global PUBLIC
  53. contrib-libs-cxxsupp
  54. yutil
  55. contrib-libs-grpc
  56. cpp-logger-global
  57. cpp-threading-future
  58. cpp-monlib-dynamic_counters
  59. cpp-unified_agent_client-proto
  60. tools-enum_parser-enum_serialization_runtime
  61. )
  62. target_sources(library-cpp-unified_agent_client.global PRIVATE
  63. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/registrar.cpp
  64. )