aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/sasl/CMakeLists.darwin-x86_64.txt
blob: ef6e652888f7ce26e79efced1bf346b6c1a3b9fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.


find_package(OpenSSL REQUIRED)

add_library(contrib-libs-sasl)
target_compile_options(contrib-libs-sasl PRIVATE
  -DCONFIGDIR="/tmp/yamaker/sasl/out/lib/sasl2:/var/empty/cyrus-sasl-2.1.28/etc/sasl2"
  -DHAVE_CONFIG_H
  -DOBSOLETE_CRAM_ATTR=1
  -DOBSOLETE_DIGEST_ATTR=1
  -DPLUGINDIR="/tmp/yamaker/sasl/out/lib/sasl2"
  $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-sasl PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/common
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/include
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/sasldb
)
target_link_libraries(contrib-libs-sasl PUBLIC
  OpenSSL::OpenSSL
)
target_sources(contrib-libs-sasl PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/common/plugin_common.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/auxprop.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/canonusr.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/checkpw.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/client.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/common.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/config.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/dlopen.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/external.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/md5.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/saslutil.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/server.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/lib/seterror.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/anonymous.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/cram.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/digestmd5.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/otp.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/plain.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/sasldb.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/plugins/scram.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/sasl/sasldb/db_none.c
)