aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/thrift/CMakeLists.linux.txt
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
committerthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
commit0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch)
tree4d8a246db168f7beaafcd06d486c034115c2123d /contrib/restricted/thrift/CMakeLists.linux.txt
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'contrib/restricted/thrift/CMakeLists.linux.txt')
-rw-r--r--contrib/restricted/thrift/CMakeLists.linux.txt85
1 files changed, 85 insertions, 0 deletions
diff --git a/contrib/restricted/thrift/CMakeLists.linux.txt b/contrib/restricted/thrift/CMakeLists.linux.txt
new file mode 100644
index 0000000000..93a7eb70d2
--- /dev/null
+++ b/contrib/restricted/thrift/CMakeLists.linux.txt
@@ -0,0 +1,85 @@
+
+# This file was gererated 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-linux-headers
+ contrib-libs-cxxsupp
+ contrib-libs-libevent
+ OpenSSL::OpenSSL
+ ZLIB::ZLIB
+ contrib-restricted-boost
+ restricted-boost-interprocess
+ restricted-boost-locale
+ 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
+)