aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/thrift/CMakeLists.darwin.txt
blob: a60784163df30fde30a06833a8728c4e9e594e06 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# 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)
find_package(ZLIB REQUIRED)

add_library(contrib-restricted-thrift)
target_compile_options(contrib-restricted-thrift PRIVATE
  -Wno-deprecated-declarations
  -Wno-unused-function
  -Wno-unused-parameter
  -Wno-unused-private-field
  -Wno-unused-variable
  -Wno-everything
)
target_include_directories(contrib-restricted-thrift PUBLIC
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift
)
target_link_libraries(contrib-restricted-thrift PUBLIC
  contrib-libs-cxxsupp
  contrib-libs-libevent
  OpenSSL::OpenSSL
  ZLIB::ZLIB
  restricted-boost-interprocess
  restricted-boost-locale
  restricted-boost-math
  restricted-boost-system
  restricted-boost-thread
)
target_sources(contrib-restricted-thrift PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/TApplicationException.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/TOutput.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/VirtualProfiling.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/async/TAsyncChannel.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/async/TAsyncProtocolProcessor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/async/TConcurrentClientSyncInfo.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/async/TEvhttpClientChannel.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/async/TEvhttpServer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/concurrency/StdMonitor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/concurrency/StdMutex.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/concurrency/StdThreadFactory.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/concurrency/ThreadManager.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/concurrency/TimerManager.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/concurrency/Util.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/processor/PeekProcessor.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/protocol/TBase64Utils.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/protocol/TDebugProtocol.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/protocol/THeaderProtocol.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/protocol/TJSONProtocol.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/protocol/TMultiplexedProtocol.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/protocol/TProtocol.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TConnectedClient.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TNonblockingServer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TServer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TServerFramework.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TSimpleServer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TThreadPoolServer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/server/TThreadedServer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TBufferTransports.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TFDTransport.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TFileTransport.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/THeaderTransport.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/THttpClient.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/THttpServer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/THttpTransport.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TNonblockingSSLServerSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TNonblockingServerSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TPipe.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TPipeServer.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TSSLServerSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TSSLSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TServerSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TSimpleFileTransport.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TSocket.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TSocketPool.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TTransportException.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TTransportUtils.cpp
  ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/transport/TZlibTransport.cpp
)