CMakeLists.darwin-x86_64.txt 943 B

1234567891011121314151617181920212223242526272829303132333435
  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-base64-avx2)
  7. target_link_libraries(libs-base64-avx2 PUBLIC
  8. contrib-libs-cxxsupp
  9. )
  10. target_sources(libs-base64-avx2 PRIVATE
  11. ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/codec_avx2.c
  12. ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/lib.c
  13. )
  14. set_property(
  15. SOURCE
  16. ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/codec_avx2.c
  17. APPEND
  18. PROPERTY
  19. COMPILE_OPTIONS
  20. -mavx2
  21. -std=c11
  22. )
  23. set_property(
  24. SOURCE
  25. ${CMAKE_SOURCE_DIR}/contrib/libs/base64/avx2/lib.c
  26. APPEND
  27. PROPERTY
  28. COMPILE_OPTIONS
  29. -mavx2
  30. -std=c11
  31. )