aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
commitb4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch)
tree6a64ab25a145265287789bceed3f59e953561206 /contrib/libs/poco
parent5e837a820d5be0671fa4096a1cc1e378453e5132 (diff)
downloadydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'contrib/libs/poco')
-rw-r--r--contrib/libs/poco/Crypto/CMakeLists.txt40
-rw-r--r--contrib/libs/poco/Foundation/CMakeLists.txt173
-rw-r--r--contrib/libs/poco/JSON/CMakeLists.txt28
-rw-r--r--contrib/libs/poco/Net/CMakeLists.txt119
-rw-r--r--contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt53
-rw-r--r--contrib/libs/poco/Util/CMakeLists.txt48
-rw-r--r--contrib/libs/poco/XML/CMakeLists.txt89
7 files changed, 550 insertions, 0 deletions
diff --git a/contrib/libs/poco/Crypto/CMakeLists.txt b/contrib/libs/poco/Crypto/CMakeLists.txt
new file mode 100644
index 0000000000..39f64a1c98
--- /dev/null
+++ b/contrib/libs/poco/Crypto/CMakeLists.txt
@@ -0,0 +1,40 @@
+find_package(OpenSSL)
+
+add_library(libs-poco-Crypto)
+target_include_directories(libs-poco-Crypto PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include
+)
+target_include_directories(libs-poco-Crypto PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+)
+target_link_libraries(libs-poco-Crypto PUBLIC
+ contrib-libs-cxxsupp
+ OpenSSL::OpenSSL
+ libs-poco-Foundation
+)
+target_sources(libs-poco-Crypto PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/Cipher.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherKey.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherKeyImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoTransform.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/DigestEngine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECDSADigestEngine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECKey.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECKeyImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/EVPPKey.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/KeyPair.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/KeyPairImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/OpenSSLInitializer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/PKCS12Container.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSACipherImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSADigestEngine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSAKey.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSAKeyImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/X509Certificate.cpp
+)
diff --git a/contrib/libs/poco/Foundation/CMakeLists.txt b/contrib/libs/poco/Foundation/CMakeLists.txt
new file mode 100644
index 0000000000..0b01f82e06
--- /dev/null
+++ b/contrib/libs/poco/Foundation/CMakeLists.txt
@@ -0,0 +1,173 @@
+find_package(ZLIB)
+
+add_library(libs-poco-Foundation)
+target_include_directories(libs-poco-Foundation PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+)
+target_include_directories(libs-poco-Foundation PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/double-conversion/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pcre
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src
+)
+target_link_libraries(libs-poco-Foundation PUBLIC
+ contrib-libs-cxxsupp
+ contrib-libs-double-conversion
+ contrib-libs-pcre
+ ZLIB::ZLIB
+)
+target_sources(libs-poco-Foundation PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ASCIIEncoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/AbstractObserver.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ActiveDispatcher.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ArchiveStrategy.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Ascii.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/AsyncChannel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/AtomicCounter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Base32Decoder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Base32Encoder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Base64Decoder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Base64Encoder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/BinaryReader.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/BinaryWriter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Bugcheck.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ByteOrder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Channel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Checksum.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Clock.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Condition.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Configurable.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ConsoleChannel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/CountingStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DateTime.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DateTimeFormat.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DateTimeFormatter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DateTimeParser.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Debugger.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DeflatingStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DigestEngine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DigestStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DirectoryIterator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DirectoryIteratorStrategy.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/DirectoryWatcher.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Environment.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Error.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ErrorHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Event.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/EventArgs.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/EventChannel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Exception.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/FIFOBufferStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/FPEnvironment.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/File.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/FileChannel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/FileStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/FileStreamFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Format.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Formatter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/FormattingChannel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Glob.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Hash.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/HashStatistic.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/HexBinaryDecoder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/HexBinaryEncoder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/InflatingStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/JSONString.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Latin1Encoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Latin2Encoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Latin9Encoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/LineEndingConverter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/LocalDateTime.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/LogFile.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/LogStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Logger.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/LoggingFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/LoggingRegistry.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/MD4Engine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/MD5Engine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Manifest.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/MemoryPool.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/MemoryStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Message.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Mutex.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NamedEvent.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NamedMutex.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NestedDiagnosticContext.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Notification.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NotificationCenter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NotificationQueue.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NullChannel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NullStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NumberFormatter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NumberParser.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/NumericString.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Path.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/PatternFormatter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Pipe.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/PipeImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/PipeStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/PriorityNotificationQueue.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Process.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/PurgeStrategy.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/RWLock.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Random.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/RandomStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/RefCountedObject.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/RegularExpression.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/RotateStrategy.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Runnable.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SHA1Engine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SharedLibrary.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SharedMemory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SignalHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SimpleFileChannel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SortedDirectoryIterator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SplitterChannel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Stopwatch.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/StreamChannel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/StreamConverter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/StreamCopier.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/StreamTokenizer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/String.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/StringTokenizer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SynchronizedObject.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Task.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TaskManager.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TaskNotification.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TeeStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TemporaryFile.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TextBufferIterator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TextConverter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TextEncoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TextIterator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Thread.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ThreadLocal.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ThreadPool.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/ThreadTarget.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/TimedNotificationQueue.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Timer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Timespan.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Timestamp.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Timezone.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Token.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/URI.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/URIStreamFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/URIStreamOpener.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UTF16Encoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UTF32Encoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UTF8Encoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UTF8String.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UUID.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UUIDGenerator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Unicode.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/UnicodeConverter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Var.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/VarHolder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/VarIterator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Void.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Windows1250Encoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Windows1251Encoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/Windows1252Encoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/src/SyslogChannel.cpp
+)
diff --git a/contrib/libs/poco/JSON/CMakeLists.txt b/contrib/libs/poco/JSON/CMakeLists.txt
new file mode 100644
index 0000000000..03319bb9de
--- /dev/null
+++ b/contrib/libs/poco/JSON/CMakeLists.txt
@@ -0,0 +1,28 @@
+add_library(libs-poco-JSON)
+target_include_directories(libs-poco-JSON PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
+)
+target_include_directories(libs-poco-JSON PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src
+)
+target_link_libraries(libs-poco-JSON PUBLIC
+ contrib-libs-cxxsupp
+ libs-poco-Foundation
+)
+target_sources(libs-poco-JSON PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Array.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Handler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/JSONException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Object.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParseHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Parser.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParserImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/PrintHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Query.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Stringifier.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Template.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/TemplateCache.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/pdjson.c
+)
diff --git a/contrib/libs/poco/Net/CMakeLists.txt b/contrib/libs/poco/Net/CMakeLists.txt
new file mode 100644
index 0000000000..b726007e68
--- /dev/null
+++ b/contrib/libs/poco/Net/CMakeLists.txt
@@ -0,0 +1,119 @@
+add_library(libs-poco-Net)
+target_compile_options(libs-poco-Net PRIVATE
+ -DPOCO_SOCKETADDRESS_DONT_PREFER_IPV4
+ -DPOCO_HAVE_FD_EPOLL
+)
+target_include_directories(libs-poco-Net PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
+)
+target_include_directories(libs-poco-Net PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src
+)
+target_link_libraries(libs-poco-Net PUBLIC
+ contrib-libs-cxxsupp
+ libs-poco-Foundation
+)
+target_sources(libs-poco-Net PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/AbstractHTTPRequestHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DNS.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DatagramSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DatagramSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DialogSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FTPClientSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FTPStreamFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FilePartSource.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTMLForm.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPAuthenticationParams.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPBasicCredentials.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPBufferAllocator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPChunkedStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPClientSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPCookie.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPCredentials.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPDigestCredentials.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPFixedLengthStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPHeaderStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPIOStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPMessage.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequest.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequestHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequestHandlerFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPResponse.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerConnection.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerConnectionFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerParams.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerRequest.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerRequestImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerResponse.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerResponseImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSessionFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSessionInstantiator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPStreamFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HostEntry.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPClient.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPEventArgs.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPPacket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPPacketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPv4PacketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/IPAddress.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/IPAddressImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailMessage.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailRecipient.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MediaType.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MessageHeader.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MulticastSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MultipartReader.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MultipartWriter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPClient.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPEventArgs.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPPacket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NameValueCollection.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/Net.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NetException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NetworkInterface.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NullPartHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/OAuth10Credentials.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/OAuth20Credentials.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/POP3ClientSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartSource.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartStore.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PollSet.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/QuotedPrintableDecoder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/QuotedPrintableEncoder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RawSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RawSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RemoteSyslogChannel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RemoteSyslogListener.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SMTPChannel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SMTPClientSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ServerSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ServerSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/Socket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketAddress.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketAddressImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketNotification.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketNotifier.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketReactor.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StreamSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StreamSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StringPartSource.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerConnection.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerConnectionFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerDispatcher.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerParams.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/WebSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/WebSocketImpl.cpp
+)
diff --git a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt
new file mode 100644
index 0000000000..c5871b5325
--- /dev/null
+++ b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt
@@ -0,0 +1,53 @@
+find_package(OpenSSL)
+
+add_library(libs-poco-NetSSL_OpenSSL)
+target_include_directories(libs-poco-NetSSL_OpenSSL PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/include
+)
+target_include_directories(libs-poco-NetSSL_OpenSSL PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include
+)
+target_link_libraries(libs-poco-NetSSL_OpenSSL PUBLIC
+ contrib-libs-cxxsupp
+ OpenSSL::OpenSSL
+ libs-poco-Crypto
+ libs-poco-Foundation
+ libs-poco-JSON
+ libs-poco-Net
+ libs-poco-Util
+ libs-poco-XML
+)
+target_sources(libs-poco-NetSSL_OpenSSL PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/AcceptCertificateHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/CertificateHandlerFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/CertificateHandlerFactoryMgr.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/ConsoleCertificateHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/Context.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/HTTPSClientSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/HTTPSSessionInstantiator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/HTTPSStreamFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/InvalidCertificateHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/KeyConsoleHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/KeyFileHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/PrivateKeyFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/PrivateKeyFactoryMgr.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/PrivateKeyPassphraseHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/RejectCertificateHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SSLException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SSLManager.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureSMTPClientSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureServerSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureServerSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureStreamSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureStreamSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/Session.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/Utility.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/VerificationErrorArgs.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/X509Certificate.cpp
+)
diff --git a/contrib/libs/poco/Util/CMakeLists.txt b/contrib/libs/poco/Util/CMakeLists.txt
new file mode 100644
index 0000000000..afb1d50e39
--- /dev/null
+++ b/contrib/libs/poco/Util/CMakeLists.txt
@@ -0,0 +1,48 @@
+add_library(libs-poco-Util)
+target_include_directories(libs-poco-Util PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include
+)
+target_include_directories(libs-poco-Util PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/expat
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/include
+)
+target_link_libraries(libs-poco-Util PUBLIC
+ contrib-libs-cxxsupp
+ contrib-libs-expat
+ libs-poco-Foundation
+ libs-poco-JSON
+ libs-poco-XML
+)
+target_sources(libs-poco-Util PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/AbstractConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Application.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ConfigurationMapper.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ConfigurationView.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/FilesystemConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/HelpFormatter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/IniFileConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/IntValidator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/JSONConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LayeredConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LoggingConfigurator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LoggingSubsystem.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/MapConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Option.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionCallback.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionProcessor.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionSet.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/PropertyFileConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/RegExpValidator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ServerApplication.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Subsystem.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/SystemConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Timer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/TimerTask.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Validator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/XMLConfiguration.cpp
+)
diff --git a/contrib/libs/poco/XML/CMakeLists.txt b/contrib/libs/poco/XML/CMakeLists.txt
new file mode 100644
index 0000000000..9ab7695731
--- /dev/null
+++ b/contrib/libs/poco/XML/CMakeLists.txt
@@ -0,0 +1,89 @@
+add_library(libs-poco-XML)
+target_include_directories(libs-poco-XML PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/expat
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/include
+)
+target_include_directories(libs-poco-XML PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/expat
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src
+)
+target_link_libraries(libs-poco-XML PUBLIC
+ contrib-libs-cxxsupp
+ contrib-libs-expat
+ libs-poco-Foundation
+)
+target_sources(libs-poco-XML PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AbstractContainerNode.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AbstractNode.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Attr.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AttrMap.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Attributes.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AttributesImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/CDATASection.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/CharacterData.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ChildNodesList.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Comment.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ContentHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMBuilder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMImplementation.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMObject.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMParser.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMSerializer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMWriter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DTDHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DTDMap.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DeclHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DefaultHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Document.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentEvent.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentFragment.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentType.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Element.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ElementsByTagNameList.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Entity.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityReference.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityResolver.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityResolverImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ErrorHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Event.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventDispatcher.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventListener.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventTarget.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/InputSource.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/LexicalHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Locator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/LocatorImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/MutationEvent.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Name.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamePool.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamedNodeMap.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamespaceStrategy.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamespaceSupport.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Node.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeAppender.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeFilter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeIterator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeList.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Notation.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ParserEngine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ProcessingInstruction.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/QName.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/SAXException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/SAXParser.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Text.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/TreeWalker.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ValueTraits.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/WhitespaceFilter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLFilter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLFilterImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLReader.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLStreamParser.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLStreamParserException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLString.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLWriter.cpp
+)