CMakeLists.darwin-x86_64.txt 1.1 KB

123456789101112131415161718192021222324252627
  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-checksums)
  7. target_compile_options(restricted-aws-aws-checksums PRIVATE
  8. -DAWS_CHECKSUMS_USE_IMPORT_EXPORT
  9. -DAWS_COMMON_USE_IMPORT_EXPORT
  10. -DHAVE_SYSCONF
  11. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  12. )
  13. target_include_directories(restricted-aws-aws-checksums PUBLIC
  14. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-checksums/include
  15. )
  16. target_link_libraries(restricted-aws-aws-checksums PUBLIC
  17. restricted-aws-aws-c-common
  18. )
  19. target_sources(restricted-aws-aws-checksums PRIVATE
  20. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-checksums/source/crc.c
  21. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-checksums/source/crc_sw.c
  22. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-checksums/source/intel/asm/crc32c_sse42_asm.c
  23. )