CMakeLists.darwin-arm64.txt 1.4 KB

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