CMakeLists.linux-aarch64.txt 1006 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-neon64)
  7. target_link_libraries(libs-base64-neon64 PUBLIC
  8. contrib-libs-linux-headers
  9. contrib-libs-cxxsupp
  10. )
  11. target_sources(libs-base64-neon64 PRIVATE
  12. ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/codec_neon64.c
  13. ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/lib.c
  14. )
  15. set_property(
  16. SOURCE
  17. ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/codec_neon64.c
  18. APPEND
  19. PROPERTY
  20. COMPILE_OPTIONS
  21. -march=armv8-a
  22. -std=c11
  23. )
  24. set_property(
  25. SOURCE
  26. ${CMAKE_SOURCE_DIR}/contrib/libs/base64/neon64/lib.c
  27. APPEND
  28. PROPERTY
  29. COMPILE_OPTIONS
  30. -march=armv8-a
  31. -std=c11
  32. )