aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 11:08:43 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 11:08:43 +0300
commitd32759b7eb812b4a4033cc61e1e98245544b4992 (patch)
tree22bbb3e9b46c1b55818aaf475f699ae187ce328b /contrib/libs
parent471e9b902d01b70b2d12146772e30528a216ee82 (diff)
downloadydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'contrib/libs')
-rw-r--r--contrib/libs/apache/avro/CMakeLists.linux.txt49
-rw-r--r--contrib/libs/apache/avro/CMakeLists.txt44
-rw-r--r--contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt58
-rw-r--r--contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt57
-rw-r--r--contrib/libs/cxxsupp/builtins/CMakeLists.txt54
-rw-r--r--contrib/libs/expat/CMakeLists.linux.txt22
-rw-r--r--contrib/libs/expat/CMakeLists.txt17
-rw-r--r--contrib/libs/jemalloc/CMakeLists.darwin.txt73
-rw-r--r--contrib/libs/jemalloc/CMakeLists.linux.txt59
-rw-r--r--contrib/libs/jemalloc/CMakeLists.txt56
-rw-r--r--contrib/libs/libc_compat/CMakeLists.darwin.txt16
-rw-r--r--contrib/libs/libc_compat/CMakeLists.linux.txt28
-rw-r--r--contrib/libs/libc_compat/CMakeLists.txt25
-rw-r--r--contrib/libs/libevent/event_core/CMakeLists.darwin.txt41
-rw-r--r--contrib/libs/libevent/event_core/CMakeLists.linux.txt41
-rw-r--r--contrib/libs/libevent/event_core/CMakeLists.txt38
-rw-r--r--contrib/libs/libunwind/CMakeLists.darwin.txt33
-rw-r--r--contrib/libs/libunwind/CMakeLists.linux.txt32
-rw-r--r--contrib/libs/libunwind/CMakeLists.txt29
-rw-r--r--contrib/libs/linuxvdso/CMakeLists.darwin.txt13
-rw-r--r--contrib/libs/linuxvdso/CMakeLists.linux.txt16
-rw-r--r--contrib/libs/linuxvdso/CMakeLists.txt13
-rw-r--r--contrib/libs/linuxvdso/original/CMakeLists.linux.txt14
-rw-r--r--contrib/libs/linuxvdso/original/CMakeLists.txt9
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux.txt27
-rw-r--r--contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt22
-rw-r--r--contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt83
-rw-r--r--contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt88
-rw-r--r--contrib/libs/llvm12/utils/TableGen/CMakeLists.txt85
-rw-r--r--contrib/libs/nayuki_md5/CMakeLists.darwin.txt17
-rw-r--r--contrib/libs/nayuki_md5/CMakeLists.linux.txt17
-rw-r--r--contrib/libs/nayuki_md5/CMakeLists.txt14
-rw-r--r--contrib/libs/pdqsort/CMakeLists.linux.txt10
-rw-r--r--contrib/libs/pdqsort/CMakeLists.txt5
-rw-r--r--contrib/libs/poco/Crypto/CMakeLists.linux.txt48
-rw-r--r--contrib/libs/poco/Crypto/CMakeLists.txt43
-rw-r--r--contrib/libs/poco/Foundation/CMakeLists.linux.txt181
-rw-r--r--contrib/libs/poco/Foundation/CMakeLists.txt176
-rw-r--r--contrib/libs/poco/JSON/CMakeLists.linux.txt37
-rw-r--r--contrib/libs/poco/JSON/CMakeLists.txt32
-rw-r--r--contrib/libs/poco/Net/CMakeLists.linux.txt128
-rw-r--r--contrib/libs/poco/Net/CMakeLists.txt123
-rw-r--r--contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux.txt61
-rw-r--r--contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt56
-rw-r--r--contrib/libs/poco/Util/CMakeLists.linux.txt57
-rw-r--r--contrib/libs/poco/Util/CMakeLists.txt52
-rw-r--r--contrib/libs/poco/XML/CMakeLists.linux.txt98
-rw-r--r--contrib/libs/poco/XML/CMakeLists.txt93
-rw-r--r--contrib/libs/tcmalloc/CMakeLists.linux.txt74
-rw-r--r--contrib/libs/tcmalloc/CMakeLists.txt69
-rw-r--r--contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux.txt26
-rw-r--r--contrib/libs/tcmalloc/malloc_extension/CMakeLists.txt21
52 files changed, 1586 insertions, 994 deletions
diff --git a/contrib/libs/apache/avro/CMakeLists.linux.txt b/contrib/libs/apache/avro/CMakeLists.linux.txt
new file mode 100644
index 0000000000..6f1469fd5e
--- /dev/null
+++ b/contrib/libs/apache/avro/CMakeLists.linux.txt
@@ -0,0 +1,49 @@
+
+# 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
+ -DSNAPPY_CODEC_AVAILABLE
+)
+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
+ 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/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 6f1469fd5e..c031ddb850 100644
--- a/contrib/libs/apache/avro/CMakeLists.txt
+++ b/contrib/libs/apache/avro/CMakeLists.txt
@@ -6,44 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(libs-apache-avro)
-target_compile_options(libs-apache-avro PRIVATE
- -DAVRO_SOURCE
- -DSNAPPY_CODEC_AVAILABLE
-)
-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
- 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/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
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt b/contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..dc0988e90b
--- /dev/null
+++ b/contrib/libs/cxxsupp/builtins/CMakeLists.darwin.txt
@@ -0,0 +1,58 @@
+
+# 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-cxxsupp-builtins)
+target_sources(libs-cxxsupp-builtins PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/addtf3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/ashlti3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/clzti2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/comparetf2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divdc3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divsc3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divtf3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divti3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divxc3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/extenddftf2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/extendsftf2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixdfti.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixsfti.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixtfdi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixtfsi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunsdfti.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunssfti.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunstfdi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunstfsi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunstfti.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunsxfti.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatditf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatsitf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floattidf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floattisf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatunditf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatunsitf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatuntidf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatuntisf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/gcc_personality_v0.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/int_util.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/lshrti3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/modti3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/muldc3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/muloti4.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/mulsc3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/multf3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/mulxc3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/popcountdi2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/subtf3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/trunctfdf2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/trunctfsf2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/udivmodti4.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/udivti3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/umodti3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/os_version_check.c
+)
diff --git a/contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt b/contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt
new file mode 100644
index 0000000000..6e74906c0e
--- /dev/null
+++ b/contrib/libs/cxxsupp/builtins/CMakeLists.linux.txt
@@ -0,0 +1,57 @@
+
+# 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-cxxsupp-builtins)
+target_sources(libs-cxxsupp-builtins PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/addtf3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/ashlti3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/clzti2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/comparetf2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divdc3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divsc3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divtf3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divti3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divxc3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/extenddftf2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/extendsftf2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixdfti.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixsfti.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixtfdi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixtfsi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunsdfti.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunssfti.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunstfdi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunstfsi.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunstfti.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunsxfti.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatditf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatsitf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floattidf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floattisf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatunditf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatunsitf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatuntidf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatuntisf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/gcc_personality_v0.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/int_util.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/lshrti3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/modti3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/muldc3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/muloti4.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/mulsc3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/multf3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/mulxc3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/popcountdi2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/subtf3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/trunctfdf2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/trunctfsf2.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/udivmodti4.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/udivti3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/umodti3.c
+)
diff --git a/contrib/libs/cxxsupp/builtins/CMakeLists.txt b/contrib/libs/cxxsupp/builtins/CMakeLists.txt
index 6e74906c0e..a681d385f3 100644
--- a/contrib/libs/cxxsupp/builtins/CMakeLists.txt
+++ b/contrib/libs/cxxsupp/builtins/CMakeLists.txt
@@ -6,52 +6,8 @@
# original buildsystem will not be accepted.
-
-add_library(libs-cxxsupp-builtins)
-target_sources(libs-cxxsupp-builtins PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/addtf3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/ashlti3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/clzti2.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/comparetf2.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divdc3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divsc3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divtf3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divti3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/divxc3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/extenddftf2.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/extendsftf2.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixdfti.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixsfti.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixtfdi.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixtfsi.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunsdfti.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunssfti.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunstfdi.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunstfsi.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunstfti.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/fixunsxfti.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatditf.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatsitf.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floattidf.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floattisf.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatunditf.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatunsitf.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatuntidf.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/floatuntisf.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/gcc_personality_v0.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/int_util.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/lshrti3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/modti3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/muldc3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/muloti4.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/mulsc3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/multf3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/mulxc3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/popcountdi2.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/subtf3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/trunctfdf2.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/trunctfsf2.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/udivmodti4.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/udivti3.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/cxxsupp/builtins/umodti3.c
-)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/expat/CMakeLists.linux.txt b/contrib/libs/expat/CMakeLists.linux.txt
new file mode 100644
index 0000000000..242054b589
--- /dev/null
+++ b/contrib/libs/expat/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# 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
+)
+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 242054b589..c031ddb850 100644
--- a/contrib/libs/expat/CMakeLists.txt
+++ b/contrib/libs/expat/CMakeLists.txt
@@ -6,17 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(contrib-libs-expat)
-target_compile_options(contrib-libs-expat PRIVATE
- -DHAVE_EXPAT_CONFIG_H
-)
-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
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/jemalloc/CMakeLists.darwin.txt b/contrib/libs/jemalloc/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..c286caa561
--- /dev/null
+++ b/contrib/libs/jemalloc/CMakeLists.darwin.txt
@@ -0,0 +1,73 @@
+
+# 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-jemalloc)
+target_compile_options(contrib-libs-jemalloc PRIVATE
+ -funroll-loops
+)
+target_include_directories(contrib-libs-jemalloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include
+)
+target_link_libraries(contrib-libs-jemalloc PUBLIC
+ contrib-libs-cxxsupp
+)
+target_sources(contrib-libs-jemalloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/zone.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/hack.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/arena.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/background_thread.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/base.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bin.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bitmap.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ckh.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ctl.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/div.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent_dss.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent_mmap.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hash.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hook.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/jemalloc.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/jemalloc_cpp.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/large.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/log.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/malloc_io.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/mutex.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/mutex_pool.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/nstime.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pages.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prng.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/rtree.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/safety_check.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sc.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/stats.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sz.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/tcache.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/test_hooks.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ticker.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/tsd.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/witness.c
+)
+
+add_global_library_for(contrib-libs-jemalloc.global contrib-libs-jemalloc)
+target_compile_options(contrib-libs-jemalloc.global PRIVATE
+ -funroll-loops
+)
+target_include_directories(contrib-libs-jemalloc.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include
+)
+target_link_libraries(contrib-libs-jemalloc.global PUBLIC
+ contrib-libs-cxxsupp
+)
+target_sources(contrib-libs-jemalloc.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/reg_zone.cpp
+)
diff --git a/contrib/libs/jemalloc/CMakeLists.linux.txt b/contrib/libs/jemalloc/CMakeLists.linux.txt
new file mode 100644
index 0000000000..bcb3e53576
--- /dev/null
+++ b/contrib/libs/jemalloc/CMakeLists.linux.txt
@@ -0,0 +1,59 @@
+
+# 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-jemalloc)
+target_compile_options(contrib-libs-jemalloc PRIVATE
+ -funroll-loops
+ -fvisibility=hidden
+)
+target_include_directories(contrib-libs-jemalloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include
+)
+target_link_libraries(contrib-libs-jemalloc PUBLIC
+ contrib-libs-cxxsupp
+ contrib-libs-libunwind
+)
+target_sources(contrib-libs-jemalloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/hack.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/arena.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/background_thread.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/base.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bin.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bitmap.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ckh.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ctl.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/div.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent_dss.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent_mmap.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hash.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hook.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/jemalloc.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/jemalloc_cpp.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/large.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/log.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/malloc_io.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/mutex.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/mutex_pool.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/nstime.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pages.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prng.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/rtree.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/safety_check.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sc.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/stats.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sz.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/tcache.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/test_hooks.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ticker.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/tsd.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/witness.c
+)
diff --git a/contrib/libs/jemalloc/CMakeLists.txt b/contrib/libs/jemalloc/CMakeLists.txt
index bcb3e53576..a681d385f3 100644
--- a/contrib/libs/jemalloc/CMakeLists.txt
+++ b/contrib/libs/jemalloc/CMakeLists.txt
@@ -6,54 +6,8 @@
# original buildsystem will not be accepted.
-
-add_library(contrib-libs-jemalloc)
-target_compile_options(contrib-libs-jemalloc PRIVATE
- -funroll-loops
- -fvisibility=hidden
-)
-target_include_directories(contrib-libs-jemalloc PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include
-)
-target_link_libraries(contrib-libs-jemalloc PUBLIC
- contrib-libs-cxxsupp
- contrib-libs-libunwind
-)
-target_sources(contrib-libs-jemalloc PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/hack.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/arena.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/background_thread.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/base.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bin.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bitmap.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ckh.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ctl.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/div.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent_dss.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent_mmap.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hash.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hook.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/jemalloc.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/jemalloc_cpp.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/large.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/log.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/malloc_io.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/mutex.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/mutex_pool.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/nstime.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pages.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prng.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/rtree.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/safety_check.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sc.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/stats.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sz.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/tcache.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/test_hooks.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ticker.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/tsd.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/witness.c
-)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/libc_compat/CMakeLists.darwin.txt b/contrib/libs/libc_compat/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..4e71c6b3ec
--- /dev/null
+++ b/contrib/libs/libc_compat/CMakeLists.darwin.txt
@@ -0,0 +1,16 @@
+
+# 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-libc_compat)
+target_sources(contrib-libs-libc_compat PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/string.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/memrchr.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/explicit_bzero.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/reallocarray.c
+)
diff --git a/contrib/libs/libc_compat/CMakeLists.linux.txt b/contrib/libs/libc_compat/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b0046618d9
--- /dev/null
+++ b/contrib/libs/libc_compat/CMakeLists.linux.txt
@@ -0,0 +1,28 @@
+
+# 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-libc_compat)
+target_include_directories(contrib-libs-libc_compat PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/random
+)
+target_include_directories(contrib-libs-libc_compat PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/random
+)
+target_sources(contrib-libs-libc_compat PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/string.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/readpassphrase.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/explicit_bzero.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/getrandom.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/memfd_create.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/reallocarray.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/strlcat.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/strlcpy.c
+)
diff --git a/contrib/libs/libc_compat/CMakeLists.txt b/contrib/libs/libc_compat/CMakeLists.txt
index b0046618d9..a681d385f3 100644
--- a/contrib/libs/libc_compat/CMakeLists.txt
+++ b/contrib/libs/libc_compat/CMakeLists.txt
@@ -6,23 +6,8 @@
# original buildsystem will not be accepted.
-
-add_library(contrib-libs-libc_compat)
-target_include_directories(contrib-libs-libc_compat PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase
- ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/random
-)
-target_include_directories(contrib-libs-libc_compat PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/readpassphrase
- ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/include/random
-)
-target_sources(contrib-libs-libc_compat PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/string.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/readpassphrase.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/explicit_bzero.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/getrandom.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/memfd_create.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/reallocarray.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/strlcat.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libc_compat/strlcpy.c
-)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/libevent/event_core/CMakeLists.darwin.txt b/contrib/libs/libevent/event_core/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..3ba63c0120
--- /dev/null
+++ b/contrib/libs/libevent/event_core/CMakeLists.darwin.txt
@@ -0,0 +1,41 @@
+
+# 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-libevent-event_core)
+target_compile_options(libs-libevent-event_core PRIVATE
+ -DHAVE_CONFIG_H
+ -DEVENT__HAVE_STRLCPY=1
+)
+target_include_directories(libs-libevent-event_core PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/include
+)
+target_link_libraries(libs-libevent-event_core PUBLIC
+ contrib-libs-libc_compat
+)
+target_sources(libs-libevent-event_core PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/buffer.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_filter.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_pair.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_ratelim.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_sock.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/event.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evmap.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evthread.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evutil.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evutil_rand.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evutil_time.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/listener.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/log.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/signal.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/poll.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/select.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/kqueue.c
+)
diff --git a/contrib/libs/libevent/event_core/CMakeLists.linux.txt b/contrib/libs/libevent/event_core/CMakeLists.linux.txt
new file mode 100644
index 0000000000..4d6103fdb1
--- /dev/null
+++ b/contrib/libs/libevent/event_core/CMakeLists.linux.txt
@@ -0,0 +1,41 @@
+
+# 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-libevent-event_core)
+target_compile_options(libs-libevent-event_core PRIVATE
+ -DHAVE_CONFIG_H
+ -DEVENT__HAVE_STRLCPY=1
+)
+target_include_directories(libs-libevent-event_core PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/include
+)
+target_link_libraries(libs-libevent-event_core PUBLIC
+ contrib-libs-libc_compat
+)
+target_sources(libs-libevent-event_core PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/buffer.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_filter.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_pair.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_ratelim.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_sock.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/event.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evmap.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evthread.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evutil.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evutil_rand.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evutil_time.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/listener.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/log.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/signal.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/poll.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/select.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/epoll.c
+)
diff --git a/contrib/libs/libevent/event_core/CMakeLists.txt b/contrib/libs/libevent/event_core/CMakeLists.txt
index 4d6103fdb1..a681d385f3 100644
--- a/contrib/libs/libevent/event_core/CMakeLists.txt
+++ b/contrib/libs/libevent/event_core/CMakeLists.txt
@@ -6,36 +6,8 @@
# original buildsystem will not be accepted.
-
-add_library(libs-libevent-event_core)
-target_compile_options(libs-libevent-event_core PRIVATE
- -DHAVE_CONFIG_H
- -DEVENT__HAVE_STRLCPY=1
-)
-target_include_directories(libs-libevent-event_core PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/include
-)
-target_link_libraries(libs-libevent-event_core PUBLIC
- contrib-libs-libc_compat
-)
-target_sources(libs-libevent-event_core PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/buffer.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_filter.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_pair.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_ratelim.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/bufferevent_sock.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/event.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evmap.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evthread.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evutil.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evutil_rand.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/evutil_time.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/listener.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/log.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/signal.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/poll.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/select.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libevent/epoll.c
-)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/libunwind/CMakeLists.darwin.txt b/contrib/libs/libunwind/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..d1c662ffa3
--- /dev/null
+++ b/contrib/libs/libunwind/CMakeLists.darwin.txt
@@ -0,0 +1,33 @@
+
+# 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-libunwind)
+target_compile_options(contrib-libs-libunwind PUBLIC
+ -D_libunwind_
+)
+target_compile_options(contrib-libs-libunwind PRIVATE
+ -D_LIBUNWIND_IS_NATIVE_ONLY
+ -fno-exceptions
+ -fno-rtti
+ -funwind-tables
+)
+target_include_directories(contrib-libs-libunwind PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include
+)
+target_sources(contrib-libs-libunwind PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-EHABI.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-seh.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-sjlj.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindLevel1-gcc-ext.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindLevel1.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindRegistersRestore.S
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindRegistersSave.S
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/libunwind.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind_AppleExtras.cpp
+)
diff --git a/contrib/libs/libunwind/CMakeLists.linux.txt b/contrib/libs/libunwind/CMakeLists.linux.txt
new file mode 100644
index 0000000000..4068af682c
--- /dev/null
+++ b/contrib/libs/libunwind/CMakeLists.linux.txt
@@ -0,0 +1,32 @@
+
+# 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-libunwind)
+target_compile_options(contrib-libs-libunwind PUBLIC
+ -D_libunwind_
+)
+target_compile_options(contrib-libs-libunwind PRIVATE
+ -D_LIBUNWIND_IS_NATIVE_ONLY
+ -fno-exceptions
+ -fno-rtti
+ -funwind-tables
+)
+target_include_directories(contrib-libs-libunwind PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include
+)
+target_sources(contrib-libs-libunwind PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-EHABI.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-seh.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-sjlj.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindLevel1-gcc-ext.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindLevel1.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindRegistersRestore.S
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindRegistersSave.S
+ ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/libunwind.cpp
+)
diff --git a/contrib/libs/libunwind/CMakeLists.txt b/contrib/libs/libunwind/CMakeLists.txt
index 4068af682c..a681d385f3 100644
--- a/contrib/libs/libunwind/CMakeLists.txt
+++ b/contrib/libs/libunwind/CMakeLists.txt
@@ -6,27 +6,8 @@
# original buildsystem will not be accepted.
-
-add_library(contrib-libs-libunwind)
-target_compile_options(contrib-libs-libunwind PUBLIC
- -D_libunwind_
-)
-target_compile_options(contrib-libs-libunwind PRIVATE
- -D_LIBUNWIND_IS_NATIVE_ONLY
- -fno-exceptions
- -fno-rtti
- -funwind-tables
-)
-target_include_directories(contrib-libs-libunwind PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include
-)
-target_sources(contrib-libs-libunwind PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-EHABI.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-seh.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-sjlj.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindLevel1-gcc-ext.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindLevel1.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindRegistersRestore.S
- ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindRegistersSave.S
- ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/libunwind.cpp
-)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/linuxvdso/CMakeLists.darwin.txt b/contrib/libs/linuxvdso/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..6a5ea8b2fa
--- /dev/null
+++ b/contrib/libs/linuxvdso/CMakeLists.darwin.txt
@@ -0,0 +1,13 @@
+
+# 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-linuxvdso)
+target_sources(contrib-libs-linuxvdso PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/fake.cpp
+)
diff --git a/contrib/libs/linuxvdso/CMakeLists.linux.txt b/contrib/libs/linuxvdso/CMakeLists.linux.txt
new file mode 100644
index 0000000000..1a9a6ed70c
--- /dev/null
+++ b/contrib/libs/linuxvdso/CMakeLists.linux.txt
@@ -0,0 +1,16 @@
+
+# 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-linuxvdso)
+target_link_libraries(contrib-libs-linuxvdso PUBLIC
+ libs-linuxvdso-original
+)
+target_sources(contrib-libs-linuxvdso PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/interface.cpp
+)
diff --git a/contrib/libs/linuxvdso/CMakeLists.txt b/contrib/libs/linuxvdso/CMakeLists.txt
index 1a9a6ed70c..a681d385f3 100644
--- a/contrib/libs/linuxvdso/CMakeLists.txt
+++ b/contrib/libs/linuxvdso/CMakeLists.txt
@@ -6,11 +6,8 @@
# original buildsystem will not be accepted.
-
-add_library(contrib-libs-linuxvdso)
-target_link_libraries(contrib-libs-linuxvdso PUBLIC
- libs-linuxvdso-original
-)
-target_sources(contrib-libs-linuxvdso PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/interface.cpp
-)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/linuxvdso/original/CMakeLists.linux.txt b/contrib/libs/linuxvdso/original/CMakeLists.linux.txt
new file mode 100644
index 0000000000..30018258b4
--- /dev/null
+++ b/contrib/libs/linuxvdso/original/CMakeLists.linux.txt
@@ -0,0 +1,14 @@
+
+# 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-linuxvdso-original)
+target_sources(libs-linuxvdso-original PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/original/vdso_support.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/original/elf_mem_image.cc
+)
diff --git a/contrib/libs/linuxvdso/original/CMakeLists.txt b/contrib/libs/linuxvdso/original/CMakeLists.txt
index 30018258b4..c031ddb850 100644
--- a/contrib/libs/linuxvdso/original/CMakeLists.txt
+++ b/contrib/libs/linuxvdso/original/CMakeLists.txt
@@ -6,9 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(libs-linuxvdso-original)
-target_sources(libs-linuxvdso-original PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/original/vdso_support.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/linuxvdso/original/elf_mem_image.cc
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux.txt b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux.txt
new file mode 100644
index 0000000000..eac8974014
--- /dev/null
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.linux.txt
@@ -0,0 +1,27 @@
+
+# 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(lib-ExecutionEngine-PerfJITEvents)
+target_include_directories(lib-ExecutionEngine-PerfJITEvents PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents
+)
+target_link_libraries(lib-ExecutionEngine-PerfJITEvents PUBLIC
+ contrib-libs-cxxsupp
+ contrib-libs-llvm12
+ llvm12-lib-CodeGen
+ lib-DebugInfo-DWARF
+ llvm12-lib-ExecutionEngine
+ lib-ExecutionEngine-RuntimeDyld
+ llvm12-lib-IR
+ llvm12-lib-Object
+ llvm12-lib-Support
+)
+target_sources(lib-ExecutionEngine-PerfJITEvents PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
+)
diff --git a/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt
index eac8974014..c031ddb850 100644
--- a/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt
+++ b/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt
@@ -6,22 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(lib-ExecutionEngine-PerfJITEvents)
-target_include_directories(lib-ExecutionEngine-PerfJITEvents PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents
-)
-target_link_libraries(lib-ExecutionEngine-PerfJITEvents PUBLIC
- contrib-libs-cxxsupp
- contrib-libs-llvm12
- llvm12-lib-CodeGen
- lib-DebugInfo-DWARF
- llvm12-lib-ExecutionEngine
- lib-ExecutionEngine-RuntimeDyld
- llvm12-lib-IR
- llvm12-lib-Object
- llvm12-lib-Support
-)
-target_sources(lib-ExecutionEngine-PerfJITEvents PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..5401fb00e9
--- /dev/null
+++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.darwin.txt
@@ -0,0 +1,83 @@
+
+# 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_executable(llvm-tblgen)
+target_include_directories(llvm-tblgen PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen
+)
+target_link_libraries(llvm-tblgen PUBLIC
+ contrib-libs-cxxsupp
+ contrib-libs-llvm12
+ llvm12-lib-Demangle
+ llvm12-lib-Support
+ llvm12-lib-TableGen
+ utils-TableGen-GlobalISel
+)
+target_sources(llvm-tblgen PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmMatcherEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterInst.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Attributes.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CTagsEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CallingConvEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeEmitterGen.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenDAGPatterns.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenHwModes.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenInstruction.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenMapTable.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenRegisters.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenSchedule.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenTarget.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcher.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherGen.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherOpt.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAPacketizerEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DirectiveEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DisassemblerEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/ExegesisEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FastISelEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FixedLenDecoderEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GICombinerEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GlobalISelEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InfoByHwMode.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrDocsEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrInfoEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/IntrinsicEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptParserEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptRSTEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PredicateExpander.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PseudoLoweringEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RISCVCompressInstEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterBankEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterInfoEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SDNodeProperties.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SearchableTableEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetFeatureInfo.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/TableGen.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Types.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86DisassemblerTables.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86FoldTablesEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86ModRMFilters.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86RecognizableInstr.cpp
+)
+target_link_flags(llvm-tblgen
+ PUBLIC
+ -Wl,-no_deduplicate
+ -Wl,-sdk_version,10.15
+ -fPIC
+ -fPIC
+)
+vcs_info(llvm-tblgen)
diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt
new file mode 100644
index 0000000000..93bbea30a1
--- /dev/null
+++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.linux.txt
@@ -0,0 +1,88 @@
+
+# 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_executable(llvm-tblgen)
+target_include_directories(llvm-tblgen PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen
+)
+target_link_libraries(llvm-tblgen PUBLIC
+ contrib-libs-cxxsupp
+ library-cpp-lfalloc
+ contrib-libs-llvm12
+ llvm12-lib-Demangle
+ llvm12-lib-Support
+ llvm12-lib-TableGen
+ utils-TableGen-GlobalISel
+)
+target_sources(llvm-tblgen PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmMatcherEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterInst.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Attributes.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CTagsEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CallingConvEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeEmitterGen.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenDAGPatterns.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenHwModes.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenInstruction.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenMapTable.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenRegisters.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenSchedule.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenTarget.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcher.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherGen.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherOpt.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAPacketizerEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DirectiveEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DisassemblerEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/ExegesisEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FastISelEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FixedLenDecoderEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GICombinerEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GlobalISelEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InfoByHwMode.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrDocsEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrInfoEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/IntrinsicEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptParserEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptRSTEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PredicateExpander.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PseudoLoweringEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RISCVCompressInstEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterBankEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterInfoEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SDNodeProperties.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SearchableTableEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetFeatureInfo.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/TableGen.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Types.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86DisassemblerTables.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86FoldTablesEmitter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86ModRMFilters.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86RecognizableInstr.cpp
+)
+target_link_flags(llvm-tblgen
+ PUBLIC
+ -ldl
+ -lrt
+ -Wl,--no-as-needed
+ -fPIC
+ -fPIC
+ -lpthread
+ -lrt
+ -ldl
+)
+vcs_info(llvm-tblgen)
diff --git a/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt b/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt
index 93bbea30a1..a681d385f3 100644
--- a/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt
+++ b/contrib/libs/llvm12/utils/TableGen/CMakeLists.txt
@@ -6,83 +6,8 @@
# original buildsystem will not be accepted.
-
-add_executable(llvm-tblgen)
-target_include_directories(llvm-tblgen PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen
-)
-target_link_libraries(llvm-tblgen PUBLIC
- contrib-libs-cxxsupp
- library-cpp-lfalloc
- contrib-libs-llvm12
- llvm12-lib-Demangle
- llvm12-lib-Support
- llvm12-lib-TableGen
- utils-TableGen-GlobalISel
-)
-target_sources(llvm-tblgen PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmMatcherEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/AsmWriterInst.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Attributes.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CTagsEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CallingConvEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeEmitterGen.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenDAGPatterns.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenHwModes.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenInstruction.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenMapTable.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenRegisters.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenSchedule.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/CodeGenTarget.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcher.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherGen.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DAGISelMatcherOpt.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DFAPacketizerEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DirectiveEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/DisassemblerEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/ExegesisEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FastISelEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/FixedLenDecoderEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GICombinerEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/GlobalISelEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InfoByHwMode.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrDocsEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/InstrInfoEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/IntrinsicEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptParserEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/OptRSTEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PredicateExpander.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/PseudoLoweringEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RISCVCompressInstEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterBankEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/RegisterInfoEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SDNodeProperties.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SearchableTableEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/SubtargetFeatureInfo.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/TableGen.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/Types.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86DisassemblerTables.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86FoldTablesEmitter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86ModRMFilters.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/llvm12/utils/TableGen/X86RecognizableInstr.cpp
-)
-target_link_flags(llvm-tblgen
- PUBLIC
- -ldl
- -lrt
- -Wl,--no-as-needed
- -fPIC
- -fPIC
- -lpthread
- -lrt
- -ldl
-)
-vcs_info(llvm-tblgen)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/nayuki_md5/CMakeLists.darwin.txt b/contrib/libs/nayuki_md5/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..900e849144
--- /dev/null
+++ b/contrib/libs/nayuki_md5/CMakeLists.darwin.txt
@@ -0,0 +1,17 @@
+
+# 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-nayuki_md5)
+target_link_libraries(contrib-libs-nayuki_md5 PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(contrib-libs-nayuki_md5 PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/nayuki_md5/md5.c
+)
diff --git a/contrib/libs/nayuki_md5/CMakeLists.linux.txt b/contrib/libs/nayuki_md5/CMakeLists.linux.txt
new file mode 100644
index 0000000000..96c40c6907
--- /dev/null
+++ b/contrib/libs/nayuki_md5/CMakeLists.linux.txt
@@ -0,0 +1,17 @@
+
+# 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-nayuki_md5)
+target_link_libraries(contrib-libs-nayuki_md5 PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(contrib-libs-nayuki_md5 PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/nayuki_md5/md5-fast-x8664.S
+)
diff --git a/contrib/libs/nayuki_md5/CMakeLists.txt b/contrib/libs/nayuki_md5/CMakeLists.txt
index 96c40c6907..a681d385f3 100644
--- a/contrib/libs/nayuki_md5/CMakeLists.txt
+++ b/contrib/libs/nayuki_md5/CMakeLists.txt
@@ -6,12 +6,8 @@
# original buildsystem will not be accepted.
-
-add_library(contrib-libs-nayuki_md5)
-target_link_libraries(contrib-libs-nayuki_md5 PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(contrib-libs-nayuki_md5 PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/nayuki_md5/md5-fast-x8664.S
-)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/pdqsort/CMakeLists.linux.txt b/contrib/libs/pdqsort/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a1637f4276
--- /dev/null
+++ b/contrib/libs/pdqsort/CMakeLists.linux.txt
@@ -0,0 +1,10 @@
+
+# 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)
diff --git a/contrib/libs/pdqsort/CMakeLists.txt b/contrib/libs/pdqsort/CMakeLists.txt
index a1637f4276..c031ddb850 100644
--- a/contrib/libs/pdqsort/CMakeLists.txt
+++ b/contrib/libs/pdqsort/CMakeLists.txt
@@ -6,5 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(contrib-libs-pdqsort INTERFACE)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/poco/Crypto/CMakeLists.linux.txt b/contrib/libs/poco/Crypto/CMakeLists.linux.txt
new file mode 100644
index 0000000000..95007a58b7
--- /dev/null
+++ b/contrib/libs/poco/Crypto/CMakeLists.linux.txt
@@ -0,0 +1,48 @@
+
+# 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_include_directories(libs-poco-Crypto PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include
+)
+target_include_directories(libs-poco-Crypto PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+)
+target_link_libraries(libs-poco-Crypto PUBLIC
+ contrib-libs-cxxsupp
+ OpenSSL::OpenSSL
+ libs-poco-Foundation
+)
+target_sources(libs-poco-Crypto PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/Cipher.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherKey.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherKeyImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoTransform.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/DigestEngine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECDSADigestEngine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECKey.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECKeyImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/EVPPKey.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/KeyPair.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/KeyPairImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/OpenSSLInitializer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/PKCS12Container.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSACipherImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSADigestEngine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSAKey.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSAKeyImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/X509Certificate.cpp
+)
diff --git a/contrib/libs/poco/Crypto/CMakeLists.txt b/contrib/libs/poco/Crypto/CMakeLists.txt
index 95007a58b7..c031ddb850 100644
--- a/contrib/libs/poco/Crypto/CMakeLists.txt
+++ b/contrib/libs/poco/Crypto/CMakeLists.txt
@@ -6,43 +6,6 @@
# original buildsystem will not be accepted.
-find_package(OpenSSL REQUIRED)
-
-add_library(libs-poco-Crypto)
-target_include_directories(libs-poco-Crypto PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include
-)
-target_include_directories(libs-poco-Crypto PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
-)
-target_link_libraries(libs-poco-Crypto PUBLIC
- contrib-libs-cxxsupp
- OpenSSL::OpenSSL
- libs-poco-Foundation
-)
-target_sources(libs-poco-Crypto PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/Cipher.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherFactory.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherKey.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CipherKeyImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoException.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoStream.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/CryptoTransform.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/DigestEngine.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECDSADigestEngine.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECKey.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/ECKeyImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/EVPPKey.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/KeyPair.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/KeyPairImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/OpenSSLInitializer.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/PKCS12Container.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSACipherImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSADigestEngine.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSAKey.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/RSAKeyImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/src/X509Certificate.cpp
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/poco/Foundation/CMakeLists.linux.txt b/contrib/libs/poco/Foundation/CMakeLists.linux.txt
new file mode 100644
index 0000000000..80321eef7e
--- /dev/null
+++ b/contrib/libs/poco/Foundation/CMakeLists.linux.txt
@@ -0,0 +1,181 @@
+
+# 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_include_directories(libs-poco-Foundation PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+)
+target_include_directories(libs-poco-Foundation PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/double-conversion
+ ${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 80321eef7e..c031ddb850 100644
--- a/contrib/libs/poco/Foundation/CMakeLists.txt
+++ b/contrib/libs/poco/Foundation/CMakeLists.txt
@@ -6,176 +6,6 @@
# original buildsystem will not be accepted.
-find_package(ZLIB REQUIRED)
-
-add_library(libs-poco-Foundation)
-target_include_directories(libs-poco-Foundation PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
-)
-target_include_directories(libs-poco-Foundation PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/double-conversion
- ${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 (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/poco/JSON/CMakeLists.linux.txt b/contrib/libs/poco/JSON/CMakeLists.linux.txt
new file mode 100644
index 0000000000..4e8e7b8ee5
--- /dev/null
+++ b/contrib/libs/poco/JSON/CMakeLists.linux.txt
@@ -0,0 +1,37 @@
+
+# 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_include_directories(libs-poco-JSON PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
+)
+target_include_directories(libs-poco-JSON PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src
+)
+target_link_libraries(libs-poco-JSON PUBLIC
+ contrib-libs-cxxsupp
+ libs-poco-Foundation
+)
+target_sources(libs-poco-JSON PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Array.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Handler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/JSONException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Object.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParseHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Parser.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParserImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/PrintHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Query.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Stringifier.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Template.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/TemplateCache.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/pdjson.c
+)
diff --git a/contrib/libs/poco/JSON/CMakeLists.txt b/contrib/libs/poco/JSON/CMakeLists.txt
index 4e8e7b8ee5..c031ddb850 100644
--- a/contrib/libs/poco/JSON/CMakeLists.txt
+++ b/contrib/libs/poco/JSON/CMakeLists.txt
@@ -6,32 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(libs-poco-JSON)
-target_include_directories(libs-poco-JSON PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
-)
-target_include_directories(libs-poco-JSON PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src
-)
-target_link_libraries(libs-poco-JSON PUBLIC
- contrib-libs-cxxsupp
- libs-poco-Foundation
-)
-target_sources(libs-poco-JSON PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Array.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Handler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/JSONException.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Object.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParseHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Parser.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/ParserImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/PrintHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Query.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Stringifier.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/Template.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/TemplateCache.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/src/pdjson.c
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/poco/Net/CMakeLists.linux.txt b/contrib/libs/poco/Net/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a19b1d89d2
--- /dev/null
+++ b/contrib/libs/poco/Net/CMakeLists.linux.txt
@@ -0,0 +1,128 @@
+
+# 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
+ -DPOCO_HAVE_FD_EPOLL
+)
+target_include_directories(libs-poco-Net PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
+)
+target_include_directories(libs-poco-Net PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src
+)
+target_link_libraries(libs-poco-Net PUBLIC
+ contrib-libs-cxxsupp
+ libs-poco-Foundation
+)
+target_sources(libs-poco-Net PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/AbstractHTTPRequestHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DNS.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DatagramSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DatagramSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DialogSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FTPClientSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FTPStreamFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FilePartSource.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTMLForm.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPAuthenticationParams.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPBasicCredentials.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPBufferAllocator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPChunkedStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPClientSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPCookie.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPCredentials.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPDigestCredentials.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPFixedLengthStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPHeaderStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPIOStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPMessage.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequest.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequestHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequestHandlerFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPResponse.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerConnection.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerConnectionFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerParams.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerRequest.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerRequestImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerResponse.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerResponseImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSessionFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSessionInstantiator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPStreamFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HostEntry.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPClient.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPEventArgs.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPPacket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPPacketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPv4PacketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/IPAddress.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/IPAddressImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailMessage.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailRecipient.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MediaType.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MessageHeader.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MulticastSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MultipartReader.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MultipartWriter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPClient.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPEventArgs.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPPacket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NameValueCollection.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/Net.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NetException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NetworkInterface.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NullPartHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/OAuth10Credentials.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/OAuth20Credentials.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/POP3ClientSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartSource.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartStore.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PollSet.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/QuotedPrintableDecoder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/QuotedPrintableEncoder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RawSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RawSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RemoteSyslogChannel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RemoteSyslogListener.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SMTPChannel.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SMTPClientSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ServerSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ServerSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/Socket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketAddress.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketAddressImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketNotification.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketNotifier.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketReactor.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketStream.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StreamSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StreamSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StringPartSource.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerConnection.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerConnectionFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerDispatcher.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerParams.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/WebSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/WebSocketImpl.cpp
+)
diff --git a/contrib/libs/poco/Net/CMakeLists.txt b/contrib/libs/poco/Net/CMakeLists.txt
index a19b1d89d2..c031ddb850 100644
--- a/contrib/libs/poco/Net/CMakeLists.txt
+++ b/contrib/libs/poco/Net/CMakeLists.txt
@@ -6,123 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(libs-poco-Net)
-target_compile_options(libs-poco-Net PRIVATE
- -DPOCO_SOCKETADDRESS_DONT_PREFER_IPV4
- -DPOCO_HAVE_FD_EPOLL
-)
-target_include_directories(libs-poco-Net PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
-)
-target_include_directories(libs-poco-Net PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src
-)
-target_link_libraries(libs-poco-Net PUBLIC
- contrib-libs-cxxsupp
- libs-poco-Foundation
-)
-target_sources(libs-poco-Net PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/AbstractHTTPRequestHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DNS.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DatagramSocket.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DatagramSocketImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/DialogSocket.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FTPClientSession.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FTPStreamFactory.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/FilePartSource.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTMLForm.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPAuthenticationParams.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPBasicCredentials.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPBufferAllocator.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPChunkedStream.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPClientSession.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPCookie.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPCredentials.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPDigestCredentials.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPFixedLengthStream.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPHeaderStream.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPIOStream.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPMessage.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequest.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequestHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPRequestHandlerFactory.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPResponse.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServer.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerConnection.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerConnectionFactory.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerParams.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerRequest.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerRequestImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerResponse.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerResponseImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPServerSession.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSession.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSessionFactory.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPSessionInstantiator.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPStream.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HTTPStreamFactory.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/HostEntry.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPClient.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPEventArgs.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPPacket.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPPacketImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPSocket.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPSocketImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ICMPv4PacketImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/IPAddress.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/IPAddressImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailMessage.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailRecipient.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MailStream.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MediaType.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MessageHeader.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MulticastSocket.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MultipartReader.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/MultipartWriter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPClient.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPEventArgs.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NTPPacket.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NameValueCollection.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/Net.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NetException.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NetworkInterface.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/NullPartHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/OAuth10Credentials.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/OAuth20Credentials.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/POP3ClientSession.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartSource.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PartStore.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/PollSet.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/QuotedPrintableDecoder.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/QuotedPrintableEncoder.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RawSocket.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RawSocketImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RemoteSyslogChannel.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/RemoteSyslogListener.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SMTPChannel.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SMTPClientSession.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ServerSocket.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/ServerSocketImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/Socket.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketAddress.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketAddressImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketNotification.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketNotifier.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketReactor.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/SocketStream.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StreamSocket.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StreamSocketImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/StringPartSource.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServer.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerConnection.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerConnectionFactory.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerDispatcher.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/TCPServerParams.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/WebSocket.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/src/WebSocketImpl.cpp
-)
+if (UNIX)
+ 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
new file mode 100644
index 0000000000..e23ba933d9
--- /dev/null
+++ b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.linux.txt
@@ -0,0 +1,61 @@
+
+# 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_include_directories(libs-poco-NetSSL_OpenSSL PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/include
+)
+target_include_directories(libs-poco-NetSSL_OpenSSL PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include
+)
+target_link_libraries(libs-poco-NetSSL_OpenSSL PUBLIC
+ contrib-libs-cxxsupp
+ OpenSSL::OpenSSL
+ libs-poco-Crypto
+ libs-poco-Foundation
+ libs-poco-JSON
+ libs-poco-Net
+ libs-poco-Util
+ libs-poco-XML
+)
+target_sources(libs-poco-NetSSL_OpenSSL PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/AcceptCertificateHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/CertificateHandlerFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/CertificateHandlerFactoryMgr.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/ConsoleCertificateHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/Context.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/HTTPSClientSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/HTTPSSessionInstantiator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/HTTPSStreamFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/InvalidCertificateHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/KeyConsoleHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/KeyFileHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/PrivateKeyFactory.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/PrivateKeyFactoryMgr.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/PrivateKeyPassphraseHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/RejectCertificateHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SSLException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SSLManager.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureSMTPClientSession.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureServerSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureServerSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureStreamSocket.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureStreamSocketImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/Session.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/Utility.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/VerificationErrorArgs.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/X509Certificate.cpp
+)
diff --git a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt
index e23ba933d9..c031ddb850 100644
--- a/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt
+++ b/contrib/libs/poco/NetSSL_OpenSSL/CMakeLists.txt
@@ -6,56 +6,6 @@
# original buildsystem will not be accepted.
-find_package(OpenSSL REQUIRED)
-
-add_library(libs-poco-NetSSL_OpenSSL)
-target_include_directories(libs-poco-NetSSL_OpenSSL PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/include
-)
-target_include_directories(libs-poco-NetSSL_OpenSSL PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Crypto/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Net/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include
-)
-target_link_libraries(libs-poco-NetSSL_OpenSSL PUBLIC
- contrib-libs-cxxsupp
- OpenSSL::OpenSSL
- libs-poco-Crypto
- libs-poco-Foundation
- libs-poco-JSON
- libs-poco-Net
- libs-poco-Util
- libs-poco-XML
-)
-target_sources(libs-poco-NetSSL_OpenSSL PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/AcceptCertificateHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/CertificateHandlerFactory.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/CertificateHandlerFactoryMgr.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/ConsoleCertificateHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/Context.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/HTTPSClientSession.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/HTTPSSessionInstantiator.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/HTTPSStreamFactory.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/InvalidCertificateHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/KeyConsoleHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/KeyFileHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/PrivateKeyFactory.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/PrivateKeyFactoryMgr.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/PrivateKeyPassphraseHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/RejectCertificateHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SSLException.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SSLManager.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureSMTPClientSession.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureServerSocket.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureServerSocketImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureSocketImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureStreamSocket.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/SecureStreamSocketImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/Session.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/Utility.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/VerificationErrorArgs.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/NetSSL_OpenSSL/src/X509Certificate.cpp
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/poco/Util/CMakeLists.linux.txt b/contrib/libs/poco/Util/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ec462e7dfc
--- /dev/null
+++ b/contrib/libs/poco/Util/CMakeLists.linux.txt
@@ -0,0 +1,57 @@
+
+# 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_include_directories(libs-poco-Util PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include
+)
+target_include_directories(libs-poco-Util PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/expat
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/include
+)
+target_link_libraries(libs-poco-Util PUBLIC
+ contrib-libs-cxxsupp
+ contrib-libs-expat
+ libs-poco-Foundation
+ libs-poco-JSON
+ libs-poco-XML
+)
+target_sources(libs-poco-Util PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/AbstractConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Application.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ConfigurationMapper.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ConfigurationView.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/FilesystemConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/HelpFormatter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/IniFileConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/IntValidator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/JSONConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LayeredConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LoggingConfigurator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LoggingSubsystem.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/MapConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Option.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionCallback.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionProcessor.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionSet.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/PropertyFileConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/RegExpValidator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ServerApplication.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Subsystem.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/SystemConfiguration.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Timer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/TimerTask.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Validator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/XMLConfiguration.cpp
+)
diff --git a/contrib/libs/poco/Util/CMakeLists.txt b/contrib/libs/poco/Util/CMakeLists.txt
index ec462e7dfc..c031ddb850 100644
--- a/contrib/libs/poco/Util/CMakeLists.txt
+++ b/contrib/libs/poco/Util/CMakeLists.txt
@@ -6,52 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(libs-poco-Util)
-target_include_directories(libs-poco-Util PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include
-)
-target_include_directories(libs-poco-Util PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/expat
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/JSON/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/include
-)
-target_link_libraries(libs-poco-Util PUBLIC
- contrib-libs-cxxsupp
- contrib-libs-expat
- libs-poco-Foundation
- libs-poco-JSON
- libs-poco-XML
-)
-target_sources(libs-poco-Util PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/AbstractConfiguration.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Application.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ConfigurationMapper.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ConfigurationView.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/FilesystemConfiguration.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/HelpFormatter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/IniFileConfiguration.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/IntValidator.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/JSONConfiguration.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LayeredConfiguration.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LoggingConfigurator.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/LoggingSubsystem.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/MapConfiguration.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Option.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionCallback.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionException.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionProcessor.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/OptionSet.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/PropertyFileConfiguration.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/RegExpValidator.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/ServerApplication.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Subsystem.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/SystemConfiguration.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Timer.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/TimerTask.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/Validator.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Util/src/XMLConfiguration.cpp
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/poco/XML/CMakeLists.linux.txt b/contrib/libs/poco/XML/CMakeLists.linux.txt
new file mode 100644
index 0000000000..9a99bbb750
--- /dev/null
+++ b/contrib/libs/poco/XML/CMakeLists.linux.txt
@@ -0,0 +1,98 @@
+
+# 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_include_directories(libs-poco-XML PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/expat
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/include
+)
+target_include_directories(libs-poco-XML PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/expat
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src
+)
+target_link_libraries(libs-poco-XML PUBLIC
+ contrib-libs-cxxsupp
+ contrib-libs-expat
+ libs-poco-Foundation
+)
+target_sources(libs-poco-XML PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AbstractContainerNode.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AbstractNode.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Attr.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AttrMap.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Attributes.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AttributesImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/CDATASection.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/CharacterData.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ChildNodesList.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Comment.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ContentHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMBuilder.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMImplementation.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMObject.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMParser.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMSerializer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMWriter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DTDHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DTDMap.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DeclHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DefaultHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Document.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentEvent.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentFragment.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentType.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Element.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ElementsByTagNameList.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Entity.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityReference.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityResolver.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityResolverImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ErrorHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Event.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventDispatcher.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventListener.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventTarget.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/InputSource.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/LexicalHandler.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Locator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/LocatorImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/MutationEvent.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Name.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamePool.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamedNodeMap.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamespaceStrategy.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamespaceSupport.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Node.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeAppender.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeFilter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeIterator.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeList.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Notation.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ParserEngine.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ProcessingInstruction.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/QName.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/SAXException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/SAXParser.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Text.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/TreeWalker.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ValueTraits.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/WhitespaceFilter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLFilter.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLFilterImpl.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLReader.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLStreamParser.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLStreamParserException.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLString.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLWriter.cpp
+)
diff --git a/contrib/libs/poco/XML/CMakeLists.txt b/contrib/libs/poco/XML/CMakeLists.txt
index 9a99bbb750..c031ddb850 100644
--- a/contrib/libs/poco/XML/CMakeLists.txt
+++ b/contrib/libs/poco/XML/CMakeLists.txt
@@ -6,93 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(libs-poco-XML)
-target_include_directories(libs-poco-XML PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/expat
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/include
-)
-target_include_directories(libs-poco-XML PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/expat
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/Foundation/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src
-)
-target_link_libraries(libs-poco-XML PUBLIC
- contrib-libs-cxxsupp
- contrib-libs-expat
- libs-poco-Foundation
-)
-target_sources(libs-poco-XML PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AbstractContainerNode.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AbstractNode.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Attr.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AttrMap.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Attributes.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/AttributesImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/CDATASection.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/CharacterData.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ChildNodesList.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Comment.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ContentHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMBuilder.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMException.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMImplementation.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMObject.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMParser.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMSerializer.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DOMWriter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DTDHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DTDMap.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DeclHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DefaultHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Document.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentEvent.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentFragment.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/DocumentType.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Element.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ElementsByTagNameList.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Entity.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityReference.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityResolver.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EntityResolverImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ErrorHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Event.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventDispatcher.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventException.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventListener.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/EventTarget.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/InputSource.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/LexicalHandler.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Locator.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/LocatorImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/MutationEvent.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Name.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamePool.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamedNodeMap.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamespaceStrategy.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NamespaceSupport.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Node.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeAppender.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeFilter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeIterator.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/NodeList.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Notation.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ParserEngine.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ProcessingInstruction.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/QName.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/SAXException.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/SAXParser.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/Text.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/TreeWalker.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/ValueTraits.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/WhitespaceFilter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLException.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLFilter.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLFilterImpl.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLReader.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLStreamParser.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLStreamParserException.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLString.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/poco/XML/src/XMLWriter.cpp
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/tcmalloc/CMakeLists.linux.txt b/contrib/libs/tcmalloc/CMakeLists.linux.txt
new file mode 100644
index 0000000000..71b205ddc3
--- /dev/null
+++ b/contrib/libs/tcmalloc/CMakeLists.linux.txt
@@ -0,0 +1,74 @@
+
+# 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-tcmalloc)
+target_compile_options(contrib-libs-tcmalloc PRIVATE
+ -DTCMALLOC_256K_PAGES
+)
+target_link_libraries(contrib-libs-tcmalloc PUBLIC
+ contrib-libs-cxxsupp
+ contrib-restricted-abseil-cpp
+ libs-tcmalloc-malloc_extension
+)
+target_sources(contrib-libs-tcmalloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/want_hpaa.cc
+)
+
+add_global_library_for(contrib-libs-tcmalloc.global contrib-libs-tcmalloc)
+target_compile_options(contrib-libs-tcmalloc.global PRIVATE
+ -DTCMALLOC_256K_PAGES
+)
+target_link_libraries(contrib-libs-tcmalloc.global PUBLIC
+ contrib-libs-cxxsupp
+ contrib-restricted-abseil-cpp
+ libs-tcmalloc-malloc_extension
+)
+target_sources(contrib-libs-tcmalloc.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/tcmalloc.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/arena.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/background.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/central_freelist.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/common.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/cpu_cache.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/experimental_pow2_below64_size_class.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/experimental_pow2_size_class.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/legacy_size_classes.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/guarded_page_allocator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/huge_address_map.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/huge_allocator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/huge_cache.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/huge_page_aware_allocator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/page_allocator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/page_allocator_interface.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/page_heap.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/pagemap.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/parameters.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/peak_heap_tracker.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/sampler.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/size_classes.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/span.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/stack_trace_table.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/static_vars.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/stats.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/system-alloc.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/thread_cache.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/transfer_cache.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/experiment.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/noruntime_size_classes.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/cache_topology.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/environment.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/logging.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/memory_stats.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/mincore.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/numa.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/percpu.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/percpu_rseq_asm.S
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/percpu_rseq_unsupported.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/util.cc
+)
diff --git a/contrib/libs/tcmalloc/CMakeLists.txt b/contrib/libs/tcmalloc/CMakeLists.txt
index 71b205ddc3..c031ddb850 100644
--- a/contrib/libs/tcmalloc/CMakeLists.txt
+++ b/contrib/libs/tcmalloc/CMakeLists.txt
@@ -6,69 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(contrib-libs-tcmalloc)
-target_compile_options(contrib-libs-tcmalloc PRIVATE
- -DTCMALLOC_256K_PAGES
-)
-target_link_libraries(contrib-libs-tcmalloc PUBLIC
- contrib-libs-cxxsupp
- contrib-restricted-abseil-cpp
- libs-tcmalloc-malloc_extension
-)
-target_sources(contrib-libs-tcmalloc PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/want_hpaa.cc
-)
-
-add_global_library_for(contrib-libs-tcmalloc.global contrib-libs-tcmalloc)
-target_compile_options(contrib-libs-tcmalloc.global PRIVATE
- -DTCMALLOC_256K_PAGES
-)
-target_link_libraries(contrib-libs-tcmalloc.global PUBLIC
- contrib-libs-cxxsupp
- contrib-restricted-abseil-cpp
- libs-tcmalloc-malloc_extension
-)
-target_sources(contrib-libs-tcmalloc.global PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/tcmalloc.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/arena.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/background.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/central_freelist.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/common.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/cpu_cache.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/experimental_pow2_below64_size_class.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/experimental_pow2_size_class.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/legacy_size_classes.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/guarded_page_allocator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/huge_address_map.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/huge_allocator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/huge_cache.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/huge_page_aware_allocator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/page_allocator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/page_allocator_interface.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/page_heap.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/pagemap.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/parameters.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/peak_heap_tracker.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/sampler.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/size_classes.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/span.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/stack_trace_table.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/static_vars.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/stats.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/system-alloc.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/thread_cache.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/transfer_cache.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/experiment.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/noruntime_size_classes.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/cache_topology.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/environment.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/logging.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/memory_stats.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/mincore.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/numa.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/percpu.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/percpu_rseq_asm.S
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/percpu_rseq_unsupported.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/internal/util.cc
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux.txt b/contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux.txt
new file mode 100644
index 0000000000..872fa3509f
--- /dev/null
+++ b/contrib/libs/tcmalloc/malloc_extension/CMakeLists.linux.txt
@@ -0,0 +1,26 @@
+
+# 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-tcmalloc-malloc_extension)
+target_compile_options(libs-tcmalloc-malloc_extension PRIVATE
+ -DTCMALLOC_256K_PAGES
+)
+target_include_directories(libs-tcmalloc-malloc_extension PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc
+)
+target_include_directories(libs-tcmalloc-malloc_extension PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc
+)
+target_link_libraries(libs-tcmalloc-malloc_extension PUBLIC
+ contrib-libs-cxxsupp
+ contrib-restricted-abseil-cpp
+)
+target_sources(libs-tcmalloc-malloc_extension PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/malloc_extension.cc
+)
diff --git a/contrib/libs/tcmalloc/malloc_extension/CMakeLists.txt b/contrib/libs/tcmalloc/malloc_extension/CMakeLists.txt
index 872fa3509f..c031ddb850 100644
--- a/contrib/libs/tcmalloc/malloc_extension/CMakeLists.txt
+++ b/contrib/libs/tcmalloc/malloc_extension/CMakeLists.txt
@@ -6,21 +6,6 @@
# original buildsystem will not be accepted.
-
-add_library(libs-tcmalloc-malloc_extension)
-target_compile_options(libs-tcmalloc-malloc_extension PRIVATE
- -DTCMALLOC_256K_PAGES
-)
-target_include_directories(libs-tcmalloc-malloc_extension PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc
-)
-target_include_directories(libs-tcmalloc-malloc_extension PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc
-)
-target_link_libraries(libs-tcmalloc-malloc_extension PUBLIC
- contrib-libs-cxxsupp
- contrib-restricted-abseil-cpp
-)
-target_sources(libs-tcmalloc-malloc_extension PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/tcmalloc/tcmalloc/malloc_extension.cc
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()