CMakeLists.darwin.txt 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. find_package(OpenSSL REQUIRED)
  7. add_library(libs-poco-Crypto)
  8. target_compile_options(libs-poco-Crypto PRIVATE
  9. -DPOCO_ENABLE_CPP11
  10. -DPOCO_ENABLE_CPP14
  11. -DPOCO_NO_AUTOMATIC_LIBS
  12. -DPOCO_UNBUNDLED
  13. -DPOCO_OS_FAMILY_UNIX
  14. -DPOCO_NO_STAT64
  15. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  16. )
  17. target_include_directories(libs-poco-Crypto PUBLIC
  18. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include
  19. )
  20. target_include_directories(libs-poco-Crypto PRIVATE
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
  23. )
  24. target_link_libraries(libs-poco-Crypto PUBLIC
  25. contrib-libs-cxxsupp
  26. OpenSSL::OpenSSL
  27. libs-poco-Foundation
  28. )
  29. target_sources(libs-poco-Crypto PRIVATE
  30. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/Cipher.cpp
  31. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherFactory.cpp
  32. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherImpl.cpp
  33. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherKey.cpp
  34. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherKeyImpl.cpp
  35. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoException.cpp
  36. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoStream.cpp
  37. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoTransform.cpp
  38. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/DigestEngine.cpp
  39. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECDSADigestEngine.cpp
  40. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECKey.cpp
  41. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECKeyImpl.cpp
  42. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/EVPPKey.cpp
  43. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/KeyPair.cpp
  44. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/KeyPairImpl.cpp
  45. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/OpenSSLInitializer.cpp
  46. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/PKCS12Container.cpp
  47. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSACipherImpl.cpp
  48. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSADigestEngine.cpp
  49. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSAKey.cpp
  50. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSAKeyImpl.cpp
  51. ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/X509Certificate.cpp
  52. )