CMakeLists.linux.txt 2.7 KB

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