diff options
author | thegeorg <thegeorg@yandex-team.com> | 2022-10-24 21:10:49 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2022-10-24 21:10:49 +0300 |
commit | d7c3d059f9dcb74cd142a940c0ebfc6998871ddd (patch) | |
tree | 41af92889d6a49d36931a93b50a30e918e058557 /contrib | |
parent | 41e8dfe1db3b9e32a7d1497494d73fbb9f8aec00 (diff) | |
download | ydb-d7c3d059f9dcb74cd142a940c0ebfc6998871ddd.tar.gz |
Drop some add_defines=False setting from yamaker projects
Diffstat (limited to 'contrib')
20 files changed, 1104 insertions, 447 deletions
diff --git a/contrib/libs/poco/Crypto/CMakeLists.darwin.txt b/contrib/libs/poco/Crypto/CMakeLists.darwin.txt new file mode 100644 index 0000000000..64fc7aecd0 --- /dev/null +++ b/contrib/libs/poco/Crypto/CMakeLists.darwin.txt @@ -0,0 +1,55 @@ + +# 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 + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -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.linux.txt b/contrib/libs/poco/Crypto/CMakeLists.linux.txt new file mode 100644 index 0000000000..44f3610fb1 --- /dev/null +++ b/contrib/libs/poco/Crypto/CMakeLists.linux.txt @@ -0,0 +1,56 @@ + +# 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 + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -DPOCO_HAVE_FD_EPOLL + -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 bfbf882e7e..79468a5d8d 100644 --- a/contrib/libs/poco/Crypto/CMakeLists.txt +++ b/contrib/libs/poco/Crypto/CMakeLists.txt @@ -6,45 +6,8 @@ # 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 -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/libs/poco/Foundation/CMakeLists.darwin.txt b/contrib/libs/poco/Foundation/CMakeLists.darwin.txt new file mode 100644 index 0000000000..143d6ff786 --- /dev/null +++ b/contrib/libs/poco/Foundation/CMakeLists.darwin.txt @@ -0,0 +1,191 @@ + +# 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 + -DHAVE_PTHREAD_SETAFFINITY_NP + -DHAVE_THREE_PARAM_SCHED_SETAFFINITY + -DPCRE_STATIC + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -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.linux.txt b/contrib/libs/poco/Foundation/CMakeLists.linux.txt new file mode 100644 index 0000000000..724f84aa40 --- /dev/null +++ b/contrib/libs/poco/Foundation/CMakeLists.linux.txt @@ -0,0 +1,192 @@ + +# 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 + -DHAVE_PTHREAD_SETAFFINITY_NP + -DHAVE_THREE_PARAM_SCHED_SETAFFINITY + -DPCRE_STATIC + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -DPOCO_HAVE_FD_EPOLL + -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 787e577b79..79468a5d8d 100644 --- a/contrib/libs/poco/Foundation/CMakeLists.txt +++ b/contrib/libs/poco/Foundation/CMakeLists.txt @@ -6,178 +6,8 @@ # 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 -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/libs/poco/JSON/CMakeLists.darwin.txt b/contrib/libs/poco/JSON/CMakeLists.darwin.txt new file mode 100644 index 0000000000..4785ba8cc3 --- /dev/null +++ b/contrib/libs/poco/JSON/CMakeLists.darwin.txt @@ -0,0 +1,44 @@ + +# 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 + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -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.linux.txt b/contrib/libs/poco/JSON/CMakeLists.linux.txt new file mode 100644 index 0000000000..a84a5cda67 --- /dev/null +++ b/contrib/libs/poco/JSON/CMakeLists.linux.txt @@ -0,0 +1,45 @@ + +# 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 + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -DPOCO_HAVE_FD_EPOLL + -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 121ceef23a..79468a5d8d 100644 --- a/contrib/libs/poco/JSON/CMakeLists.txt +++ b/contrib/libs/poco/JSON/CMakeLists.txt @@ -6,34 +6,8 @@ # 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 -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/libs/poco/Net/CMakeLists.darwin.txt b/contrib/libs/poco/Net/CMakeLists.darwin.txt index 49bc4ed4b2..8c281d5b75 100644 --- a/contrib/libs/poco/Net/CMakeLists.darwin.txt +++ b/contrib/libs/poco/Net/CMakeLists.darwin.txt @@ -9,7 +9,11 @@ add_library(libs-poco-Net) target_compile_options(libs-poco-Net PRIVATE - -DPOCO_SOCKETADDRESS_DONT_PREFER_IPV4 + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX -Wno-everything ) target_include_directories(libs-poco-Net PUBLIC diff --git a/contrib/libs/poco/Net/CMakeLists.linux.txt b/contrib/libs/poco/Net/CMakeLists.linux.txt index f5e5249730..0a2e22dbfd 100644 --- a/contrib/libs/poco/Net/CMakeLists.linux.txt +++ b/contrib/libs/poco/Net/CMakeLists.linux.txt @@ -9,7 +9,11 @@ add_library(libs-poco-Net) target_compile_options(libs-poco-Net PRIVATE - -DPOCO_SOCKETADDRESS_DONT_PREFER_IPV4 + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX -DPOCO_HAVE_FD_EPOLL -Wno-everything ) diff --git a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.darwin.txt b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.darwin.txt new file mode 100644 index 0000000000..960bb03639 --- /dev/null +++ b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.darwin.txt @@ -0,0 +1,68 @@ + +# 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 + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -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.linux.txt b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux.txt new file mode 100644 index 0000000000..da119edbce --- /dev/null +++ b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux.txt @@ -0,0 +1,69 @@ + +# 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 + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -DPOCO_HAVE_FD_EPOLL + -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 b724f4a57a..79468a5d8d 100644 --- a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt +++ b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt @@ -6,58 +6,8 @@ # 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 -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/libs/poco/Util/CMakeLists.darwin.txt b/contrib/libs/poco/Util/CMakeLists.darwin.txt new file mode 100644 index 0000000000..e826b3a2ee --- /dev/null +++ b/contrib/libs/poco/Util/CMakeLists.darwin.txt @@ -0,0 +1,64 @@ + +# 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 + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -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.linux.txt b/contrib/libs/poco/Util/CMakeLists.linux.txt new file mode 100644 index 0000000000..e0869f32e7 --- /dev/null +++ b/contrib/libs/poco/Util/CMakeLists.linux.txt @@ -0,0 +1,65 @@ + +# 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 + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DPOCO_OS_FAMILY_UNIX + -DPOCO_HAVE_FD_EPOLL + -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 05c24f2149..79468a5d8d 100644 --- a/contrib/libs/poco/Util/CMakeLists.txt +++ b/contrib/libs/poco/Util/CMakeLists.txt @@ -6,54 +6,8 @@ # 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 -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/libs/poco/XML/CMakeLists.darwin.txt b/contrib/libs/poco/XML/CMakeLists.darwin.txt new file mode 100644 index 0000000000..0a2441ea89 --- /dev/null +++ b/contrib/libs/poco/XML/CMakeLists.darwin.txt @@ -0,0 +1,107 @@ + +# 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 + -DHAVE_EXPAT_CONFIG_H + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DXML_DTD + -DXML_NS + -DPOCO_OS_FAMILY_UNIX + -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.linux.txt b/contrib/libs/poco/XML/CMakeLists.linux.txt new file mode 100644 index 0000000000..b3cd42c18a --- /dev/null +++ b/contrib/libs/poco/XML/CMakeLists.linux.txt @@ -0,0 +1,108 @@ + +# 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 + -DHAVE_EXPAT_CONFIG_H + -DPOCO_ENABLE_CPP11 + -DPOCO_ENABLE_CPP14 + -DPOCO_NO_AUTOMATIC_LIBS + -DPOCO_UNBUNDLED + -DXML_DTD + -DXML_NS + -DPOCO_OS_FAMILY_UNIX + -DPOCO_HAVE_FD_EPOLL + -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 8d76971978..79468a5d8d 100644 --- a/contrib/libs/poco/XML/CMakeLists.txt +++ b/contrib/libs/poco/XML/CMakeLists.txt @@ -6,94 +6,8 @@ # 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 -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() |