CMakeLists.linux-x86_64.txt 1.2 KB

12345678910111213141516171819202122232425262728
  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(restricted-aws-aws-c-compression)
  7. target_compile_options(restricted-aws-aws-c-compression PRIVATE
  8. -DAWS_COMMON_USE_IMPORT_EXPORT
  9. -DAWS_COMPRESSION_USE_IMPORT_EXPORT
  10. -DHAVE_SYSCONF
  11. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  12. )
  13. target_include_directories(restricted-aws-aws-c-compression PUBLIC
  14. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-compression/include
  15. )
  16. target_link_libraries(restricted-aws-aws-c-compression PUBLIC
  17. contrib-libs-linux-headers
  18. restricted-aws-aws-c-common
  19. )
  20. target_sources(restricted-aws-aws-c-compression PRIVATE
  21. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-compression/source/compression.c
  22. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-compression/source/huffman.c
  23. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-compression/source/huffman_testing.c
  24. )