CMakeLists.darwin-arm64.txt 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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-c-cal)
  7. target_compile_options(restricted-aws-aws-c-cal PRIVATE
  8. -DAWS_CAL_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-c-cal PUBLIC
  14. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/include
  15. )
  16. target_link_libraries(restricted-aws-aws-c-cal PUBLIC
  17. contrib-libs-openssl
  18. restricted-aws-aws-c-common
  19. )
  20. target_link_options(restricted-aws-aws-c-cal INTERFACE
  21. -framework
  22. Security
  23. )
  24. target_sources(restricted-aws-aws-c-cal PRIVATE
  25. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/cal.c
  26. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/der.c
  27. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/ecc.c
  28. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/hash.c
  29. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/hmac.c
  30. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/symmetric_cipher.c
  31. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/commoncrypto_aes.c
  32. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/commoncrypto_hmac.c
  33. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/commoncrypto_md5.c
  34. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/commoncrypto_platform_init.c
  35. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/commoncrypto_sha1.c
  36. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/commoncrypto_sha256.c
  37. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-cal/source/darwin/securityframework_ecc.c
  38. )