CMakeLists.linux-aarch64.txt 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. get_built_tool_path(
  7. TOOL_grpc_cpp_bin
  8. TOOL_grpc_cpp_dependency
  9. contrib/tools/protoc/plugins/grpc_cpp
  10. grpc_cpp
  11. )
  12. get_built_tool_path(
  13. TOOL_protoc_bin
  14. TOOL_protoc_dependency
  15. contrib/tools/protoc/bin
  16. protoc
  17. )
  18. get_built_tool_path(
  19. TOOL_cpp_styleguide_bin
  20. TOOL_cpp_styleguide_dependency
  21. contrib/tools/protoc/plugins/cpp_styleguide
  22. cpp_styleguide
  23. )
  24. get_built_tool_path(
  25. TOOL_enum_parser_bin
  26. TOOL_enum_parser_dependency
  27. tools/enum_parser/enum_parser
  28. enum_parser
  29. )
  30. add_library(cpp-unified_agent_client-proto)
  31. set_property(TARGET cpp-unified_agent_client-proto PROPERTY
  32. PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
  33. )
  34. target_link_libraries(cpp-unified_agent_client-proto PUBLIC
  35. contrib-libs-linux-headers
  36. contrib-libs-cxxsupp
  37. yutil
  38. contrib-libs-grpc
  39. tools-enum_parser-enum_serialization_runtime
  40. contrib-libs-protobuf
  41. )
  42. target_proto_messages(cpp-unified_agent_client-proto PRIVATE
  43. ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/proto/unified_agent.proto
  44. )
  45. generate_enum_serilization(cpp-unified_agent_client-proto
  46. ${CMAKE_BINARY_DIR}/library/cpp/unified_agent_client/proto/unified_agent.pb.h
  47. INCLUDE_HEADERS
  48. library/cpp/unified_agent_client/proto/unified_agent.pb.h
  49. )
  50. target_proto_addincls(cpp-unified_agent_client-proto
  51. ./
  52. ${CMAKE_SOURCE_DIR}/
  53. ${CMAKE_BINARY_DIR}
  54. ${CMAKE_SOURCE_DIR}
  55. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
  56. ${CMAKE_BINARY_DIR}
  57. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
  58. )
  59. target_proto_outs(cpp-unified_agent_client-proto
  60. --cpp_out=${CMAKE_BINARY_DIR}/
  61. --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
  62. )
  63. target_proto_plugin(cpp-unified_agent_client-proto
  64. grpc_cpp
  65. grpc_cpp
  66. )