CMakeLists.linux-aarch64.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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-porto-proto)
  19. target_link_libraries(cpp-porto-proto PUBLIC
  20. contrib-libs-linux-headers
  21. contrib-libs-cxxsupp
  22. yutil
  23. contrib-libs-protobuf
  24. )
  25. target_proto_messages(cpp-porto-proto PRIVATE
  26. ${CMAKE_SOURCE_DIR}/library/cpp/porto/proto/rpc.proto
  27. )
  28. target_proto_addincls(cpp-porto-proto
  29. ./
  30. ${CMAKE_SOURCE_DIR}/
  31. ${CMAKE_BINARY_DIR}
  32. ${CMAKE_SOURCE_DIR}
  33. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
  34. ${CMAKE_BINARY_DIR}
  35. ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
  36. )
  37. target_proto_outs(cpp-porto-proto
  38. --cpp_out=${CMAKE_BINARY_DIR}/
  39. --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
  40. )