diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-09 12:42:44 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-09 12:42:44 +0300 |
commit | 6324d075a5e80b6943b5de6b465b775050fe83df (patch) | |
tree | e02ce32e988042438f64df770a528164ac572879 /contrib/restricted/thrift | |
parent | 039e25e1597bec288de44e5061c1b84e195add08 (diff) | |
download | ydb-6324d075a5e80b6943b5de6b465b775050fe83df.tar.gz |
Intermediate changes
Diffstat (limited to 'contrib/restricted/thrift')
-rw-r--r-- | contrib/restricted/thrift/CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/restricted/thrift/CMakeLists.windows-x86_64.txt | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/contrib/restricted/thrift/CMakeLists.txt b/contrib/restricted/thrift/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/contrib/restricted/thrift/CMakeLists.txt +++ b/contrib/restricted/thrift/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/contrib/restricted/thrift/CMakeLists.windows-x86_64.txt b/contrib/restricted/thrift/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..49af3f246b --- /dev/null +++ b/contrib/restricted/thrift/CMakeLists.windows-x86_64.txt @@ -0,0 +1,85 @@ + +# 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 + $<IF:$<CXX_COMPILER_ID:MSVC>,,-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 + restricted-boost-scope_exit +) +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 + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/windows/GetTimeOfDay.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/windows/OverlappedSubmissionThread.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/windows/SocketPair.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/windows/TWinsockSingleton.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/thrift/thrift/windows/WinFcntl.cpp +) |