CMakeLists.darwin-x86_64.txt 1.2 KB

1234567891011121314151617181920212223242526272829
  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. find_package(ZLIB REQUIRED)
  7. add_library(contrib-libs-hdr_histogram)
  8. target_compile_options(contrib-libs-hdr_histogram PRIVATE
  9. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  10. )
  11. target_include_directories(contrib-libs-hdr_histogram PRIVATE
  12. ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src
  13. )
  14. target_link_libraries(contrib-libs-hdr_histogram PUBLIC
  15. contrib-libs-cxxsupp
  16. ZLIB::ZLIB
  17. )
  18. target_sources(contrib-libs-hdr_histogram PRIVATE
  19. ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_encoding.c
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_interval_recorder.c
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_histogram.c
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_writer_reader_phaser.c
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_time.c
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_thread.c
  25. )