CMakeLists.linux-x86_64.txt 972 B

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