CMakeLists.darwin-x86_64.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  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-crcutil)
  7. target_compile_options(contrib-libs-crcutil PRIVATE
  8. -DCRCUTIL_USE_MM_CRC32=1
  9. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  10. )
  11. target_link_libraries(contrib-libs-crcutil PUBLIC
  12. contrib-libs-cxxsupp
  13. )
  14. target_sources(contrib-libs-crcutil PRIVATE
  15. ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_gcc_i386_mmx.cc
  16. ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_128_64_gcc_amd64_sse2.cc
  17. ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_gcc_amd64_asm.cc
  18. ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/interface.cc
  19. ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/multiword_64_64_intrinsic_i386_mmx.cc
  20. )
  21. target_sources_custom(contrib-libs-crcutil
  22. .sse4
  23. SRCS
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/crcutil/crc32c_sse4.cc
  25. CUSTOM_FLAGS
  26. -msse4.1
  27. -msse4.2
  28. -mpopcnt
  29. -mcx16
  30. )