aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/unified_agent_client/CMakeLists.linux-aarch64.txt
blob: 01a8bd743dec61663e1600ce0fb815e349aa322a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.


add_subdirectory(proto)

add_library(library-cpp-unified_agent_client)
target_include_directories(library-cpp-unified_agent_client PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/grpc
  ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include
)
target_link_libraries(library-cpp-unified_agent_client PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  contrib-libs-grpc
  cpp-logger-global
  cpp-threading-future
  cpp-monlib-dynamic_counters
  cpp-unified_agent_client-proto
  tools-enum_parser-enum_serialization_runtime
)
target_sources(library-cpp-unified_agent_client PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/backend.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/backend_creator.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/client_impl.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/counters.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/helpers.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/grpc_io.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/grpc_status_code.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/clock.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/duration_counter.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/logger.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/throttling.cpp
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/proto_weighing.cpp
)
generate_enum_serilization(library-cpp-unified_agent_client
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/grpc_io.h
  INCLUDE_HEADERS
  library/cpp/unified_agent_client/grpc_io.h
)

add_global_library_for(library-cpp-unified_agent_client.global library-cpp-unified_agent_client)
target_include_directories(library-cpp-unified_agent_client.global PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/grpc
  ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include
)
target_link_libraries(library-cpp-unified_agent_client.global PUBLIC
  contrib-libs-linux-headers
  contrib-libs-cxxsupp
  yutil
  contrib-libs-grpc
  cpp-logger-global
  cpp-threading-future
  cpp-monlib-dynamic_counters
  cpp-unified_agent_client-proto
  tools-enum_parser-enum_serialization_runtime
)
target_sources(library-cpp-unified_agent_client.global PRIVATE
  ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/registrar.cpp
)