CMakeLists.darwin-arm64.txt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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-event-stream)
  7. target_compile_options(restricted-aws-aws-c-event-stream PRIVATE
  8. -DAWS_CAL_USE_IMPORT_EXPORT
  9. -DAWS_CHECKSUMS_USE_IMPORT_EXPORT
  10. -DAWS_COMMON_USE_IMPORT_EXPORT
  11. -DAWS_EVENT_STREAM_USE_IMPORT_EXPORT
  12. -DAWS_IO_USE_IMPORT_EXPORT
  13. -DAWS_USE_EPOLL
  14. -DHAVE_SYSCONF
  15. -DS2N_CLONE_SUPPORTED
  16. -DS2N_CPUID_AVAILABLE
  17. -DS2N_FALL_THROUGH_SUPPORTED
  18. -DS2N_FEATURES_AVAILABLE
  19. -DS2N_KYBER512R3_AVX2_BMI2
  20. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH
  21. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX
  22. -DS2N_LIBCRYPTO_SUPPORTS_EVP_RC4
  23. -DS2N_MADVISE_SUPPORTED
  24. -DS2N_PLATFORM_SUPPORTS_KTLS
  25. -DS2N_STACKTRACE
  26. -DS2N___RESTRICT__SUPPORTED
  27. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  28. )
  29. target_include_directories(restricted-aws-aws-c-event-stream PUBLIC
  30. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/include
  31. )
  32. target_link_libraries(restricted-aws-aws-c-event-stream PUBLIC
  33. restricted-aws-aws-c-common
  34. restricted-aws-aws-c-io
  35. restricted-aws-aws-checksums
  36. )
  37. target_sources(restricted-aws-aws-c-event-stream PRIVATE
  38. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream.c
  39. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream_channel_handler.c
  40. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream_rpc.c
  41. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream_rpc_client.c
  42. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream_rpc_server.c
  43. )