CMakeLists.darwin-x86_64.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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_protoc_bin
  8. TOOL_protoc_dependency
  9. contrib/tools/protoc/bin
  10. protoc
  11. )
  12. get_built_tool_path(
  13. TOOL_cpp_styleguide_bin
  14. TOOL_cpp_styleguide_dependency
  15. contrib/tools/protoc/plugins/cpp_styleguide
  16. cpp_styleguide
  17. )
  18. add_library(cpp-retry-protos)
  19. target_link_libraries(cpp-retry-protos PUBLIC
  20. contrib-libs-cxxsupp
  21. yutil
  22. contrib-libs-protobuf
  23. )
  24. target_proto_messages(cpp-retry-protos PRIVATE
  25. ${CMAKE_SOURCE_DIR}/library/cpp/retry/protos/retry_options.proto
  26. )
  27. target_proto_addincls(cpp-retry-protos
  28. ./
  29. ${CMAKE_SOURCE_DIR}/
  30. ${CMAKE_BINARY_DIR}
  31. ${CMAKE_SOURCE_DIR}
  32. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
  33. ${CMAKE_BINARY_DIR}
  34. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
  35. )
  36. target_proto_outs(cpp-retry-protos
  37. --cpp_out=${CMAKE_BINARY_DIR}/
  38. --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
  39. )