diff options
author | vvvv <vvvv@ydb.tech> | 2022-08-08 14:43:22 +0300 |
---|---|---|
committer | vvvv <vvvv@ydb.tech> | 2022-08-08 14:43:22 +0300 |
commit | f5e8e19af3bc909fdb2e42501b3befcb9940f445 (patch) | |
tree | a25aeef3a430071fcf64442925423cabace52548 /contrib/libs | |
parent | cd5f1d506209511017e977c7a7b53c4779d5adb1 (diff) | |
download | ydb-f5e8e19af3bc909fdb2e42501b3befcb9940f445.tar.gz |
fix darwin build
Diffstat (limited to 'contrib/libs')
20 files changed, 648 insertions, 618 deletions
diff --git a/contrib/libs/apache/avro/CMakeLists.linux.txt b/contrib/libs/apache/avro/CMakeLists.linux.txt deleted file mode 100644 index 8d24260106..0000000000 --- a/contrib/libs/apache/avro/CMakeLists.linux.txt +++ /dev/null @@ -1,60 +0,0 @@ - -# 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. - - - -add_library(libs-apache-avro) -target_compile_options(libs-apache-avro PRIVATE - -DAVRO_SOURCE - -DAVRO_VERSION="1.11.1" - -DBOOST_ALL_NO_LIB - -DBOOST_ATOMIC_DYN_LINK - -DBOOST_FILESYSTEM_DYN_LINK - -DBOOST_IOSTREAMS_DYN_LINK - -DBOOST_PROGRAM_OPTIONS_DYN_LINK - -DBOOST_REGEX_DYN_LINK - -DBOOST_SYSTEM_DYN_LINK - -DSNAPPY_CODEC_AVAILABLE - -Wno-everything -) -target_include_directories(libs-apache-avro PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/api -) -target_link_libraries(libs-apache-avro PUBLIC - contrib-libs-cxxsupp - contrib-libs-snappy - contrib-restricted-boost - restricted-boost-crc - boost-libs-iostreams -) -target_sources(libs-apache-avro PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryDecoder.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryEncoder.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Compiler.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/CustomFields.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/DataFile.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/FileStream.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Generic.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/GenericDatum.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/LogicalType.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Node.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/NodeImpl.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Resolver.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ResolverSchema.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Schema.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Stream.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Types.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ValidSchema.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Validator.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Zigzag.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonDom.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonIO.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/JsonCodec.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ResolvingDecoder.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/Symbol.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ValidatingCodec.cc -) diff --git a/contrib/libs/apache/avro/CMakeLists.txt b/contrib/libs/apache/avro/CMakeLists.txt index e8c98bfd99..8d24260106 100644 --- a/contrib/libs/apache/avro/CMakeLists.txt +++ b/contrib/libs/apache/avro/CMakeLists.txt @@ -6,6 +6,55 @@ # original buildsystem will not be accepted. -if (UNIX AND NOT APPLE) - include(CMakeLists.linux.txt) -endif() + +add_library(libs-apache-avro) +target_compile_options(libs-apache-avro PRIVATE + -DAVRO_SOURCE + -DAVRO_VERSION="1.11.1" + -DBOOST_ALL_NO_LIB + -DBOOST_ATOMIC_DYN_LINK + -DBOOST_FILESYSTEM_DYN_LINK + -DBOOST_IOSTREAMS_DYN_LINK + -DBOOST_PROGRAM_OPTIONS_DYN_LINK + -DBOOST_REGEX_DYN_LINK + -DBOOST_SYSTEM_DYN_LINK + -DSNAPPY_CODEC_AVAILABLE + -Wno-everything +) +target_include_directories(libs-apache-avro PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/api +) +target_link_libraries(libs-apache-avro PUBLIC + contrib-libs-cxxsupp + contrib-libs-snappy + contrib-restricted-boost + restricted-boost-crc + boost-libs-iostreams +) +target_sources(libs-apache-avro PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryDecoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryEncoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Compiler.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/CustomFields.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/DataFile.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/FileStream.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Generic.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/GenericDatum.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/LogicalType.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Node.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/NodeImpl.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Resolver.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ResolverSchema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Schema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Stream.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Types.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ValidSchema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Validator.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Zigzag.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonDom.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonIO.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/JsonCodec.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ResolvingDecoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/Symbol.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ValidatingCodec.cc +) diff --git a/contrib/libs/expat/CMakeLists.linux.txt b/contrib/libs/expat/CMakeLists.linux.txt deleted file mode 100644 index ac9a9141da..0000000000 --- a/contrib/libs/expat/CMakeLists.linux.txt +++ /dev/null @@ -1,23 +0,0 @@ - -# 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. - - - -add_library(contrib-libs-expat) -target_compile_options(contrib-libs-expat PRIVATE - -DHAVE_EXPAT_CONFIG_H - -Wno-everything -) -target_include_directories(contrib-libs-expat PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/expat - ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib -) -target_sources(contrib-libs-expat PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmlparse.c - ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmlrole.c - ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmltok.c -) diff --git a/contrib/libs/expat/CMakeLists.txt b/contrib/libs/expat/CMakeLists.txt index e8c98bfd99..ac9a9141da 100644 --- a/contrib/libs/expat/CMakeLists.txt +++ b/contrib/libs/expat/CMakeLists.txt @@ -6,6 +6,18 @@ # original buildsystem will not be accepted. -if (UNIX AND NOT APPLE) - include(CMakeLists.linux.txt) -endif() + +add_library(contrib-libs-expat) +target_compile_options(contrib-libs-expat PRIVATE + -DHAVE_EXPAT_CONFIG_H + -Wno-everything +) +target_include_directories(contrib-libs-expat PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/expat + ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib +) +target_sources(contrib-libs-expat PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmlparse.c + ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmlrole.c + ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmltok.c +) diff --git a/contrib/libs/pdqsort/CMakeLists.linux.txt b/contrib/libs/pdqsort/CMakeLists.linux.txt deleted file mode 100644 index 9890d8053d..0000000000 --- a/contrib/libs/pdqsort/CMakeLists.linux.txt +++ /dev/null @@ -1,14 +0,0 @@ - -# 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. - - - -add_library(contrib-libs-pdqsort INTERFACE) -target_link_libraries(contrib-libs-pdqsort INTERFACE - contrib-libs-cxxsupp - yutil -) diff --git a/contrib/libs/pdqsort/CMakeLists.txt b/contrib/libs/pdqsort/CMakeLists.txt index e8c98bfd99..9890d8053d 100644 --- a/contrib/libs/pdqsort/CMakeLists.txt +++ b/contrib/libs/pdqsort/CMakeLists.txt @@ -6,6 +6,9 @@ # original buildsystem will not be accepted. -if (UNIX AND NOT APPLE) - include(CMakeLists.linux.txt) -endif() + +add_library(contrib-libs-pdqsort INTERFACE) +target_link_libraries(contrib-libs-pdqsort INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/contrib/libs/poco/Crypto/CMakeLists.linux.txt b/contrib/libs/poco/Crypto/CMakeLists.linux.txt deleted file mode 100644 index bfbf882e7e..0000000000 --- a/contrib/libs/poco/Crypto/CMakeLists.linux.txt +++ /dev/null @@ -1,50 +0,0 @@ - -# 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) - -add_library(libs-poco-Crypto) -target_compile_options(libs-poco-Crypto PRIVATE - -Wno-everything -) -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/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/Crypto/CMakeLists.txt b/contrib/libs/poco/Crypto/CMakeLists.txt index e8c98bfd99..bfbf882e7e 100644 --- a/contrib/libs/poco/Crypto/CMakeLists.txt +++ b/contrib/libs/poco/Crypto/CMakeLists.txt @@ -6,6 +6,45 @@ # original buildsystem will not be accepted. -if (UNIX AND NOT APPLE) - include(CMakeLists.linux.txt) -endif() +find_package(OpenSSL REQUIRED) + +add_library(libs-poco-Crypto) +target_compile_options(libs-poco-Crypto PRIVATE + -Wno-everything +) +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/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.linux.txt b/contrib/libs/poco/Foundation/CMakeLists.linux.txt deleted file mode 100644 index 787e577b79..0000000000 --- a/contrib/libs/poco/Foundation/CMakeLists.linux.txt +++ /dev/null @@ -1,183 +0,0 @@ - -# 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(ZLIB REQUIRED) - -add_library(libs-poco-Foundation) -target_compile_options(libs-poco-Foundation PRIVATE - -Wno-everything -) -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/double-conversion - ${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/Foundation/CMakeLists.txt b/contrib/libs/poco/Foundation/CMakeLists.txt index e8c98bfd99..787e577b79 100644 --- a/contrib/libs/poco/Foundation/CMakeLists.txt +++ b/contrib/libs/poco/Foundation/CMakeLists.txt @@ -6,6 +6,178 @@ # original buildsystem will not be accepted. -if (UNIX AND NOT APPLE) - include(CMakeLists.linux.txt) -endif() +find_package(ZLIB REQUIRED) + +add_library(libs-poco-Foundation) +target_compile_options(libs-poco-Foundation PRIVATE + -Wno-everything +) +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/double-conversion + ${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.linux.txt b/contrib/libs/poco/JSON/CMakeLists.linux.txt deleted file mode 100644 index 121ceef23a..0000000000 --- a/contrib/libs/poco/JSON/CMakeLists.linux.txt +++ /dev/null @@ -1,39 +0,0 @@ - -# 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. - - - -add_library(libs-poco-JSON) -target_compile_options(libs-poco-JSON PRIVATE - -Wno-everything -) -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/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/JSON/CMakeLists.txt b/contrib/libs/poco/JSON/CMakeLists.txt index e8c98bfd99..121ceef23a 100644 --- a/contrib/libs/poco/JSON/CMakeLists.txt +++ b/contrib/libs/poco/JSON/CMakeLists.txt @@ -6,6 +6,34 @@ # original buildsystem will not be accepted. -if (UNIX AND NOT APPLE) - include(CMakeLists.linux.txt) -endif() + +add_library(libs-poco-JSON) +target_compile_options(libs-poco-JSON PRIVATE + -Wno-everything +) +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/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.darwin.txt b/contrib/libs/poco/Net/CMakeLists.darwin.txt new file mode 100644 index 0000000000..49bc4ed4b2 --- /dev/null +++ b/contrib/libs/poco/Net/CMakeLists.darwin.txt @@ -0,0 +1,127 @@ + +# 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. + + + +add_library(libs-poco-Net) +target_compile_options(libs-poco-Net PRIVATE + -DPOCO_SOCKETADDRESS_DONT_PREFER_IPV4 + -Wno-everything +) +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/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/Net/CMakeLists.txt b/contrib/libs/poco/Net/CMakeLists.txt index e8c98bfd99..fc7b1ee73c 100644 --- a/contrib/libs/poco/Net/CMakeLists.txt +++ b/contrib/libs/poco/Net/CMakeLists.txt @@ -6,6 +6,8 @@ # original buildsystem will not be accepted. -if (UNIX AND NOT APPLE) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX AND NOT APPLE) include(CMakeLists.linux.txt) endif() diff --git a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux.txt b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux.txt deleted file mode 100644 index b724f4a57a..0000000000 --- a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux.txt +++ /dev/null @@ -1,63 +0,0 @@ - -# 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) - -add_library(libs-poco-NetSSL_OpenSSL) -target_compile_options(libs-poco-NetSSL_OpenSSL PRIVATE - -Wno-everything -) -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/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/NetSSL_OpenSSL/CMakeLists.txt b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt index e8c98bfd99..b724f4a57a 100644 --- a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt +++ b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt @@ -6,6 +6,58 @@ # original buildsystem will not be accepted. -if (UNIX AND NOT APPLE) - include(CMakeLists.linux.txt) -endif() +find_package(OpenSSL REQUIRED) + +add_library(libs-poco-NetSSL_OpenSSL) +target_compile_options(libs-poco-NetSSL_OpenSSL PRIVATE + -Wno-everything +) +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/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.linux.txt b/contrib/libs/poco/Util/CMakeLists.linux.txt deleted file mode 100644 index 05c24f2149..0000000000 --- a/contrib/libs/poco/Util/CMakeLists.linux.txt +++ /dev/null @@ -1,59 +0,0 @@ - -# 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. - - - -add_library(libs-poco-Util) -target_compile_options(libs-poco-Util PRIVATE - -Wno-everything -) -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/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/Util/CMakeLists.txt b/contrib/libs/poco/Util/CMakeLists.txt index e8c98bfd99..05c24f2149 100644 --- a/contrib/libs/poco/Util/CMakeLists.txt +++ b/contrib/libs/poco/Util/CMakeLists.txt @@ -6,6 +6,54 @@ # original buildsystem will not be accepted. -if (UNIX AND NOT APPLE) - include(CMakeLists.linux.txt) -endif() + +add_library(libs-poco-Util) +target_compile_options(libs-poco-Util PRIVATE + -Wno-everything +) +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/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.linux.txt b/contrib/libs/poco/XML/CMakeLists.linux.txt deleted file mode 100644 index 8d76971978..0000000000 --- a/contrib/libs/poco/XML/CMakeLists.linux.txt +++ /dev/null @@ -1,99 +0,0 @@ - -# 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. - - - -add_library(libs-poco-XML) -target_compile_options(libs-poco-XML PRIVATE - -Wno-everything -) -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/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 -) diff --git a/contrib/libs/poco/XML/CMakeLists.txt b/contrib/libs/poco/XML/CMakeLists.txt index e8c98bfd99..8d76971978 100644 --- a/contrib/libs/poco/XML/CMakeLists.txt +++ b/contrib/libs/poco/XML/CMakeLists.txt @@ -6,6 +6,94 @@ # original buildsystem will not be accepted. -if (UNIX AND NOT APPLE) - include(CMakeLists.linux.txt) -endif() + +add_library(libs-poco-XML) +target_compile_options(libs-poco-XML PRIVATE + -Wno-everything +) +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/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 +) |