CMakeLists.linux-aarch64.txt 1.3 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-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_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. )