CMakeLists.linux-aarch64.txt 1.4 KB

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