CMakeLists.linux-x86_64.txt 1.3 KB

123456789101112131415161718192021222324252627282930
  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-linux-headers
  16. contrib-libs-cxxsupp
  17. ZLIB::ZLIB
  18. )
  19. target_sources(contrib-libs-hdr_histogram PRIVATE
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_encoding.c
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_interval_recorder.c
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_histogram.c
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_writer_reader_phaser.c
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_time.c
  25. ${CMAKE_SOURCE_DIR}/contrib/libs/hdr_histogram/src/hdr_thread.c
  26. )