CMakeLists.linux-x86_64.txt 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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(libs-brotli-enc)
  7. target_compile_options(libs-brotli-enc PRIVATE
  8. -DBROTLI_BUILD_PORTABLE
  9. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  10. )
  11. target_include_directories(libs-brotli-enc PUBLIC
  12. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/include
  13. )
  14. target_link_libraries(libs-brotli-enc PUBLIC
  15. contrib-libs-linux-headers
  16. contrib-libs-cxxsupp
  17. libs-brotli-common
  18. libs-brotli-dec
  19. )
  20. target_sources(libs-brotli-enc PRIVATE
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/backward_references.c
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/backward_references_hq.c
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/bit_cost.c
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/block_splitter.c
  25. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/brotli_bit_stream.c
  26. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/cluster.c
  27. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/compress_fragment.c
  28. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/compress_fragment_two_pass.c
  29. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/dictionary_hash.c
  30. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/encode.c
  31. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/encoder_dict.c
  32. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/entropy_encode.c
  33. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/histogram.c
  34. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/literal_cost.c
  35. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/memory.c
  36. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/metablock.c
  37. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/static_dict.c
  38. ${CMAKE_SOURCE_DIR}/contrib/libs/brotli/enc/utf8_util.c
  39. )