CMakeLists.linux-x86_64.txt 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. add_library(contrib-libs-zstd)
  7. target_compile_options(contrib-libs-zstd PRIVATE
  8. -DZSTD_LEGACY_SUPPORT=1
  9. -DZSTD_MULTITHREAD
  10. -DDYNAMIC_BMI2
  11. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  12. )
  13. target_include_directories(contrib-libs-zstd PRIVATE
  14. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib
  15. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common
  16. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy
  17. )
  18. target_link_libraries(contrib-libs-zstd PUBLIC
  19. contrib-libs-linux-headers
  20. contrib-libs-xxhash
  21. )
  22. target_sources(contrib-libs-zstd PRIVATE
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/huf_decompress_amd64.S
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/debug.c
  25. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/entropy_common.c
  26. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/error_private.c
  27. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/fse_decompress.c
  28. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/pool.c
  29. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/threading.c
  30. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/common/zstd_common.c
  31. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/fse_compress.c
  32. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/hist.c
  33. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/huf_compress.c
  34. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress.c
  35. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_literals.c
  36. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_sequences.c
  37. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_compress_superblock.c
  38. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_double_fast.c
  39. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_fast.c
  40. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_lazy.c
  41. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_ldm.c
  42. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstd_opt.c
  43. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/compress/zstdmt_compress.c
  44. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/huf_decompress.c
  45. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_ddict.c
  46. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_decompress.c
  47. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/decompress/zstd_decompress_block.c
  48. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/cover.c
  49. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/divsufsort.c
  50. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/fastcover.c
  51. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/dictBuilder/zdict.c
  52. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v01.c
  53. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v02.c
  54. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v03.c
  55. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v04.c
  56. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v05.c
  57. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v06.c
  58. ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/lib/legacy/zstd_v07.c
  59. )