CMakeLists.linux-x86_64.txt 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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-s3)
  7. target_compile_options(restricted-aws-aws-c-s3 PRIVATE
  8. -DAWS_AUTH_USE_IMPORT_EXPORT
  9. -DAWS_CAL_USE_IMPORT_EXPORT
  10. -DAWS_CHECKSUMS_USE_IMPORT_EXPORT
  11. -DAWS_COMMON_USE_IMPORT_EXPORT
  12. -DAWS_COMPRESSION_USE_IMPORT_EXPORT
  13. -DAWS_HTTP_USE_IMPORT_EXPORT
  14. -DAWS_IO_USE_IMPORT_EXPORT
  15. -DAWS_S3_USE_IMPORT_EXPORT
  16. -DAWS_SDKUTILS_USE_IMPORT_EXPORT
  17. -DAWS_USE_EPOLL
  18. -DCJSON_HIDE_SYMBOLS
  19. -DHAVE_SYSCONF
  20. -DS2N_CLONE_SUPPORTED
  21. -DS2N_CPUID_AVAILABLE
  22. -DS2N_FALL_THROUGH_SUPPORTED
  23. -DS2N_FEATURES_AVAILABLE
  24. -DS2N_KYBER512R3_AVX2_BMI2
  25. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH
  26. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX
  27. -DS2N_LIBCRYPTO_SUPPORTS_EVP_RC4
  28. -DS2N_MADVISE_SUPPORTED
  29. -DS2N_PLATFORM_SUPPORTS_KTLS
  30. -DS2N_STACKTRACE
  31. -DS2N___RESTRICT__SUPPORTED
  32. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  33. )
  34. target_include_directories(restricted-aws-aws-c-s3 PUBLIC
  35. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/include
  36. )
  37. target_link_libraries(restricted-aws-aws-c-s3 PUBLIC
  38. contrib-libs-linux-headers
  39. restricted-aws-aws-c-auth
  40. restricted-aws-aws-c-cal
  41. restricted-aws-aws-c-common
  42. restricted-aws-aws-c-http
  43. restricted-aws-aws-c-io
  44. restricted-aws-aws-c-sdkutils
  45. restricted-aws-aws-checksums
  46. )
  47. target_sources(restricted-aws-aws-c-s3 PRIVATE
  48. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3.c
  49. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_auto_ranged_get.c
  50. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_auto_ranged_put.c
  51. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_checksum_stream.c
  52. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_checksums.c
  53. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_chunk_stream.c
  54. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_client.c
  55. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_copy_object.c
  56. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_default_meta_request.c
  57. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_endpoint.c
  58. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_list_objects.c
  59. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_list_parts.c
  60. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_meta_request.c
  61. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_paginator.c
  62. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_request.c
  63. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_request_messages.c
  64. ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-s3/source/s3_util.c
  65. )