CMakeLists.linux-x86_64.txt 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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(contrib-libs-sasl)
  7. target_compile_options(contrib-libs-sasl PRIVATE
  8. -DCONFIGDIR="/tmp/yamaker/sasl/out/lib/sasl2:/var/empty/cyrus-sasl-2.1.28/etc/sasl2"
  9. -DHAVE_CONFIG_H
  10. -DOBSOLETE_CRAM_ATTR=1
  11. -DOBSOLETE_DIGEST_ATTR=1
  12. -DPLUGINDIR="/tmp/yamaker/sasl/out/lib/sasl2"
  13. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  14. )
  15. target_include_directories(contrib-libs-sasl PRIVATE
  16. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl
  17. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/common
  18. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/include
  19. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/sasldb
  22. )
  23. target_link_libraries(contrib-libs-sasl PUBLIC
  24. contrib-libs-linux-headers
  25. contrib-libs-openssl
  26. )
  27. target_sources(contrib-libs-sasl PRIVATE
  28. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/common/plugin_common.c
  29. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/auxprop.c
  30. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/canonusr.c
  31. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/checkpw.c
  32. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/client.c
  33. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/common.c
  34. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/config.c
  35. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/dlopen.c
  36. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/external.c
  37. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/md5.c
  38. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/saslutil.c
  39. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/server.c
  40. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/seterror.c
  41. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/anonymous.c
  42. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/cram.c
  43. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/digestmd5.c
  44. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/otp.c
  45. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/plain.c
  46. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/sasldb.c
  47. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/scram.c
  48. ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/sasldb/db_none.c
  49. )