diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
commit | d32759b7eb812b4a4033cc61e1e98245544b4992 (patch) | |
tree | 22bbb3e9b46c1b55818aaf475f699ae187ce328b /contrib | |
parent | 471e9b902d01b70b2d12146772e30528a216ee82 (diff) | |
download | ydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz |
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'contrib')
234 files changed, 5592 insertions, 3541 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() diff --git a/contrib/restricted/abseil-cpp/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/CMakeLists.linux.txt new file mode 100644 index 0000000000..5252bb9cb7 --- /dev/null +++ b/contrib/restricted/abseil-cpp/CMakeLists.linux.txt @@ -0,0 +1,86 @@ + +# 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-restricted-abseil-cpp INTERFACE) +target_link_libraries(contrib-restricted-abseil-cpp INTERFACE + abseil-cpp-absl-algorithm + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-scoped_set_env + base-internal-spinlock_wait + base-internal-strerror + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-city + abseil-cpp-absl-container + container-internal-absl_hashtablez_sampler + container-internal-raw_hash_set + abseil-cpp-absl-debugging + absl-debugging-failure_signal_handler + absl-debugging-internal + absl-debugging-leak_check + absl-debugging-leak_check_disable + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-flags + absl-flags-commandlineflag + flags-internal-commandlineflag + flags-internal-flag + flags-internal-private_handle_accessor + flags-internal-program_name + flags-internal-usage + absl-flags-marshalling + absl-flags-parse + absl-flags-reflection + absl-flags-usage + absl-flags-usage_config + abseil-cpp-absl-functional + abseil-cpp-absl-hash + absl-hash-internal + abseil-cpp-absl-memory + abseil-cpp-absl-meta + abseil-cpp-absl-numeric + profiling-internal-exponential_biased + profiling-internal-periodic_sampler + absl-random-absl_random_distributions + random-internal-absl_random_internal_distribution_test_util + random-internal-pool_urbg + random-internal-randen + random-internal-randen_detect + random-internal-randen_hwaes + random-internal-randen_round_keys + random-internal-randen_slow + random-internal-seed_material + absl-random-seed_gen_exception + absl-random-seed_sequences + abseil-cpp-absl-status + absl-status-statusor + abseil-cpp-absl-strings + absl-strings-cord + strings-internal-absl_cord_internal + strings-internal-absl_strings_internal + strings-internal-cordz_functions + strings-internal-cordz_handle + strings-internal-cordz_info + strings-internal-cordz_sample_token + strings-internal-str_format + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone + abseil-cpp-absl-types + absl-types-bad_any_cast + absl-types-bad_optional_access + absl-types-bad_variant_access + absl-types-internal + abseil-cpp-absl-utility +) diff --git a/contrib/restricted/abseil-cpp/CMakeLists.txt b/contrib/restricted/abseil-cpp/CMakeLists.txt index 5252bb9cb7..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/CMakeLists.txt @@ -6,81 +6,6 @@ # original buildsystem will not be accepted. - -add_library(contrib-restricted-abseil-cpp INTERFACE) -target_link_libraries(contrib-restricted-abseil-cpp INTERFACE - abseil-cpp-absl-algorithm - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-scoped_set_env - base-internal-spinlock_wait - base-internal-strerror - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-city - abseil-cpp-absl-container - container-internal-absl_hashtablez_sampler - container-internal-raw_hash_set - abseil-cpp-absl-debugging - absl-debugging-failure_signal_handler - absl-debugging-internal - absl-debugging-leak_check - absl-debugging-leak_check_disable - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-flags - absl-flags-commandlineflag - flags-internal-commandlineflag - flags-internal-flag - flags-internal-private_handle_accessor - flags-internal-program_name - flags-internal-usage - absl-flags-marshalling - absl-flags-parse - absl-flags-reflection - absl-flags-usage - absl-flags-usage_config - abseil-cpp-absl-functional - abseil-cpp-absl-hash - absl-hash-internal - abseil-cpp-absl-memory - abseil-cpp-absl-meta - abseil-cpp-absl-numeric - profiling-internal-exponential_biased - profiling-internal-periodic_sampler - absl-random-absl_random_distributions - random-internal-absl_random_internal_distribution_test_util - random-internal-pool_urbg - random-internal-randen - random-internal-randen_detect - random-internal-randen_hwaes - random-internal-randen_round_keys - random-internal-randen_slow - random-internal-seed_material - absl-random-seed_gen_exception - absl-random-seed_sequences - abseil-cpp-absl-status - absl-status-statusor - abseil-cpp-absl-strings - absl-strings-cord - strings-internal-absl_cord_internal - strings-internal-absl_strings_internal - strings-internal-cordz_functions - strings-internal-cordz_handle - strings-internal-cordz_info - strings-internal-cordz_sample_token - strings-internal-str_format - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone - abseil-cpp-absl-types - absl-types-bad_any_cast - absl-types-bad_optional_access - absl-types-bad_variant_access - absl-types-internal - abseil-cpp-absl-utility -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.linux.txt new file mode 100644 index 0000000000..2d939ec0c3 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/algorithm/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(abseil-cpp-absl-algorithm INTERFACE) +target_link_libraries(abseil-cpp-absl-algorithm INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.txt index 2d939ec0c3..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/algorithm/CMakeLists.txt @@ -6,9 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-algorithm INTERFACE) -target_link_libraries(abseil-cpp-absl-algorithm INTERFACE - contrib-libs-cxxsupp - yutil -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.linux.txt new file mode 100644 index 0000000000..74454e3c86 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/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(abseil-cpp-absl-base) +target_compile_options(abseil-cpp-absl-base PRIVATE + -DNOMINMAX +) +target_include_directories(abseil-cpp-absl-base PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(abseil-cpp-absl-base PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-base PUBLIC + contrib-libs-cxxsupp + base-internal-raw_logging + base-internal-spinlock_wait + absl-base-log_severity +) +target_sources(abseil-cpp-absl-base PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/cycleclock.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/spinlock.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/sysinfo.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/thread_identity.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.txt index 74454e3c86..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.txt @@ -6,27 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-base) -target_compile_options(abseil-cpp-absl-base PRIVATE - -DNOMINMAX -) -target_include_directories(abseil-cpp-absl-base PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(abseil-cpp-absl-base PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(abseil-cpp-absl-base PUBLIC - contrib-libs-cxxsupp - base-internal-raw_logging - base-internal-spinlock_wait - absl-base-log_severity -) -target_sources(abseil-cpp-absl-base PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/cycleclock.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/spinlock.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/sysinfo.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/thread_identity.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/unscaledcycleclock.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.linux.txt new file mode 100644 index 0000000000..aa2ade17e0 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.linux.txt @@ -0,0 +1,29 @@ + +# 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(base-internal-low_level_alloc) +target_compile_options(base-internal-low_level_alloc PRIVATE + -DNOMINMAX +) +target_include_directories(base-internal-low_level_alloc PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(base-internal-low_level_alloc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(base-internal-low_level_alloc PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + absl-base-log_severity +) +target_sources(base-internal-low_level_alloc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.txt index aa2ade17e0..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.txt @@ -6,24 +6,6 @@ # original buildsystem will not be accepted. - -add_library(base-internal-low_level_alloc) -target_compile_options(base-internal-low_level_alloc PRIVATE - -DNOMINMAX -) -target_include_directories(base-internal-low_level_alloc PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(base-internal-low_level_alloc PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(base-internal-low_level_alloc PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - absl-base-log_severity -) -target_sources(base-internal-low_level_alloc PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/CMakeLists.linux.txt new file mode 100644 index 0000000000..9bc3ee2396 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/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(base-internal-raw_logging) +target_compile_options(base-internal-raw_logging PRIVATE + -DNOMINMAX +) +target_include_directories(base-internal-raw_logging PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(base-internal-raw_logging PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(base-internal-raw_logging PUBLIC + contrib-libs-cxxsupp + absl-base-log_severity +) +target_sources(base-internal-raw_logging PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/CMakeLists.txt index 9bc3ee2396..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/CMakeLists.txt @@ -6,21 +6,6 @@ # original buildsystem will not be accepted. - -add_library(base-internal-raw_logging) -target_compile_options(base-internal-raw_logging PRIVATE - -DNOMINMAX -) -target_include_directories(base-internal-raw_logging PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(base-internal-raw_logging PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(base-internal-raw_logging PUBLIC - contrib-libs-cxxsupp - absl-base-log_severity -) -target_sources(base-internal-raw_logging PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/CMakeLists.linux.txt new file mode 100644 index 0000000000..f31d1cd5a6 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/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(base-internal-scoped_set_env) +target_compile_options(base-internal-scoped_set_env PRIVATE + -DNOMINMAX +) +target_include_directories(base-internal-scoped_set_env PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(base-internal-scoped_set_env PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(base-internal-scoped_set_env PUBLIC + contrib-libs-cxxsupp + base-internal-raw_logging + absl-base-log_severity +) +target_sources(base-internal-scoped_set_env PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/CMakeLists.txt index f31d1cd5a6..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/CMakeLists.txt @@ -6,22 +6,6 @@ # original buildsystem will not be accepted. - -add_library(base-internal-scoped_set_env) -target_compile_options(base-internal-scoped_set_env PRIVATE - -DNOMINMAX -) -target_include_directories(base-internal-scoped_set_env PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(base-internal-scoped_set_env PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(base-internal-scoped_set_env PUBLIC - contrib-libs-cxxsupp - base-internal-raw_logging - absl-base-log_severity -) -target_sources(base-internal-scoped_set_env PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/CMakeLists.linux.txt new file mode 100644 index 0000000000..d7a06efb05 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/CMakeLists.linux.txt @@ -0,0 +1,25 @@ + +# 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(base-internal-spinlock_wait) +target_compile_options(base-internal-spinlock_wait PRIVATE + -DNOMINMAX +) +target_include_directories(base-internal-spinlock_wait PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(base-internal-spinlock_wait PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(base-internal-spinlock_wait PUBLIC + contrib-libs-cxxsupp +) +target_sources(base-internal-spinlock_wait PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/CMakeLists.txt index d7a06efb05..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(base-internal-spinlock_wait) -target_compile_options(base-internal-spinlock_wait PRIVATE - -DNOMINMAX -) -target_include_directories(base-internal-spinlock_wait PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(base-internal-spinlock_wait PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(base-internal-spinlock_wait PUBLIC - contrib-libs-cxxsupp -) -target_sources(base-internal-spinlock_wait PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/strerror/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/internal/strerror/CMakeLists.linux.txt new file mode 100644 index 0000000000..6d441c5795 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/internal/strerror/CMakeLists.linux.txt @@ -0,0 +1,25 @@ + +# 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(base-internal-strerror) +target_compile_options(base-internal-strerror PRIVATE + -DNOMINMAX +) +target_include_directories(base-internal-strerror PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(base-internal-strerror PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(base-internal-strerror PUBLIC + contrib-libs-cxxsupp +) +target_sources(base-internal-strerror PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/strerror.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/strerror/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/internal/strerror/CMakeLists.txt index 6d441c5795..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/internal/strerror/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/internal/strerror/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(base-internal-strerror) -target_compile_options(base-internal-strerror PRIVATE - -DNOMINMAX -) -target_include_directories(base-internal-strerror PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(base-internal-strerror PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(base-internal-strerror PUBLIC - contrib-libs-cxxsupp -) -target_sources(base-internal-strerror PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/strerror.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/CMakeLists.linux.txt new file mode 100644 index 0000000000..6458276698 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/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(base-internal-throw_delegate) +target_compile_options(base-internal-throw_delegate PRIVATE + -DNOMINMAX +) +target_include_directories(base-internal-throw_delegate PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(base-internal-throw_delegate PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(base-internal-throw_delegate PUBLIC + contrib-libs-cxxsupp + base-internal-raw_logging + absl-base-log_severity +) +target_sources(base-internal-throw_delegate PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/CMakeLists.txt index 6458276698..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/CMakeLists.txt @@ -6,22 +6,6 @@ # original buildsystem will not be accepted. - -add_library(base-internal-throw_delegate) -target_compile_options(base-internal-throw_delegate PRIVATE - -DNOMINMAX -) -target_include_directories(base-internal-throw_delegate PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(base-internal-throw_delegate PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(base-internal-throw_delegate PUBLIC - contrib-libs-cxxsupp - base-internal-raw_logging - absl-base-log_severity -) -target_sources(base-internal-throw_delegate PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/log_severity/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/log_severity/CMakeLists.linux.txt new file mode 100644 index 0000000000..4010463334 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/log_severity/CMakeLists.linux.txt @@ -0,0 +1,25 @@ + +# 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(absl-base-log_severity) +target_compile_options(absl-base-log_severity PRIVATE + -DNOMINMAX +) +target_include_directories(absl-base-log_severity PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-base-log_severity PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-base-log_severity PUBLIC + contrib-libs-cxxsupp +) +target_sources(absl-base-log_severity PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/log_severity.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/log_severity/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/log_severity/CMakeLists.txt index 4010463334..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/log_severity/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/log_severity/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-base-log_severity) -target_compile_options(absl-base-log_severity PRIVATE - -DNOMINMAX -) -target_include_directories(absl-base-log_severity PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-base-log_severity PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-base-log_severity PUBLIC - contrib-libs-cxxsupp -) -target_sources(absl-base-log_severity PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/log_severity.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/city/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/city/CMakeLists.linux.txt new file mode 100644 index 0000000000..bd4303076a --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/city/CMakeLists.linux.txt @@ -0,0 +1,29 @@ + +# 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(abseil-cpp-absl-city) +target_compile_options(abseil-cpp-absl-city PRIVATE + -DNOMINMAX +) +target_include_directories(abseil-cpp-absl-city PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(abseil-cpp-absl-city PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-city PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + absl-base-log_severity +) +target_sources(abseil-cpp-absl-city PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/hash/internal/city.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/city/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/city/CMakeLists.txt index bd4303076a..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/city/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/city/CMakeLists.txt @@ -6,24 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-city) -target_compile_options(abseil-cpp-absl-city PRIVATE - -DNOMINMAX -) -target_include_directories(abseil-cpp-absl-city PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(abseil-cpp-absl-city PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(abseil-cpp-absl-city PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - absl-base-log_severity -) -target_sources(abseil-cpp-absl-city PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/hash/internal/city.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/container/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/container/CMakeLists.linux.txt new file mode 100644 index 0000000000..9431e0ec7e --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/container/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(abseil-cpp-absl-container INTERFACE) +target_link_libraries(abseil-cpp-absl-container INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/contrib/restricted/abseil-cpp/absl/container/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/container/CMakeLists.txt index 9431e0ec7e..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/container/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/container/CMakeLists.txt @@ -6,9 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-container INTERFACE) -target_link_libraries(abseil-cpp-absl-container INTERFACE - contrib-libs-cxxsupp - yutil -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/container/internal/absl_hashtablez_sampler/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/container/internal/absl_hashtablez_sampler/CMakeLists.linux.txt new file mode 100644 index 0000000000..ec591961f9 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/container/internal/absl_hashtablez_sampler/CMakeLists.linux.txt @@ -0,0 +1,45 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(container-internal-absl_hashtablez_sampler) +target_compile_options(container-internal-absl_hashtablez_sampler PRIVATE + -DNOMINMAX +) +target_include_directories(container-internal-absl_hashtablez_sampler PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(container-internal-absl_hashtablez_sampler PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(container-internal-absl_hashtablez_sampler PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-numeric + profiling-internal-exponential_biased + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone +) +target_sources(container-internal-absl_hashtablez_sampler PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/container/internal/hashtablez_sampler.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/container/internal/absl_hashtablez_sampler/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/container/internal/absl_hashtablez_sampler/CMakeLists.txt index ec591961f9..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/container/internal/absl_hashtablez_sampler/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/container/internal/absl_hashtablez_sampler/CMakeLists.txt @@ -6,40 +6,6 @@ # original buildsystem will not be accepted. - -add_library(container-internal-absl_hashtablez_sampler) -target_compile_options(container-internal-absl_hashtablez_sampler PRIVATE - -DNOMINMAX -) -target_include_directories(container-internal-absl_hashtablez_sampler PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(container-internal-absl_hashtablez_sampler PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(container-internal-absl_hashtablez_sampler PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-numeric - profiling-internal-exponential_biased - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone -) -target_sources(container-internal-absl_hashtablez_sampler PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/container/internal/hashtablez_sampler.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/container/internal/hashtablez_sampler_force_weak_definition.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/container/internal/raw_hash_set/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/container/internal/raw_hash_set/CMakeLists.linux.txt new file mode 100644 index 0000000000..3f6138846f --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/container/internal/raw_hash_set/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. + + + +add_library(container-internal-raw_hash_set) +target_compile_options(container-internal-raw_hash_set PRIVATE + -DNOMINMAX +) +target_include_directories(container-internal-raw_hash_set PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(container-internal-raw_hash_set PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(container-internal-raw_hash_set PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + container-internal-absl_hashtablez_sampler + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-hash + abseil-cpp-absl-numeric + profiling-internal-exponential_biased + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone + abseil-cpp-absl-types + absl-types-bad_optional_access +) +target_sources(container-internal-raw_hash_set PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/container/internal/raw_hash_set.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/container/internal/raw_hash_set/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/container/internal/raw_hash_set/CMakeLists.txt index 3f6138846f..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/container/internal/raw_hash_set/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/container/internal/raw_hash_set/CMakeLists.txt @@ -6,43 +6,6 @@ # original buildsystem will not be accepted. - -add_library(container-internal-raw_hash_set) -target_compile_options(container-internal-raw_hash_set PRIVATE - -DNOMINMAX -) -target_include_directories(container-internal-raw_hash_set PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(container-internal-raw_hash_set PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(container-internal-raw_hash_set PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - container-internal-absl_hashtablez_sampler - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-hash - abseil-cpp-absl-numeric - profiling-internal-exponential_biased - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone - abseil-cpp-absl-types - absl-types-bad_optional_access -) -target_sources(container-internal-raw_hash_set PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/container/internal/raw_hash_set.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.linux.txt new file mode 100644 index 0000000000..ab4c606895 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.linux.txt @@ -0,0 +1,29 @@ + +# 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(abseil-cpp-absl-debugging) +target_compile_options(abseil-cpp-absl-debugging PRIVATE + -DNOMINMAX +) +target_include_directories(abseil-cpp-absl-debugging PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(abseil-cpp-absl-debugging PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-debugging PUBLIC + contrib-libs-cxxsupp + base-internal-raw_logging + absl-base-log_severity +) +target_sources(abseil-cpp-absl-debugging PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/address_is_readable.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/elf_mem_image.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/vdso_support.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.txt index ab4c606895..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/debugging/CMakeLists.txt @@ -6,24 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-debugging) -target_compile_options(abseil-cpp-absl-debugging PRIVATE - -DNOMINMAX -) -target_include_directories(abseil-cpp-absl-debugging PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(abseil-cpp-absl-debugging PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(abseil-cpp-absl-debugging PUBLIC - contrib-libs-cxxsupp - base-internal-raw_logging - absl-base-log_severity -) -target_sources(abseil-cpp-absl-debugging PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/address_is_readable.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/elf_mem_image.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/vdso_support.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/debugging/failure_signal_handler/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/debugging/failure_signal_handler/CMakeLists.linux.txt new file mode 100644 index 0000000000..369ef5ecdf --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/debugging/failure_signal_handler/CMakeLists.linux.txt @@ -0,0 +1,39 @@ + +# 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(absl-debugging-failure_signal_handler) +target_compile_options(absl-debugging-failure_signal_handler PRIVATE + -DNOMINMAX +) +target_include_directories(absl-debugging-failure_signal_handler PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-debugging-failure_signal_handler PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-debugging-failure_signal_handler PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-debugging + absl-debugging-internal + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal +) +target_sources(absl-debugging-failure_signal_handler PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/failure_signal_handler.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/debugging/failure_signal_handler/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/debugging/failure_signal_handler/CMakeLists.txt index 369ef5ecdf..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/debugging/failure_signal_handler/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/debugging/failure_signal_handler/CMakeLists.txt @@ -6,34 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-debugging-failure_signal_handler) -target_compile_options(absl-debugging-failure_signal_handler PRIVATE - -DNOMINMAX -) -target_include_directories(absl-debugging-failure_signal_handler PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-debugging-failure_signal_handler PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-debugging-failure_signal_handler PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-debugging - absl-debugging-internal - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal -) -target_sources(absl-debugging-failure_signal_handler PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/failure_signal_handler.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/debugging/internal/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/debugging/internal/CMakeLists.linux.txt new file mode 100644 index 0000000000..1a9b1d0570 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/debugging/internal/CMakeLists.linux.txt @@ -0,0 +1,38 @@ + +# 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(absl-debugging-internal) +target_compile_options(absl-debugging-internal PRIVATE + -DNOMINMAX +) +target_include_directories(absl-debugging-internal PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-debugging-internal PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-debugging-internal PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal +) +target_sources(absl-debugging-internal PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/examine_stack.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/debugging/internal/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/debugging/internal/CMakeLists.txt index 1a9b1d0570..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/debugging/internal/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/debugging/internal/CMakeLists.txt @@ -6,33 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-debugging-internal) -target_compile_options(absl-debugging-internal PRIVATE - -DNOMINMAX -) -target_include_directories(absl-debugging-internal PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-debugging-internal PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-debugging-internal PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal -) -target_sources(absl-debugging-internal PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/examine_stack.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/debugging/leak_check/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/debugging/leak_check/CMakeLists.linux.txt new file mode 100644 index 0000000000..6b792fe58e --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/debugging/leak_check/CMakeLists.linux.txt @@ -0,0 +1,25 @@ + +# 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(absl-debugging-leak_check) +target_compile_options(absl-debugging-leak_check PRIVATE + -DNOMINMAX +) +target_include_directories(absl-debugging-leak_check PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-debugging-leak_check PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-debugging-leak_check PUBLIC + contrib-libs-cxxsupp +) +target_sources(absl-debugging-leak_check PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/leak_check.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/debugging/leak_check/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/debugging/leak_check/CMakeLists.txt index 6b792fe58e..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/debugging/leak_check/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/debugging/leak_check/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-debugging-leak_check) -target_compile_options(absl-debugging-leak_check PRIVATE - -DNOMINMAX -) -target_include_directories(absl-debugging-leak_check PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-debugging-leak_check PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-debugging-leak_check PUBLIC - contrib-libs-cxxsupp -) -target_sources(absl-debugging-leak_check PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/leak_check.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/debugging/leak_check_disable/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/debugging/leak_check_disable/CMakeLists.linux.txt new file mode 100644 index 0000000000..857dda6a70 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/debugging/leak_check_disable/CMakeLists.linux.txt @@ -0,0 +1,25 @@ + +# 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(absl-debugging-leak_check_disable) +target_compile_options(absl-debugging-leak_check_disable PRIVATE + -DNOMINMAX +) +target_include_directories(absl-debugging-leak_check_disable PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-debugging-leak_check_disable PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-debugging-leak_check_disable PUBLIC + contrib-libs-cxxsupp +) +target_sources(absl-debugging-leak_check_disable PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/leak_check_disable.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/debugging/leak_check_disable/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/debugging/leak_check_disable/CMakeLists.txt index 857dda6a70..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/debugging/leak_check_disable/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/debugging/leak_check_disable/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-debugging-leak_check_disable) -target_compile_options(absl-debugging-leak_check_disable PRIVATE - -DNOMINMAX -) -target_include_directories(absl-debugging-leak_check_disable PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-debugging-leak_check_disable PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-debugging-leak_check_disable PUBLIC - contrib-libs-cxxsupp -) -target_sources(absl-debugging-leak_check_disable PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/leak_check_disable.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/debugging/stacktrace/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/debugging/stacktrace/CMakeLists.linux.txt new file mode 100644 index 0000000000..ddebc4ef5d --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/debugging/stacktrace/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(absl-debugging-stacktrace) +target_compile_options(absl-debugging-stacktrace PRIVATE + -DNOMINMAX +) +target_include_directories(absl-debugging-stacktrace PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-debugging-stacktrace PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-debugging-stacktrace PUBLIC + contrib-libs-cxxsupp + base-internal-raw_logging + absl-base-log_severity + abseil-cpp-absl-debugging +) +target_sources(absl-debugging-stacktrace PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/stacktrace.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/debugging/stacktrace/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/debugging/stacktrace/CMakeLists.txt index ddebc4ef5d..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/debugging/stacktrace/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/debugging/stacktrace/CMakeLists.txt @@ -6,23 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-debugging-stacktrace) -target_compile_options(absl-debugging-stacktrace PRIVATE - -DNOMINMAX -) -target_include_directories(absl-debugging-stacktrace PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-debugging-stacktrace PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-debugging-stacktrace PUBLIC - contrib-libs-cxxsupp - base-internal-raw_logging - absl-base-log_severity - abseil-cpp-absl-debugging -) -target_sources(absl-debugging-stacktrace PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/stacktrace.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/debugging/symbolize/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/debugging/symbolize/CMakeLists.linux.txt new file mode 100644 index 0000000000..1168cfe186 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/debugging/symbolize/CMakeLists.linux.txt @@ -0,0 +1,36 @@ + +# 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(absl-debugging-symbolize) +target_compile_options(absl-debugging-symbolize PRIVATE + -DNOMINMAX +) +target_include_directories(absl-debugging-symbolize PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-debugging-symbolize PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-debugging-symbolize PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-debugging + abseil-cpp-absl-demangle + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal +) +target_sources(absl-debugging-symbolize PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/symbolize.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/debugging/symbolize/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/debugging/symbolize/CMakeLists.txt index 1168cfe186..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/debugging/symbolize/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/debugging/symbolize/CMakeLists.txt @@ -6,31 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-debugging-symbolize) -target_compile_options(absl-debugging-symbolize PRIVATE - -DNOMINMAX -) -target_include_directories(absl-debugging-symbolize PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-debugging-symbolize PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-debugging-symbolize PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-debugging - abseil-cpp-absl-demangle - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal -) -target_sources(absl-debugging-symbolize PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/symbolize.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/demangle/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/demangle/CMakeLists.linux.txt new file mode 100644 index 0000000000..70dd93451f --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/demangle/CMakeLists.linux.txt @@ -0,0 +1,29 @@ + +# 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(abseil-cpp-absl-demangle) +target_compile_options(abseil-cpp-absl-demangle PRIVATE + -DNOMINMAX +) +target_include_directories(abseil-cpp-absl-demangle PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(abseil-cpp-absl-demangle PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-demangle PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + absl-base-log_severity +) +target_sources(abseil-cpp-absl-demangle PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/demangle.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/demangle/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/demangle/CMakeLists.txt index 70dd93451f..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/demangle/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/demangle/CMakeLists.txt @@ -6,24 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-demangle) -target_compile_options(abseil-cpp-absl-demangle PRIVATE - -DNOMINMAX -) -target_include_directories(abseil-cpp-absl-demangle PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(abseil-cpp-absl-demangle PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(abseil-cpp-absl-demangle PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - absl-base-log_severity -) -target_sources(abseil-cpp-absl-demangle PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/debugging/internal/demangle.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.linux.txt new file mode 100644 index 0000000000..94a5053e7b --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.linux.txt @@ -0,0 +1,65 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-flags) +target_compile_options(abseil-cpp-absl-flags PRIVATE + -DNOMINMAX +) +target_include_directories(abseil-cpp-absl-flags PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(abseil-cpp-absl-flags PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-flags PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-city + container-internal-absl_hashtablez_sampler + container-internal-raw_hash_set + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + absl-flags-commandlineflag + flags-internal-commandlineflag + flags-internal-flag + flags-internal-private_handle_accessor + flags-internal-program_name + absl-flags-marshalling + absl-flags-reflection + absl-flags-usage_config + abseil-cpp-absl-hash + absl-hash-internal + abseil-cpp-absl-numeric + profiling-internal-exponential_biased + abseil-cpp-absl-strings + absl-strings-cord + strings-internal-absl_cord_internal + strings-internal-absl_strings_internal + strings-internal-cordz_functions + strings-internal-cordz_handle + strings-internal-cordz_info + strings-internal-str_format + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone + absl-types-bad_optional_access + absl-types-bad_variant_access +) +target_sources(abseil-cpp-absl-flags PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/flag.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.txt index 94a5053e7b..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/CMakeLists.txt @@ -6,60 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-flags) -target_compile_options(abseil-cpp-absl-flags PRIVATE - -DNOMINMAX -) -target_include_directories(abseil-cpp-absl-flags PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(abseil-cpp-absl-flags PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(abseil-cpp-absl-flags PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-city - container-internal-absl_hashtablez_sampler - container-internal-raw_hash_set - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - absl-flags-commandlineflag - flags-internal-commandlineflag - flags-internal-flag - flags-internal-private_handle_accessor - flags-internal-program_name - absl-flags-marshalling - absl-flags-reflection - absl-flags-usage_config - abseil-cpp-absl-hash - absl-hash-internal - abseil-cpp-absl-numeric - profiling-internal-exponential_biased - abseil-cpp-absl-strings - absl-strings-cord - strings-internal-absl_cord_internal - strings-internal-absl_strings_internal - strings-internal-cordz_functions - strings-internal-cordz_handle - strings-internal-cordz_info - strings-internal-str_format - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone - absl-types-bad_optional_access - absl-types-bad_variant_access -) -target_sources(abseil-cpp-absl-flags PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/flag.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.linux.txt new file mode 100644 index 0000000000..f0a69db5a4 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.linux.txt @@ -0,0 +1,35 @@ + +# 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(absl-flags-commandlineflag) +target_compile_options(absl-flags-commandlineflag PRIVATE + -DNOMINMAX +) +target_include_directories(absl-flags-commandlineflag PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-flags-commandlineflag PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-flags-commandlineflag PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + flags-internal-commandlineflag + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + absl-types-bad_optional_access +) +target_sources(absl-flags-commandlineflag PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/commandlineflag.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.txt index f0a69db5a4..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/commandlineflag/CMakeLists.txt @@ -6,30 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-flags-commandlineflag) -target_compile_options(absl-flags-commandlineflag PRIVATE - -DNOMINMAX -) -target_include_directories(absl-flags-commandlineflag PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-flags-commandlineflag PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-flags-commandlineflag PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - flags-internal-commandlineflag - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - absl-types-bad_optional_access -) -target_sources(absl-flags-commandlineflag PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/commandlineflag.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.linux.txt new file mode 100644 index 0000000000..1e9ae5e5af --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.linux.txt @@ -0,0 +1,25 @@ + +# 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(flags-internal-commandlineflag) +target_compile_options(flags-internal-commandlineflag PRIVATE + -DNOMINMAX +) +target_include_directories(flags-internal-commandlineflag PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(flags-internal-commandlineflag PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(flags-internal-commandlineflag PUBLIC + contrib-libs-cxxsupp +) +target_sources(flags-internal-commandlineflag PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.txt index 1e9ae5e5af..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(flags-internal-commandlineflag) -target_compile_options(flags-internal-commandlineflag PRIVATE - -DNOMINMAX -) -target_include_directories(flags-internal-commandlineflag PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(flags-internal-commandlineflag PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(flags-internal-commandlineflag PUBLIC - contrib-libs-cxxsupp -) -target_sources(flags-internal-commandlineflag PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/commandlineflag.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/flags/internal/flag/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/internal/flag/CMakeLists.linux.txt new file mode 100644 index 0000000000..473c89ae75 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/internal/flag/CMakeLists.linux.txt @@ -0,0 +1,50 @@ + +# 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(flags-internal-flag) +target_compile_options(flags-internal-flag PRIVATE + -DNOMINMAX +) +target_include_directories(flags-internal-flag PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(flags-internal-flag PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(flags-internal-flag PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + absl-flags-commandlineflag + flags-internal-commandlineflag + flags-internal-program_name + absl-flags-marshalling + absl-flags-usage_config + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + strings-internal-str_format + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone + absl-types-bad_optional_access +) +target_sources(flags-internal-flag PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/flag.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/flags/internal/flag/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/internal/flag/CMakeLists.txt index 473c89ae75..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/internal/flag/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/internal/flag/CMakeLists.txt @@ -6,45 +6,6 @@ # original buildsystem will not be accepted. - -add_library(flags-internal-flag) -target_compile_options(flags-internal-flag PRIVATE - -DNOMINMAX -) -target_include_directories(flags-internal-flag PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(flags-internal-flag PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(flags-internal-flag PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - absl-flags-commandlineflag - flags-internal-commandlineflag - flags-internal-program_name - absl-flags-marshalling - absl-flags-usage_config - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - strings-internal-str_format - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone - absl-types-bad_optional_access -) -target_sources(flags-internal-flag PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/flag.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/flags/internal/private_handle_accessor/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/internal/private_handle_accessor/CMakeLists.linux.txt new file mode 100644 index 0000000000..9cf1cba716 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/internal/private_handle_accessor/CMakeLists.linux.txt @@ -0,0 +1,36 @@ + +# 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(flags-internal-private_handle_accessor) +target_compile_options(flags-internal-private_handle_accessor PRIVATE + -DNOMINMAX +) +target_include_directories(flags-internal-private_handle_accessor PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(flags-internal-private_handle_accessor PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(flags-internal-private_handle_accessor PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + absl-flags-commandlineflag + flags-internal-commandlineflag + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + absl-types-bad_optional_access +) +target_sources(flags-internal-private_handle_accessor PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/private_handle_accessor.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/flags/internal/private_handle_accessor/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/internal/private_handle_accessor/CMakeLists.txt index 9cf1cba716..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/internal/private_handle_accessor/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/internal/private_handle_accessor/CMakeLists.txt @@ -6,31 +6,6 @@ # original buildsystem will not be accepted. - -add_library(flags-internal-private_handle_accessor) -target_compile_options(flags-internal-private_handle_accessor PRIVATE - -DNOMINMAX -) -target_include_directories(flags-internal-private_handle_accessor PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(flags-internal-private_handle_accessor PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(flags-internal-private_handle_accessor PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - absl-flags-commandlineflag - flags-internal-commandlineflag - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - absl-types-bad_optional_access -) -target_sources(flags-internal-private_handle_accessor PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/private_handle_accessor.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/flags/internal/program_name/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/internal/program_name/CMakeLists.linux.txt new file mode 100644 index 0000000000..b633766195 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/internal/program_name/CMakeLists.linux.txt @@ -0,0 +1,43 @@ + +# 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(flags-internal-program_name) +target_compile_options(flags-internal-program_name PRIVATE + -DNOMINMAX +) +target_include_directories(flags-internal-program_name PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(flags-internal-program_name PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(flags-internal-program_name PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone +) +target_sources(flags-internal-program_name PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/program_name.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/flags/internal/program_name/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/internal/program_name/CMakeLists.txt index b633766195..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/internal/program_name/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/internal/program_name/CMakeLists.txt @@ -6,38 +6,6 @@ # original buildsystem will not be accepted. - -add_library(flags-internal-program_name) -target_compile_options(flags-internal-program_name PRIVATE - -DNOMINMAX -) -target_include_directories(flags-internal-program_name PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(flags-internal-program_name PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(flags-internal-program_name PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone -) -target_sources(flags-internal-program_name PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/program_name.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/flags/internal/usage/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/internal/usage/CMakeLists.linux.txt new file mode 100644 index 0000000000..2a017dfa0b --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/internal/usage/CMakeLists.linux.txt @@ -0,0 +1,66 @@ + +# 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(flags-internal-usage) +target_compile_options(flags-internal-usage PRIVATE + -DNOMINMAX +) +target_include_directories(flags-internal-usage PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(flags-internal-usage PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(flags-internal-usage PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-city + container-internal-absl_hashtablez_sampler + container-internal-raw_hash_set + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-flags + absl-flags-commandlineflag + flags-internal-commandlineflag + flags-internal-flag + flags-internal-private_handle_accessor + flags-internal-program_name + absl-flags-marshalling + absl-flags-reflection + absl-flags-usage_config + abseil-cpp-absl-hash + absl-hash-internal + abseil-cpp-absl-numeric + profiling-internal-exponential_biased + abseil-cpp-absl-strings + absl-strings-cord + strings-internal-absl_cord_internal + strings-internal-absl_strings_internal + strings-internal-cordz_functions + strings-internal-cordz_handle + strings-internal-cordz_info + strings-internal-str_format + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone + absl-types-bad_optional_access + absl-types-bad_variant_access +) +target_sources(flags-internal-usage PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/usage.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/flags/internal/usage/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/internal/usage/CMakeLists.txt index 2a017dfa0b..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/internal/usage/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/internal/usage/CMakeLists.txt @@ -6,61 +6,6 @@ # original buildsystem will not be accepted. - -add_library(flags-internal-usage) -target_compile_options(flags-internal-usage PRIVATE - -DNOMINMAX -) -target_include_directories(flags-internal-usage PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(flags-internal-usage PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(flags-internal-usage PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-city - container-internal-absl_hashtablez_sampler - container-internal-raw_hash_set - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-flags - absl-flags-commandlineflag - flags-internal-commandlineflag - flags-internal-flag - flags-internal-private_handle_accessor - flags-internal-program_name - absl-flags-marshalling - absl-flags-reflection - absl-flags-usage_config - abseil-cpp-absl-hash - absl-hash-internal - abseil-cpp-absl-numeric - profiling-internal-exponential_biased - abseil-cpp-absl-strings - absl-strings-cord - strings-internal-absl_cord_internal - strings-internal-absl_strings_internal - strings-internal-cordz_functions - strings-internal-cordz_handle - strings-internal-cordz_info - strings-internal-str_format - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone - absl-types-bad_optional_access - absl-types-bad_variant_access -) -target_sources(flags-internal-usage PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/internal/usage.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/flags/marshalling/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/marshalling/CMakeLists.linux.txt new file mode 100644 index 0000000000..bdb826372c --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/marshalling/CMakeLists.linux.txt @@ -0,0 +1,34 @@ + +# 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(absl-flags-marshalling) +target_compile_options(absl-flags-marshalling PRIVATE + -DNOMINMAX +) +target_include_directories(absl-flags-marshalling PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-flags-marshalling PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-flags-marshalling PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + strings-internal-str_format +) +target_sources(absl-flags-marshalling PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/marshalling.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/flags/marshalling/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/marshalling/CMakeLists.txt index bdb826372c..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/marshalling/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/marshalling/CMakeLists.txt @@ -6,29 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-flags-marshalling) -target_compile_options(absl-flags-marshalling PRIVATE - -DNOMINMAX -) -target_include_directories(absl-flags-marshalling PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-flags-marshalling PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-flags-marshalling PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - strings-internal-str_format -) -target_sources(absl-flags-marshalling PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/marshalling.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/flags/parse/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/parse/CMakeLists.linux.txt new file mode 100644 index 0000000000..96a6aee36c --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/parse/CMakeLists.linux.txt @@ -0,0 +1,68 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(absl-flags-parse) +target_compile_options(absl-flags-parse PRIVATE + -DNOMINMAX +) +target_include_directories(absl-flags-parse PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-flags-parse PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-flags-parse PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-city + container-internal-absl_hashtablez_sampler + container-internal-raw_hash_set + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-flags + absl-flags-commandlineflag + flags-internal-commandlineflag + flags-internal-flag + flags-internal-private_handle_accessor + flags-internal-program_name + flags-internal-usage + absl-flags-marshalling + absl-flags-reflection + absl-flags-usage + absl-flags-usage_config + abseil-cpp-absl-hash + absl-hash-internal + abseil-cpp-absl-numeric + profiling-internal-exponential_biased + abseil-cpp-absl-strings + absl-strings-cord + strings-internal-absl_cord_internal + strings-internal-absl_strings_internal + strings-internal-cordz_functions + strings-internal-cordz_handle + strings-internal-cordz_info + strings-internal-str_format + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone + absl-types-bad_optional_access + absl-types-bad_variant_access +) +target_sources(absl-flags-parse PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/parse.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/flags/parse/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/parse/CMakeLists.txt index 96a6aee36c..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/parse/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/parse/CMakeLists.txt @@ -6,63 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-flags-parse) -target_compile_options(absl-flags-parse PRIVATE - -DNOMINMAX -) -target_include_directories(absl-flags-parse PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-flags-parse PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-flags-parse PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-city - container-internal-absl_hashtablez_sampler - container-internal-raw_hash_set - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-flags - absl-flags-commandlineflag - flags-internal-commandlineflag - flags-internal-flag - flags-internal-private_handle_accessor - flags-internal-program_name - flags-internal-usage - absl-flags-marshalling - absl-flags-reflection - absl-flags-usage - absl-flags-usage_config - abseil-cpp-absl-hash - absl-hash-internal - abseil-cpp-absl-numeric - profiling-internal-exponential_biased - abseil-cpp-absl-strings - absl-strings-cord - strings-internal-absl_cord_internal - strings-internal-absl_strings_internal - strings-internal-cordz_functions - strings-internal-cordz_handle - strings-internal-cordz_info - strings-internal-str_format - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone - absl-types-bad_optional_access - absl-types-bad_variant_access -) -target_sources(absl-flags-parse PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/parse.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/flags/reflection/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/reflection/CMakeLists.linux.txt new file mode 100644 index 0000000000..ccc4dbf016 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/reflection/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. + + + +add_library(absl-flags-reflection) +target_compile_options(absl-flags-reflection PRIVATE + -DNOMINMAX +) +target_include_directories(absl-flags-reflection PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-flags-reflection PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-flags-reflection PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-city + container-internal-absl_hashtablez_sampler + container-internal-raw_hash_set + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + absl-flags-commandlineflag + flags-internal-commandlineflag + flags-internal-private_handle_accessor + flags-internal-program_name + absl-flags-usage_config + abseil-cpp-absl-hash + absl-hash-internal + abseil-cpp-absl-numeric + profiling-internal-exponential_biased + abseil-cpp-absl-strings + absl-strings-cord + strings-internal-absl_cord_internal + strings-internal-absl_strings_internal + strings-internal-cordz_functions + strings-internal-cordz_handle + strings-internal-cordz_info + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone + absl-types-bad_optional_access + absl-types-bad_variant_access +) +target_sources(absl-flags-reflection PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/reflection.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/flags/reflection/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/reflection/CMakeLists.txt index ccc4dbf016..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/reflection/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/reflection/CMakeLists.txt @@ -6,56 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-flags-reflection) -target_compile_options(absl-flags-reflection PRIVATE - -DNOMINMAX -) -target_include_directories(absl-flags-reflection PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-flags-reflection PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-flags-reflection PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-city - container-internal-absl_hashtablez_sampler - container-internal-raw_hash_set - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - absl-flags-commandlineflag - flags-internal-commandlineflag - flags-internal-private_handle_accessor - flags-internal-program_name - absl-flags-usage_config - abseil-cpp-absl-hash - absl-hash-internal - abseil-cpp-absl-numeric - profiling-internal-exponential_biased - abseil-cpp-absl-strings - absl-strings-cord - strings-internal-absl_cord_internal - strings-internal-absl_strings_internal - strings-internal-cordz_functions - strings-internal-cordz_handle - strings-internal-cordz_info - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone - absl-types-bad_optional_access - absl-types-bad_variant_access -) -target_sources(absl-flags-reflection PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/reflection.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/flags/usage/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/usage/CMakeLists.linux.txt new file mode 100644 index 0000000000..c963d7cac6 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/usage/CMakeLists.linux.txt @@ -0,0 +1,67 @@ + +# 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(absl-flags-usage) +target_compile_options(absl-flags-usage PRIVATE + -DNOMINMAX +) +target_include_directories(absl-flags-usage PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-flags-usage PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-flags-usage PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-city + container-internal-absl_hashtablez_sampler + container-internal-raw_hash_set + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-flags + absl-flags-commandlineflag + flags-internal-commandlineflag + flags-internal-flag + flags-internal-private_handle_accessor + flags-internal-program_name + flags-internal-usage + absl-flags-marshalling + absl-flags-reflection + absl-flags-usage_config + abseil-cpp-absl-hash + absl-hash-internal + abseil-cpp-absl-numeric + profiling-internal-exponential_biased + abseil-cpp-absl-strings + absl-strings-cord + strings-internal-absl_cord_internal + strings-internal-absl_strings_internal + strings-internal-cordz_functions + strings-internal-cordz_handle + strings-internal-cordz_info + strings-internal-str_format + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone + absl-types-bad_optional_access + absl-types-bad_variant_access +) +target_sources(absl-flags-usage PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/usage.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/flags/usage/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/usage/CMakeLists.txt index c963d7cac6..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/usage/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/usage/CMakeLists.txt @@ -6,62 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-flags-usage) -target_compile_options(absl-flags-usage PRIVATE - -DNOMINMAX -) -target_include_directories(absl-flags-usage PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-flags-usage PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-flags-usage PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-city - container-internal-absl_hashtablez_sampler - container-internal-raw_hash_set - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-flags - absl-flags-commandlineflag - flags-internal-commandlineflag - flags-internal-flag - flags-internal-private_handle_accessor - flags-internal-program_name - flags-internal-usage - absl-flags-marshalling - absl-flags-reflection - absl-flags-usage_config - abseil-cpp-absl-hash - absl-hash-internal - abseil-cpp-absl-numeric - profiling-internal-exponential_biased - abseil-cpp-absl-strings - absl-strings-cord - strings-internal-absl_cord_internal - strings-internal-absl_strings_internal - strings-internal-cordz_functions - strings-internal-cordz_handle - strings-internal-cordz_info - strings-internal-str_format - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone - absl-types-bad_optional_access - absl-types-bad_variant_access -) -target_sources(absl-flags-usage PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/usage.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/flags/usage_config/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/flags/usage_config/CMakeLists.linux.txt new file mode 100644 index 0000000000..da6794507a --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/flags/usage_config/CMakeLists.linux.txt @@ -0,0 +1,44 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(absl-flags-usage_config) +target_compile_options(absl-flags-usage_config PRIVATE + -DNOMINMAX +) +target_include_directories(absl-flags-usage_config PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-flags-usage_config PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-flags-usage_config PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + flags-internal-program_name + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone +) +target_sources(absl-flags-usage_config PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/usage_config.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/flags/usage_config/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/flags/usage_config/CMakeLists.txt index da6794507a..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/flags/usage_config/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/flags/usage_config/CMakeLists.txt @@ -6,39 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-flags-usage_config) -target_compile_options(absl-flags-usage_config PRIVATE - -DNOMINMAX -) -target_include_directories(absl-flags-usage_config PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-flags-usage_config PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-flags-usage_config PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - flags-internal-program_name - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone -) -target_sources(absl-flags-usage_config PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/flags/usage_config.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.linux.txt new file mode 100644 index 0000000000..da779ab79f --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/functional/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(abseil-cpp-absl-functional INTERFACE) +target_link_libraries(abseil-cpp-absl-functional INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.txt index da779ab79f..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/functional/CMakeLists.txt @@ -6,9 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-functional INTERFACE) -target_link_libraries(abseil-cpp-absl-functional INTERFACE - contrib-libs-cxxsupp - yutil -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.linux.txt new file mode 100644 index 0000000000..c41a2b325d --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.linux.txt @@ -0,0 +1,39 @@ + +# 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(abseil-cpp-absl-hash) +target_compile_options(abseil-cpp-absl-hash PRIVATE + -DNOMINMAX +) +target_include_directories(abseil-cpp-absl-hash PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(abseil-cpp-absl-hash PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-hash PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-city + absl-hash-internal + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + abseil-cpp-absl-types + absl-types-bad_optional_access + absl-types-bad_variant_access + absl-types-internal +) +target_sources(abseil-cpp-absl-hash PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/hash/internal/hash.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.txt index c41a2b325d..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/hash/CMakeLists.txt @@ -6,34 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-hash) -target_compile_options(abseil-cpp-absl-hash PRIVATE - -DNOMINMAX -) -target_include_directories(abseil-cpp-absl-hash PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(abseil-cpp-absl-hash PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(abseil-cpp-absl-hash PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-city - absl-hash-internal - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - abseil-cpp-absl-types - absl-types-bad_optional_access - absl-types-bad_variant_access - absl-types-internal -) -target_sources(abseil-cpp-absl-hash PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/hash/internal/hash.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/hash/internal/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/hash/internal/CMakeLists.linux.txt new file mode 100644 index 0000000000..794e3f2cb4 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/hash/internal/CMakeLists.linux.txt @@ -0,0 +1,30 @@ + +# 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(absl-hash-internal) +target_compile_options(absl-hash-internal PRIVATE + -DNOMINMAX +) +target_include_directories(absl-hash-internal PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-hash-internal PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-hash-internal PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + absl-base-log_severity + abseil-cpp-absl-numeric +) +target_sources(absl-hash-internal PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/hash/internal/low_level_hash.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/hash/internal/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/hash/internal/CMakeLists.txt index 794e3f2cb4..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/hash/internal/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/hash/internal/CMakeLists.txt @@ -6,25 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-hash-internal) -target_compile_options(absl-hash-internal PRIVATE - -DNOMINMAX -) -target_include_directories(absl-hash-internal PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-hash-internal PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-hash-internal PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - absl-base-log_severity - abseil-cpp-absl-numeric -) -target_sources(absl-hash-internal PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/hash/internal/low_level_hash.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.linux.txt new file mode 100644 index 0000000000..5675f53e94 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.linux.txt @@ -0,0 +1,15 @@ + +# 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(abseil-cpp-absl-memory INTERFACE) +target_link_libraries(abseil-cpp-absl-memory INTERFACE + contrib-libs-cxxsupp + yutil + abseil-cpp-absl-meta +) diff --git a/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.txt index 5675f53e94..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/memory/CMakeLists.txt @@ -6,10 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-memory INTERFACE) -target_link_libraries(abseil-cpp-absl-memory INTERFACE - contrib-libs-cxxsupp - yutil - abseil-cpp-absl-meta -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.linux.txt new file mode 100644 index 0000000000..7d26312b0d --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.linux.txt @@ -0,0 +1,15 @@ + +# 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(abseil-cpp-absl-meta INTERFACE) +target_link_libraries(abseil-cpp-absl-meta INTERFACE + contrib-libs-cxxsupp + yutil + abseil-cpp-absl-base +) diff --git a/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.txt index 7d26312b0d..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/meta/CMakeLists.txt @@ -6,10 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-meta INTERFACE) -target_link_libraries(abseil-cpp-absl-meta INTERFACE - contrib-libs-cxxsupp - yutil - abseil-cpp-absl-base -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.linux.txt new file mode 100644 index 0000000000..cfdaf7b34f --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.linux.txt @@ -0,0 +1,25 @@ + +# 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(abseil-cpp-absl-numeric) +target_compile_options(abseil-cpp-absl-numeric PRIVATE + -DNOMINMAX +) +target_include_directories(abseil-cpp-absl-numeric PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(abseil-cpp-absl-numeric PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-numeric PUBLIC + contrib-libs-cxxsupp +) +target_sources(abseil-cpp-absl-numeric PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/numeric/int128.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.txt index cfdaf7b34f..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/numeric/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-numeric) -target_compile_options(abseil-cpp-absl-numeric PRIVATE - -DNOMINMAX -) -target_include_directories(abseil-cpp-absl-numeric PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(abseil-cpp-absl-numeric PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(abseil-cpp-absl-numeric PUBLIC - contrib-libs-cxxsupp -) -target_sources(abseil-cpp-absl-numeric PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/numeric/int128.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/profiling/internal/exponential_biased/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/profiling/internal/exponential_biased/CMakeLists.linux.txt new file mode 100644 index 0000000000..3315c9ad67 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/profiling/internal/exponential_biased/CMakeLists.linux.txt @@ -0,0 +1,25 @@ + +# 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(profiling-internal-exponential_biased) +target_compile_options(profiling-internal-exponential_biased PRIVATE + -DNOMINMAX +) +target_include_directories(profiling-internal-exponential_biased PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(profiling-internal-exponential_biased PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(profiling-internal-exponential_biased PUBLIC + contrib-libs-cxxsupp +) +target_sources(profiling-internal-exponential_biased PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/profiling/internal/exponential_biased.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/profiling/internal/exponential_biased/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/profiling/internal/exponential_biased/CMakeLists.txt index 3315c9ad67..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/profiling/internal/exponential_biased/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/profiling/internal/exponential_biased/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(profiling-internal-exponential_biased) -target_compile_options(profiling-internal-exponential_biased PRIVATE - -DNOMINMAX -) -target_include_directories(profiling-internal-exponential_biased PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(profiling-internal-exponential_biased PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(profiling-internal-exponential_biased PUBLIC - contrib-libs-cxxsupp -) -target_sources(profiling-internal-exponential_biased PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/profiling/internal/exponential_biased.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/profiling/internal/periodic_sampler/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/profiling/internal/periodic_sampler/CMakeLists.linux.txt new file mode 100644 index 0000000000..2ba95303f3 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/profiling/internal/periodic_sampler/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(profiling-internal-periodic_sampler) +target_compile_options(profiling-internal-periodic_sampler PRIVATE + -DNOMINMAX +) +target_include_directories(profiling-internal-periodic_sampler PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(profiling-internal-periodic_sampler PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(profiling-internal-periodic_sampler PUBLIC + contrib-libs-cxxsupp + profiling-internal-exponential_biased +) +target_sources(profiling-internal-periodic_sampler PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/profiling/internal/periodic_sampler.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/profiling/internal/periodic_sampler/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/profiling/internal/periodic_sampler/CMakeLists.txt index 2ba95303f3..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/profiling/internal/periodic_sampler/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/profiling/internal/periodic_sampler/CMakeLists.txt @@ -6,21 +6,6 @@ # original buildsystem will not be accepted. - -add_library(profiling-internal-periodic_sampler) -target_compile_options(profiling-internal-periodic_sampler PRIVATE - -DNOMINMAX -) -target_include_directories(profiling-internal-periodic_sampler PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(profiling-internal-periodic_sampler PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(profiling-internal-periodic_sampler PUBLIC - contrib-libs-cxxsupp - profiling-internal-exponential_biased -) -target_sources(profiling-internal-periodic_sampler PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/profiling/internal/periodic_sampler.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/random/absl_random_distributions/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/random/absl_random_distributions/CMakeLists.linux.txt new file mode 100644 index 0000000000..9d0d2b04b6 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/absl_random_distributions/CMakeLists.linux.txt @@ -0,0 +1,34 @@ + +# 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(absl-random-absl_random_distributions) +target_compile_options(absl-random-absl_random_distributions PRIVATE + -DNOMINMAX +) +target_include_directories(absl-random-absl_random_distributions PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-random-absl_random_distributions PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-random-absl_random_distributions PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal +) +target_sources(absl-random-absl_random_distributions PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/discrete_distribution.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/gaussian_distribution.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/random/absl_random_distributions/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/random/absl_random_distributions/CMakeLists.txt index 9d0d2b04b6..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/random/absl_random_distributions/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/random/absl_random_distributions/CMakeLists.txt @@ -6,29 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-random-absl_random_distributions) -target_compile_options(absl-random-absl_random_distributions PRIVATE - -DNOMINMAX -) -target_include_directories(absl-random-absl_random_distributions PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-random-absl_random_distributions PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-random-absl_random_distributions PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal -) -target_sources(absl-random-absl_random_distributions PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/discrete_distribution.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/gaussian_distribution.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/absl_random_internal_distribution_test_util/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/random/internal/absl_random_internal_distribution_test_util/CMakeLists.linux.txt new file mode 100644 index 0000000000..6920ede7c9 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/internal/absl_random_internal_distribution_test_util/CMakeLists.linux.txt @@ -0,0 +1,35 @@ + +# 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(random-internal-absl_random_internal_distribution_test_util) +target_compile_options(random-internal-absl_random_internal_distribution_test_util PRIVATE + -DNOMINMAX +) +target_include_directories(random-internal-absl_random_internal_distribution_test_util PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(random-internal-absl_random_internal_distribution_test_util PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(random-internal-absl_random_internal_distribution_test_util PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + strings-internal-str_format +) +target_sources(random-internal-absl_random_internal_distribution_test_util PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/chi_square.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/distribution_test_util.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/absl_random_internal_distribution_test_util/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/random/internal/absl_random_internal_distribution_test_util/CMakeLists.txt index 6920ede7c9..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/random/internal/absl_random_internal_distribution_test_util/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/random/internal/absl_random_internal_distribution_test_util/CMakeLists.txt @@ -6,30 +6,6 @@ # original buildsystem will not be accepted. - -add_library(random-internal-absl_random_internal_distribution_test_util) -target_compile_options(random-internal-absl_random_internal_distribution_test_util PRIVATE - -DNOMINMAX -) -target_include_directories(random-internal-absl_random_internal_distribution_test_util PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(random-internal-absl_random_internal_distribution_test_util PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(random-internal-absl_random_internal_distribution_test_util PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - strings-internal-str_format -) -target_sources(random-internal-absl_random_internal_distribution_test_util PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/chi_square.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/distribution_test_util.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/pool_urbg/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/random/internal/pool_urbg/CMakeLists.linux.txt new file mode 100644 index 0000000000..ecb7f7194a --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/internal/pool_urbg/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(random-internal-pool_urbg) +target_compile_options(random-internal-pool_urbg PRIVATE + -DNOMINMAX +) +target_include_directories(random-internal-pool_urbg PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(random-internal-pool_urbg PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(random-internal-pool_urbg PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-numeric + random-internal-randen + random-internal-randen_detect + random-internal-randen_hwaes + random-internal-randen_round_keys + random-internal-randen_slow + random-internal-seed_material + absl-random-seed_gen_exception + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + absl-types-bad_optional_access +) +target_sources(random-internal-pool_urbg PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/pool_urbg.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/pool_urbg/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/random/internal/pool_urbg/CMakeLists.txt index ecb7f7194a..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/random/internal/pool_urbg/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/random/internal/pool_urbg/CMakeLists.txt @@ -6,36 +6,6 @@ # original buildsystem will not be accepted. - -add_library(random-internal-pool_urbg) -target_compile_options(random-internal-pool_urbg PRIVATE - -DNOMINMAX -) -target_include_directories(random-internal-pool_urbg PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(random-internal-pool_urbg PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(random-internal-pool_urbg PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-numeric - random-internal-randen - random-internal-randen_detect - random-internal-randen_hwaes - random-internal-randen_round_keys - random-internal-randen_slow - random-internal-seed_material - absl-random-seed_gen_exception - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - absl-types-bad_optional_access -) -target_sources(random-internal-pool_urbg PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/pool_urbg.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/randen/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/random/internal/randen/CMakeLists.linux.txt new file mode 100644 index 0000000000..d0b1c151c6 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/internal/randen/CMakeLists.linux.txt @@ -0,0 +1,29 @@ + +# 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(random-internal-randen) +target_compile_options(random-internal-randen PRIVATE + -DNOMINMAX +) +target_include_directories(random-internal-randen PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(random-internal-randen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(random-internal-randen PUBLIC + contrib-libs-cxxsupp + random-internal-randen_detect + random-internal-randen_hwaes + random-internal-randen_round_keys + random-internal-randen_slow +) +target_sources(random-internal-randen PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/randen/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/random/internal/randen/CMakeLists.txt index d0b1c151c6..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/random/internal/randen/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/random/internal/randen/CMakeLists.txt @@ -6,24 +6,6 @@ # original buildsystem will not be accepted. - -add_library(random-internal-randen) -target_compile_options(random-internal-randen PRIVATE - -DNOMINMAX -) -target_include_directories(random-internal-randen PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(random-internal-randen PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(random-internal-randen PUBLIC - contrib-libs-cxxsupp - random-internal-randen_detect - random-internal-randen_hwaes - random-internal-randen_round_keys - random-internal-randen_slow -) -target_sources(random-internal-randen PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/randen_detect/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/random/internal/randen_detect/CMakeLists.linux.txt new file mode 100644 index 0000000000..6fb3a65d70 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/internal/randen_detect/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(random-internal-randen_detect) +target_compile_options(random-internal-randen_detect PRIVATE + -DNOMINMAX +) +target_include_directories(random-internal-randen_detect PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(random-internal-randen_detect PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(random-internal-randen_detect PUBLIC + contrib-libs-cxxsupp + random-internal-randen_hwaes + random-internal-randen_round_keys +) +target_sources(random-internal-randen_detect PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen_detect.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/randen_detect/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/random/internal/randen_detect/CMakeLists.txt index 6fb3a65d70..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/random/internal/randen_detect/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/random/internal/randen_detect/CMakeLists.txt @@ -6,22 +6,6 @@ # original buildsystem will not be accepted. - -add_library(random-internal-randen_detect) -target_compile_options(random-internal-randen_detect PRIVATE - -DNOMINMAX -) -target_include_directories(random-internal-randen_detect PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(random-internal-randen_detect PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(random-internal-randen_detect PUBLIC - contrib-libs-cxxsupp - random-internal-randen_hwaes - random-internal-randen_round_keys -) -target_sources(random-internal-randen_detect PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen_detect.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/randen_hwaes/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/random/internal/randen_hwaes/CMakeLists.linux.txt new file mode 100644 index 0000000000..f61d6c58de --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/internal/randen_hwaes/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(random-internal-randen_hwaes) +target_compile_options(random-internal-randen_hwaes PRIVATE + -DNOMINMAX +) +target_include_directories(random-internal-randen_hwaes PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(random-internal-randen_hwaes PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(random-internal-randen_hwaes PUBLIC + contrib-libs-cxxsupp + random-internal-randen_round_keys +) +target_sources(random-internal-randen_hwaes PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen_hwaes.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/randen_hwaes/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/random/internal/randen_hwaes/CMakeLists.txt index f61d6c58de..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/random/internal/randen_hwaes/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/random/internal/randen_hwaes/CMakeLists.txt @@ -6,21 +6,6 @@ # original buildsystem will not be accepted. - -add_library(random-internal-randen_hwaes) -target_compile_options(random-internal-randen_hwaes PRIVATE - -DNOMINMAX -) -target_include_directories(random-internal-randen_hwaes PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(random-internal-randen_hwaes PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(random-internal-randen_hwaes PUBLIC - contrib-libs-cxxsupp - random-internal-randen_round_keys -) -target_sources(random-internal-randen_hwaes PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen_hwaes.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/randen_round_keys/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/random/internal/randen_round_keys/CMakeLists.linux.txt new file mode 100644 index 0000000000..125d23548f --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/internal/randen_round_keys/CMakeLists.linux.txt @@ -0,0 +1,25 @@ + +# 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(random-internal-randen_round_keys) +target_compile_options(random-internal-randen_round_keys PRIVATE + -DNOMINMAX +) +target_include_directories(random-internal-randen_round_keys PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(random-internal-randen_round_keys PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(random-internal-randen_round_keys PUBLIC + contrib-libs-cxxsupp +) +target_sources(random-internal-randen_round_keys PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen_round_keys.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/randen_round_keys/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/random/internal/randen_round_keys/CMakeLists.txt index 125d23548f..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/random/internal/randen_round_keys/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/random/internal/randen_round_keys/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(random-internal-randen_round_keys) -target_compile_options(random-internal-randen_round_keys PRIVATE - -DNOMINMAX -) -target_include_directories(random-internal-randen_round_keys PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(random-internal-randen_round_keys PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(random-internal-randen_round_keys PUBLIC - contrib-libs-cxxsupp -) -target_sources(random-internal-randen_round_keys PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen_round_keys.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/randen_slow/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/random/internal/randen_slow/CMakeLists.linux.txt new file mode 100644 index 0000000000..b0ddc089a6 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/internal/randen_slow/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(random-internal-randen_slow) +target_compile_options(random-internal-randen_slow PRIVATE + -DNOMINMAX +) +target_include_directories(random-internal-randen_slow PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(random-internal-randen_slow PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(random-internal-randen_slow PUBLIC + contrib-libs-cxxsupp + random-internal-randen_round_keys +) +target_sources(random-internal-randen_slow PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen_slow.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/randen_slow/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/random/internal/randen_slow/CMakeLists.txt index b0ddc089a6..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/random/internal/randen_slow/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/random/internal/randen_slow/CMakeLists.txt @@ -6,21 +6,6 @@ # original buildsystem will not be accepted. - -add_library(random-internal-randen_slow) -target_compile_options(random-internal-randen_slow PRIVATE - -DNOMINMAX -) -target_include_directories(random-internal-randen_slow PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(random-internal-randen_slow PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(random-internal-randen_slow PUBLIC - contrib-libs-cxxsupp - random-internal-randen_round_keys -) -target_sources(random-internal-randen_slow PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/randen_slow.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/seed_material/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/random/internal/seed_material/CMakeLists.linux.txt new file mode 100644 index 0000000000..751abe07b5 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/internal/seed_material/CMakeLists.linux.txt @@ -0,0 +1,34 @@ + +# 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(random-internal-seed_material) +target_compile_options(random-internal-seed_material PRIVATE + -DNOMINMAX +) +target_include_directories(random-internal-seed_material PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(random-internal-seed_material PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(random-internal-seed_material PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + absl-types-bad_optional_access +) +target_sources(random-internal-seed_material PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/seed_material.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/random/internal/seed_material/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/random/internal/seed_material/CMakeLists.txt index 751abe07b5..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/random/internal/seed_material/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/random/internal/seed_material/CMakeLists.txt @@ -6,29 +6,6 @@ # original buildsystem will not be accepted. - -add_library(random-internal-seed_material) -target_compile_options(random-internal-seed_material PRIVATE - -DNOMINMAX -) -target_include_directories(random-internal-seed_material PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(random-internal-seed_material PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(random-internal-seed_material PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - absl-types-bad_optional_access -) -target_sources(random-internal-seed_material PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/internal/seed_material.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/random/seed_gen_exception/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/random/seed_gen_exception/CMakeLists.linux.txt new file mode 100644 index 0000000000..8e3b1841b8 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/seed_gen_exception/CMakeLists.linux.txt @@ -0,0 +1,25 @@ + +# 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(absl-random-seed_gen_exception) +target_compile_options(absl-random-seed_gen_exception PRIVATE + -DNOMINMAX +) +target_include_directories(absl-random-seed_gen_exception PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-random-seed_gen_exception PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-random-seed_gen_exception PUBLIC + contrib-libs-cxxsupp +) +target_sources(absl-random-seed_gen_exception PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/seed_gen_exception.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/random/seed_gen_exception/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/random/seed_gen_exception/CMakeLists.txt index 8e3b1841b8..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/random/seed_gen_exception/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/random/seed_gen_exception/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-random-seed_gen_exception) -target_compile_options(absl-random-seed_gen_exception PRIVATE - -DNOMINMAX -) -target_include_directories(absl-random-seed_gen_exception PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-random-seed_gen_exception PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-random-seed_gen_exception PUBLIC - contrib-libs-cxxsupp -) -target_sources(absl-random-seed_gen_exception PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/seed_gen_exception.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/random/seed_sequences/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/random/seed_sequences/CMakeLists.linux.txt new file mode 100644 index 0000000000..64206f6ad5 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/random/seed_sequences/CMakeLists.linux.txt @@ -0,0 +1,42 @@ + +# 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(absl-random-seed_sequences) +target_compile_options(absl-random-seed_sequences PRIVATE + -DNOMINMAX +) +target_include_directories(absl-random-seed_sequences PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-random-seed_sequences PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-random-seed_sequences PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-numeric + random-internal-pool_urbg + random-internal-randen + random-internal-randen_detect + random-internal-randen_hwaes + random-internal-randen_round_keys + random-internal-randen_slow + random-internal-seed_material + absl-random-seed_gen_exception + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + absl-types-bad_optional_access +) +target_sources(absl-random-seed_sequences PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/seed_sequences.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/random/seed_sequences/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/random/seed_sequences/CMakeLists.txt index 64206f6ad5..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/random/seed_sequences/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/random/seed_sequences/CMakeLists.txt @@ -6,37 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-random-seed_sequences) -target_compile_options(absl-random-seed_sequences PRIVATE - -DNOMINMAX -) -target_include_directories(absl-random-seed_sequences PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-random-seed_sequences PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-random-seed_sequences PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-numeric - random-internal-pool_urbg - random-internal-randen - random-internal-randen_detect - random-internal-randen_hwaes - random-internal-randen_round_keys - random-internal-randen_slow - random-internal-seed_material - absl-random-seed_gen_exception - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - absl-types-bad_optional_access -) -target_sources(absl-random-seed_sequences PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/random/seed_sequences.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/status/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/status/CMakeLists.linux.txt new file mode 100644 index 0000000000..1ee1273c43 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/status/CMakeLists.linux.txt @@ -0,0 +1,52 @@ + +# 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(abseil-cpp-absl-status) +target_compile_options(abseil-cpp-absl-status PRIVATE + -DNOMINMAX +) +target_include_directories(abseil-cpp-absl-status PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(abseil-cpp-absl-status PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-status PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-numeric + profiling-internal-exponential_biased + abseil-cpp-absl-strings + absl-strings-cord + strings-internal-absl_cord_internal + strings-internal-absl_strings_internal + strings-internal-cordz_functions + strings-internal-cordz_handle + strings-internal-cordz_info + strings-internal-str_format + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone + absl-types-bad_optional_access +) +target_sources(abseil-cpp-absl-status PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/status/status.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/status/status_payload_printer.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/status/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/status/CMakeLists.txt index 1ee1273c43..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/status/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/status/CMakeLists.txt @@ -6,47 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-status) -target_compile_options(abseil-cpp-absl-status PRIVATE - -DNOMINMAX -) -target_include_directories(abseil-cpp-absl-status PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(abseil-cpp-absl-status PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(abseil-cpp-absl-status PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-numeric - profiling-internal-exponential_biased - abseil-cpp-absl-strings - absl-strings-cord - strings-internal-absl_cord_internal - strings-internal-absl_strings_internal - strings-internal-cordz_functions - strings-internal-cordz_handle - strings-internal-cordz_info - strings-internal-str_format - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone - absl-types-bad_optional_access -) -target_sources(abseil-cpp-absl-status PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/status/status.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/status/status_payload_printer.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/status/statusor/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/status/statusor/CMakeLists.linux.txt new file mode 100644 index 0000000000..e8166a2dba --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/status/statusor/CMakeLists.linux.txt @@ -0,0 +1,53 @@ + +# 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(absl-status-statusor) +target_compile_options(absl-status-statusor PRIVATE + -DNOMINMAX +) +target_include_directories(absl-status-statusor PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-status-statusor PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-status-statusor PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-numeric + profiling-internal-exponential_biased + abseil-cpp-absl-status + abseil-cpp-absl-strings + absl-strings-cord + strings-internal-absl_cord_internal + strings-internal-absl_strings_internal + strings-internal-cordz_functions + strings-internal-cordz_handle + strings-internal-cordz_info + strings-internal-str_format + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone + absl-types-bad_optional_access + absl-types-bad_variant_access +) +target_sources(absl-status-statusor PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/status/statusor.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/status/statusor/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/status/statusor/CMakeLists.txt index e8166a2dba..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/status/statusor/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/status/statusor/CMakeLists.txt @@ -6,48 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-status-statusor) -target_compile_options(absl-status-statusor PRIVATE - -DNOMINMAX -) -target_include_directories(absl-status-statusor PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-status-statusor PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-status-statusor PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-numeric - profiling-internal-exponential_biased - abseil-cpp-absl-status - abseil-cpp-absl-strings - absl-strings-cord - strings-internal-absl_cord_internal - strings-internal-absl_strings_internal - strings-internal-cordz_functions - strings-internal-cordz_handle - strings-internal-cordz_info - strings-internal-str_format - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone - absl-types-bad_optional_access - absl-types-bad_variant_access -) -target_sources(absl-status-statusor PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/status/statusor.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.linux.txt new file mode 100644 index 0000000000..c257009035 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.linux.txt @@ -0,0 +1,44 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(abseil-cpp-absl-strings) +target_compile_options(abseil-cpp-absl-strings PRIVATE + -DNOMINMAX +) +target_include_directories(abseil-cpp-absl-strings PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(abseil-cpp-absl-strings PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-strings PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-numeric + strings-internal-absl_strings_internal +) +target_sources(abseil-cpp-absl-strings PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/ascii.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/charconv.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/escaping.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/charconv_bigint.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/charconv_parse.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/memutil.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/match.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/numbers.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/str_cat.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/str_replace.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/str_split.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/string_view.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/substitute.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.txt index c257009035..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/strings/CMakeLists.txt @@ -6,39 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-strings) -target_compile_options(abseil-cpp-absl-strings PRIVATE - -DNOMINMAX -) -target_include_directories(abseil-cpp-absl-strings PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(abseil-cpp-absl-strings PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(abseil-cpp-absl-strings PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-numeric - strings-internal-absl_strings_internal -) -target_sources(abseil-cpp-absl-strings PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/ascii.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/charconv.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/escaping.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/charconv_bigint.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/charconv_parse.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/memutil.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/match.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/numbers.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/str_cat.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/str_replace.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/str_split.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/string_view.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/substitute.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/strings/cord/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/strings/cord/CMakeLists.linux.txt new file mode 100644 index 0000000000..e9b89d9b2a --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/strings/cord/CMakeLists.linux.txt @@ -0,0 +1,54 @@ + +# 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(absl-strings-cord) +target_compile_options(absl-strings-cord PRIVATE + -DNOMINMAX +) +target_include_directories(absl-strings-cord PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-strings-cord PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-strings-cord PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-algorithm + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-container + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-functional + abseil-cpp-absl-numeric + profiling-internal-exponential_biased + abseil-cpp-absl-strings + strings-internal-absl_cord_internal + strings-internal-absl_strings_internal + strings-internal-cordz_functions + strings-internal-cordz_handle + strings-internal-cordz_info + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone + abseil-cpp-absl-types + absl-types-bad_optional_access + abseil-cpp-absl-utility +) +target_sources(absl-strings-cord PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/cord.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/strings/cord/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/strings/cord/CMakeLists.txt index e9b89d9b2a..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/strings/cord/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/strings/cord/CMakeLists.txt @@ -6,49 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-strings-cord) -target_compile_options(absl-strings-cord PRIVATE - -DNOMINMAX -) -target_include_directories(absl-strings-cord PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-strings-cord PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-strings-cord PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-algorithm - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-container - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-functional - abseil-cpp-absl-numeric - profiling-internal-exponential_biased - abseil-cpp-absl-strings - strings-internal-absl_cord_internal - strings-internal-absl_strings_internal - strings-internal-cordz_functions - strings-internal-cordz_handle - strings-internal-cordz_info - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone - abseil-cpp-absl-types - absl-types-bad_optional_access - abseil-cpp-absl-utility -) -target_sources(absl-strings-cord PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/cord.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/absl_cord_internal/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/absl_cord_internal/CMakeLists.linux.txt new file mode 100644 index 0000000000..85d9c0e776 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/absl_cord_internal/CMakeLists.linux.txt @@ -0,0 +1,38 @@ + +# 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(strings-internal-absl_cord_internal) +target_compile_options(strings-internal-absl_cord_internal PRIVATE + -DNOMINMAX +) +target_include_directories(strings-internal-absl_cord_internal PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(strings-internal-absl_cord_internal PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(strings-internal-absl_cord_internal PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal +) +target_sources(strings-internal-absl_cord_internal PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_btree.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_consume.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_ring.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/absl_cord_internal/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/absl_cord_internal/CMakeLists.txt index 85d9c0e776..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/strings/internal/absl_cord_internal/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/absl_cord_internal/CMakeLists.txt @@ -6,33 +6,6 @@ # original buildsystem will not be accepted. - -add_library(strings-internal-absl_cord_internal) -target_compile_options(strings-internal-absl_cord_internal PRIVATE - -DNOMINMAX -) -target_include_directories(strings-internal-absl_cord_internal PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(strings-internal-absl_cord_internal PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(strings-internal-absl_cord_internal PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal -) -target_sources(strings-internal-absl_cord_internal PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_internal.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_btree.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_btree_navigator.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_btree_reader.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_consume.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cord_rep_ring.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/absl_strings_internal/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/absl_strings_internal/CMakeLists.linux.txt new file mode 100644 index 0000000000..cf8b2796bd --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/absl_strings_internal/CMakeLists.linux.txt @@ -0,0 +1,31 @@ + +# 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(strings-internal-absl_strings_internal) +target_compile_options(strings-internal-absl_strings_internal PRIVATE + -DNOMINMAX +) +target_include_directories(strings-internal-absl_strings_internal PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(strings-internal-absl_strings_internal PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(strings-internal-absl_strings_internal PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + absl-base-log_severity +) +target_sources(strings-internal-absl_strings_internal PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/escaping.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/ostringstream.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/utf8.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/absl_strings_internal/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/absl_strings_internal/CMakeLists.txt index cf8b2796bd..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/strings/internal/absl_strings_internal/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/absl_strings_internal/CMakeLists.txt @@ -6,26 +6,6 @@ # original buildsystem will not be accepted. - -add_library(strings-internal-absl_strings_internal) -target_compile_options(strings-internal-absl_strings_internal PRIVATE - -DNOMINMAX -) -target_include_directories(strings-internal-absl_strings_internal PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(strings-internal-absl_strings_internal PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(strings-internal-absl_strings_internal PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - absl-base-log_severity -) -target_sources(strings-internal-absl_strings_internal PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/escaping.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/ostringstream.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/utf8.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_functions/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_functions/CMakeLists.linux.txt new file mode 100644 index 0000000000..042655b278 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_functions/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(strings-internal-cordz_functions) +target_compile_options(strings-internal-cordz_functions PRIVATE + -DNOMINMAX +) +target_include_directories(strings-internal-cordz_functions PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(strings-internal-cordz_functions PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(strings-internal-cordz_functions PUBLIC + contrib-libs-cxxsupp + base-internal-raw_logging + absl-base-log_severity + profiling-internal-exponential_biased +) +target_sources(strings-internal-cordz_functions PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_functions.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_functions/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_functions/CMakeLists.txt index 042655b278..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_functions/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_functions/CMakeLists.txt @@ -6,23 +6,6 @@ # original buildsystem will not be accepted. - -add_library(strings-internal-cordz_functions) -target_compile_options(strings-internal-cordz_functions PRIVATE - -DNOMINMAX -) -target_include_directories(strings-internal-cordz_functions PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(strings-internal-cordz_functions PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(strings-internal-cordz_functions PUBLIC - contrib-libs-cxxsupp - base-internal-raw_logging - absl-base-log_severity - profiling-internal-exponential_biased -) -target_sources(strings-internal-cordz_functions PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_functions.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_handle/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_handle/CMakeLists.linux.txt new file mode 100644 index 0000000000..2bce166dff --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_handle/CMakeLists.linux.txt @@ -0,0 +1,43 @@ + +# 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(strings-internal-cordz_handle) +target_compile_options(strings-internal-cordz_handle PRIVATE + -DNOMINMAX +) +target_include_directories(strings-internal-cordz_handle PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(strings-internal-cordz_handle PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(strings-internal-cordz_handle PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone +) +target_sources(strings-internal-cordz_handle PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_handle.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_handle/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_handle/CMakeLists.txt index 2bce166dff..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_handle/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_handle/CMakeLists.txt @@ -6,38 +6,6 @@ # original buildsystem will not be accepted. - -add_library(strings-internal-cordz_handle) -target_compile_options(strings-internal-cordz_handle PRIVATE - -DNOMINMAX -) -target_include_directories(strings-internal-cordz_handle PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(strings-internal-cordz_handle PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(strings-internal-cordz_handle PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone -) -target_sources(strings-internal-cordz_handle PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_handle.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_info/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_info/CMakeLists.linux.txt new file mode 100644 index 0000000000..c1c1607b99 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_info/CMakeLists.linux.txt @@ -0,0 +1,47 @@ + +# 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(strings-internal-cordz_info) +target_compile_options(strings-internal-cordz_info PRIVATE + -DNOMINMAX +) +target_include_directories(strings-internal-cordz_info PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(strings-internal-cordz_info PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(strings-internal-cordz_info PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-numeric + profiling-internal-exponential_biased + abseil-cpp-absl-strings + strings-internal-absl_cord_internal + strings-internal-absl_strings_internal + strings-internal-cordz_functions + strings-internal-cordz_handle + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone +) +target_sources(strings-internal-cordz_info PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_info.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_info/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_info/CMakeLists.txt index c1c1607b99..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_info/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_info/CMakeLists.txt @@ -6,42 +6,6 @@ # original buildsystem will not be accepted. - -add_library(strings-internal-cordz_info) -target_compile_options(strings-internal-cordz_info PRIVATE - -DNOMINMAX -) -target_include_directories(strings-internal-cordz_info PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(strings-internal-cordz_info PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(strings-internal-cordz_info PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-numeric - profiling-internal-exponential_biased - abseil-cpp-absl-strings - strings-internal-absl_cord_internal - strings-internal-absl_strings_internal - strings-internal-cordz_functions - strings-internal-cordz_handle - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone -) -target_sources(strings-internal-cordz_info PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_info.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_sample_token/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_sample_token/CMakeLists.linux.txt new file mode 100644 index 0000000000..ee3923cf49 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_sample_token/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. + + + +add_library(strings-internal-cordz_sample_token) +target_compile_options(strings-internal-cordz_sample_token PRIVATE + -DNOMINMAX +) +target_include_directories(strings-internal-cordz_sample_token PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(strings-internal-cordz_sample_token PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(strings-internal-cordz_sample_token PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-numeric + profiling-internal-exponential_biased + abseil-cpp-absl-strings + strings-internal-absl_cord_internal + strings-internal-absl_strings_internal + strings-internal-cordz_functions + strings-internal-cordz_handle + strings-internal-cordz_info + abseil-cpp-absl-synchronization + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone +) +target_sources(strings-internal-cordz_sample_token PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_sample_token.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_sample_token/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_sample_token/CMakeLists.txt index ee3923cf49..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_sample_token/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_sample_token/CMakeLists.txt @@ -6,43 +6,6 @@ # original buildsystem will not be accepted. - -add_library(strings-internal-cordz_sample_token) -target_compile_options(strings-internal-cordz_sample_token PRIVATE - -DNOMINMAX -) -target_include_directories(strings-internal-cordz_sample_token PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(strings-internal-cordz_sample_token PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(strings-internal-cordz_sample_token PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-numeric - profiling-internal-exponential_biased - abseil-cpp-absl-strings - strings-internal-absl_cord_internal - strings-internal-absl_strings_internal - strings-internal-cordz_functions - strings-internal-cordz_handle - strings-internal-cordz_info - abseil-cpp-absl-synchronization - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone -) -target_sources(strings-internal-cordz_sample_token PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/cordz_sample_token.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/CMakeLists.linux.txt new file mode 100644 index 0000000000..ece95f0945 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/CMakeLists.linux.txt @@ -0,0 +1,38 @@ + +# 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(strings-internal-str_format) +target_compile_options(strings-internal-str_format PRIVATE + -DNOMINMAX +) +target_include_directories(strings-internal-str_format PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(strings-internal-str_format PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(strings-internal-str_format PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal +) +target_sources(strings-internal-str_format PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/arg.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/bind.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/extension.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/output.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/parser.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/CMakeLists.txt index ece95f0945..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/CMakeLists.txt @@ -6,33 +6,6 @@ # original buildsystem will not be accepted. - -add_library(strings-internal-str_format) -target_compile_options(strings-internal-str_format PRIVATE - -DNOMINMAX -) -target_include_directories(strings-internal-str_format PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(strings-internal-str_format PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(strings-internal-str_format PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal -) -target_sources(strings-internal-str_format PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/arg.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/bind.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/extension.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/float_conversion.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/output.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/strings/internal/str_format/parser.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.linux.txt new file mode 100644 index 0000000000..41437dae3a --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/synchronization/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. + + + +add_library(abseil-cpp-absl-synchronization) +target_compile_options(abseil-cpp-absl-synchronization PRIVATE + -DNOMINMAX +) +target_include_directories(abseil-cpp-absl-synchronization PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(abseil-cpp-absl-synchronization PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-synchronization PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-debugging + absl-debugging-stacktrace + absl-debugging-symbolize + abseil-cpp-absl-demangle + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + absl-synchronization-internal + abseil-cpp-absl-time + absl-time-civil_time + absl-time-time_zone +) +target_sources(abseil-cpp-absl-synchronization PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/barrier.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/blocking_counter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/waiter.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/mutex.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/notification.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.txt index 41437dae3a..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/synchronization/CMakeLists.txt @@ -6,43 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-synchronization) -target_compile_options(abseil-cpp-absl-synchronization PRIVATE - -DNOMINMAX -) -target_include_directories(abseil-cpp-absl-synchronization PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(abseil-cpp-absl-synchronization PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(abseil-cpp-absl-synchronization PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-debugging - absl-debugging-stacktrace - absl-debugging-symbolize - abseil-cpp-absl-demangle - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - absl-synchronization-internal - abseil-cpp-absl-time - absl-time-civil_time - absl-time-time_zone -) -target_sources(abseil-cpp-absl-synchronization PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/barrier.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/blocking_counter.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/create_thread_identity.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/per_thread_sem.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/waiter.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/mutex.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/notification.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/synchronization/internal/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/synchronization/internal/CMakeLists.linux.txt new file mode 100644 index 0000000000..c2f4b51d34 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/synchronization/internal/CMakeLists.linux.txt @@ -0,0 +1,30 @@ + +# 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(absl-synchronization-internal) +target_compile_options(absl-synchronization-internal PRIVATE + -DNOMINMAX +) +target_include_directories(absl-synchronization-internal PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-synchronization-internal PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-synchronization-internal PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-low_level_alloc + base-internal-raw_logging + base-internal-spinlock_wait + absl-base-log_severity +) +target_sources(absl-synchronization-internal PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/graphcycles.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/synchronization/internal/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/synchronization/internal/CMakeLists.txt index c2f4b51d34..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/synchronization/internal/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/synchronization/internal/CMakeLists.txt @@ -6,25 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-synchronization-internal) -target_compile_options(absl-synchronization-internal PRIVATE - -DNOMINMAX -) -target_include_directories(absl-synchronization-internal PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-synchronization-internal PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-synchronization-internal PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-low_level_alloc - base-internal-raw_logging - base-internal-spinlock_wait - absl-base-log_severity -) -target_sources(absl-synchronization-internal PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/synchronization/internal/graphcycles.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/time/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.linux.txt new file mode 100644 index 0000000000..9444f1b4d0 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.linux.txt @@ -0,0 +1,39 @@ + +# 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(abseil-cpp-absl-time) +target_compile_options(abseil-cpp-absl-time PRIVATE + -DNOMINMAX +) +target_include_directories(abseil-cpp-absl-time PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(abseil-cpp-absl-time PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-time PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + base-internal-throw_delegate + absl-base-log_severity + abseil-cpp-absl-numeric + abseil-cpp-absl-strings + strings-internal-absl_strings_internal + absl-time-civil_time + absl-time-time_zone +) +target_sources(abseil-cpp-absl-time PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/civil_time.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/clock.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/duration.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/format.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/time.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/time/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.txt index 9444f1b4d0..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/time/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/time/CMakeLists.txt @@ -6,34 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-time) -target_compile_options(abseil-cpp-absl-time PRIVATE - -DNOMINMAX -) -target_include_directories(abseil-cpp-absl-time PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(abseil-cpp-absl-time PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(abseil-cpp-absl-time PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - base-internal-throw_delegate - absl-base-log_severity - abseil-cpp-absl-numeric - abseil-cpp-absl-strings - strings-internal-absl_strings_internal - absl-time-civil_time - absl-time-time_zone -) -target_sources(abseil-cpp-absl-time PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/civil_time.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/clock.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/duration.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/format.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/time.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/time/civil_time/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/time/civil_time/CMakeLists.linux.txt new file mode 100644 index 0000000000..e4d3eb6c78 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/time/civil_time/CMakeLists.linux.txt @@ -0,0 +1,25 @@ + +# 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(absl-time-civil_time) +target_compile_options(absl-time-civil_time PRIVATE + -DNOMINMAX +) +target_include_directories(absl-time-civil_time PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-time-civil_time PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-time-civil_time PUBLIC + contrib-libs-cxxsupp +) +target_sources(absl-time-civil_time PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/time/civil_time/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/time/civil_time/CMakeLists.txt index e4d3eb6c78..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/time/civil_time/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/time/civil_time/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-time-civil_time) -target_compile_options(absl-time-civil_time PRIVATE - -DNOMINMAX -) -target_include_directories(absl-time-civil_time PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-time-civil_time PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-time-civil_time PUBLIC - contrib-libs-cxxsupp -) -target_sources(absl-time-civil_time PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/civil_time_detail.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/time/time_zone/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/time/time_zone/CMakeLists.linux.txt new file mode 100644 index 0000000000..b565a55528 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/time/time_zone/CMakeLists.linux.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(absl-time-time_zone) +target_compile_options(absl-time-time_zone PRIVATE + -DNOMINMAX +) +target_include_directories(absl-time-time_zone PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-time-time_zone PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-time-time_zone PUBLIC + contrib-libs-cxxsupp +) +target_sources(absl-time-time_zone PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/time/time_zone/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/time/time_zone/CMakeLists.txt index b565a55528..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/time/time_zone/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/time/time_zone/CMakeLists.txt @@ -6,28 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-time-time_zone) -target_compile_options(absl-time-time_zone PRIVATE - -DNOMINMAX -) -target_include_directories(absl-time-time_zone PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-time-time_zone PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-time-time_zone PUBLIC - contrib-libs-cxxsupp -) -target_sources(absl-time-time_zone PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_fixed.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_if.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_impl.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_info.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_libc.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_lookup.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/time_zone_posix.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/time/internal/cctz/src/zone_info_source.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/types/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/types/CMakeLists.linux.txt new file mode 100644 index 0000000000..5f6aa9663e --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/types/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(abseil-cpp-absl-types INTERFACE) +target_link_libraries(abseil-cpp-absl-types INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/contrib/restricted/abseil-cpp/absl/types/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/types/CMakeLists.txt index 5f6aa9663e..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/types/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/types/CMakeLists.txt @@ -6,9 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-types INTERFACE) -target_link_libraries(abseil-cpp-absl-types INTERFACE - contrib-libs-cxxsupp - yutil -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/types/bad_any_cast/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/types/bad_any_cast/CMakeLists.linux.txt new file mode 100644 index 0000000000..eefdbd3bba --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/types/bad_any_cast/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(absl-types-bad_any_cast) +target_compile_options(absl-types-bad_any_cast PRIVATE + -DNOMINMAX +) +target_include_directories(absl-types-bad_any_cast PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-types-bad_any_cast PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-types-bad_any_cast PUBLIC + contrib-libs-cxxsupp + base-internal-raw_logging + absl-base-log_severity +) +target_sources(absl-types-bad_any_cast PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/types/bad_any_cast.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/types/bad_any_cast/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/types/bad_any_cast/CMakeLists.txt index eefdbd3bba..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/types/bad_any_cast/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/types/bad_any_cast/CMakeLists.txt @@ -6,22 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-types-bad_any_cast) -target_compile_options(absl-types-bad_any_cast PRIVATE - -DNOMINMAX -) -target_include_directories(absl-types-bad_any_cast PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-types-bad_any_cast PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-types-bad_any_cast PUBLIC - contrib-libs-cxxsupp - base-internal-raw_logging - absl-base-log_severity -) -target_sources(absl-types-bad_any_cast PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/types/bad_any_cast.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/types/bad_optional_access/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/types/bad_optional_access/CMakeLists.linux.txt new file mode 100644 index 0000000000..55e8283302 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/types/bad_optional_access/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(absl-types-bad_optional_access) +target_compile_options(absl-types-bad_optional_access PRIVATE + -DNOMINMAX +) +target_include_directories(absl-types-bad_optional_access PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-types-bad_optional_access PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-types-bad_optional_access PUBLIC + contrib-libs-cxxsupp + base-internal-raw_logging + absl-base-log_severity +) +target_sources(absl-types-bad_optional_access PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/types/bad_optional_access.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/types/bad_optional_access/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/types/bad_optional_access/CMakeLists.txt index 55e8283302..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/types/bad_optional_access/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/types/bad_optional_access/CMakeLists.txt @@ -6,22 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-types-bad_optional_access) -target_compile_options(absl-types-bad_optional_access PRIVATE - -DNOMINMAX -) -target_include_directories(absl-types-bad_optional_access PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-types-bad_optional_access PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-types-bad_optional_access PUBLIC - contrib-libs-cxxsupp - base-internal-raw_logging - absl-base-log_severity -) -target_sources(absl-types-bad_optional_access PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/types/bad_optional_access.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/types/bad_variant_access/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/types/bad_variant_access/CMakeLists.linux.txt new file mode 100644 index 0000000000..c457069cae --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/types/bad_variant_access/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(absl-types-bad_variant_access) +target_compile_options(absl-types-bad_variant_access PRIVATE + -DNOMINMAX +) +target_include_directories(absl-types-bad_variant_access PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-types-bad_variant_access PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-types-bad_variant_access PUBLIC + contrib-libs-cxxsupp + base-internal-raw_logging + absl-base-log_severity +) +target_sources(absl-types-bad_variant_access PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/types/bad_variant_access.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/types/bad_variant_access/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/types/bad_variant_access/CMakeLists.txt index c457069cae..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/types/bad_variant_access/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/types/bad_variant_access/CMakeLists.txt @@ -6,22 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-types-bad_variant_access) -target_compile_options(absl-types-bad_variant_access PRIVATE - -DNOMINMAX -) -target_include_directories(absl-types-bad_variant_access PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-types-bad_variant_access PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-types-bad_variant_access PUBLIC - contrib-libs-cxxsupp - base-internal-raw_logging - absl-base-log_severity -) -target_sources(absl-types-bad_variant_access PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/types/bad_variant_access.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/types/internal/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/types/internal/CMakeLists.linux.txt new file mode 100644 index 0000000000..bf8c311fc6 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/types/internal/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(absl-types-internal INTERFACE) +target_link_libraries(absl-types-internal INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/contrib/restricted/abseil-cpp/absl/types/internal/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/types/internal/CMakeLists.txt index bf8c311fc6..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/types/internal/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/types/internal/CMakeLists.txt @@ -6,9 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-types-internal INTERFACE) -target_link_libraries(absl-types-internal INTERFACE - contrib-libs-cxxsupp - yutil -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.linux.txt new file mode 100644 index 0000000000..5569556933 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/utility/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(abseil-cpp-absl-utility INTERFACE) +target_link_libraries(abseil-cpp-absl-utility INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.txt index 5569556933..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/utility/CMakeLists.txt @@ -6,9 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-utility INTERFACE) -target_link_libraries(abseil-cpp-absl-utility INTERFACE - contrib-libs-cxxsupp - yutil -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.darwin.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.darwin.txt new file mode 100644 index 0000000000..79441190a1 --- /dev/null +++ b/contrib/restricted/aws/aws-c-io/CMakeLists.darwin.txt @@ -0,0 +1,47 @@ + +# 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(restricted-aws-aws-c-io) +target_include_directories(restricted-aws-aws-c-io PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include +) +target_include_directories(restricted-aws-aws-c-io PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include +) +target_link_libraries(restricted-aws-aws-c-io PUBLIC + restricted-aws-aws-c-cal + restricted-aws-aws-c-common + restricted-aws-s2n +) +target_sources(restricted-aws-aws-c-io PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/alpn_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel_bootstrap.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/event_loop.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/exponential_backoff_retry_strategy.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/file_utils_shared.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/host_resolver.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/io.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/message_pool.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pki_utils.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/file_utils.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/retry_strategy.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/statistics.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/stream.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler_shared.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/uri.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/bsd/kqueue_event_loop.c +) diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.linux.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.linux.txt new file mode 100644 index 0000000000..3dbd8ff9af --- /dev/null +++ b/contrib/restricted/aws/aws-c-io/CMakeLists.linux.txt @@ -0,0 +1,47 @@ + +# 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(restricted-aws-aws-c-io) +target_include_directories(restricted-aws-aws-c-io PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include +) +target_include_directories(restricted-aws-aws-c-io PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include +) +target_link_libraries(restricted-aws-aws-c-io PUBLIC + restricted-aws-aws-c-cal + restricted-aws-aws-c-common + restricted-aws-s2n +) +target_sources(restricted-aws-aws-c-io PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/alpn_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel_bootstrap.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/event_loop.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/exponential_backoff_retry_strategy.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/file_utils_shared.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/host_resolver.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/io.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/message_pool.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pki_utils.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/file_utils.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/retry_strategy.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/statistics.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/stream.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler_shared.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/uri.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/linux/epoll_event_loop.c +) diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.txt index 3dbd8ff9af..a681d385f3 100644 --- a/contrib/restricted/aws/aws-c-io/CMakeLists.txt +++ b/contrib/restricted/aws/aws-c-io/CMakeLists.txt @@ -6,42 +6,8 @@ # original buildsystem will not be accepted. - -add_library(restricted-aws-aws-c-io) -target_include_directories(restricted-aws-aws-c-io PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include -) -target_include_directories(restricted-aws-aws-c-io PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include -) -target_link_libraries(restricted-aws-aws-c-io PUBLIC - restricted-aws-aws-c-cal - restricted-aws-aws-c-common - restricted-aws-s2n -) -target_sources(restricted-aws-aws-c-io PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/alpn_handler.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel_bootstrap.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/event_loop.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/exponential_backoff_retry_strategy.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/file_utils_shared.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/host_resolver.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/io.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/message_pool.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pki_utils.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/file_utils.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/retry_strategy.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/statistics.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/stream.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler_shared.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/uri.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/linux/epoll_event_loop.c -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/aws/s2n/CMakeLists.darwin.txt b/contrib/restricted/aws/s2n/CMakeLists.darwin.txt new file mode 100644 index 0000000000..8e3194a214 --- /dev/null +++ b/contrib/restricted/aws/s2n/CMakeLists.darwin.txt @@ -0,0 +1,222 @@ + +# 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(restricted-aws-s2n) +target_compile_options(restricted-aws-s2n PRIVATE + -DS2N_ADX + -D_POSIX_C_SOURCE=200809L + -DS2N_HAVE_EXECINFO + -DS2N_CPUID_AVAILABLE +) +target_include_directories(restricted-aws-s2n PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/api +) +target_include_directories(restricted-aws-s2n PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/api +) +target_link_libraries(restricted-aws-s2n PUBLIC + OpenSSL::OpenSSL +) +target_sources(restricted-aws-s2n PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_aead_cipher_aes_gcm.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_aead_cipher_chacha20_poly1305.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cbc_cipher_3des.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cbc_cipher_aes.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_certificate.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cipher.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_composite_cipher_aes_sha.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_dhe.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_drbg.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_ecc_evp.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_ecdsa.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_evp.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_fips.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hash.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hkdf.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hmac.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_pkey.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa_pss.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa_signing.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_sequence.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_stream_cipher_null.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_stream_cipher_rc4.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_tls13_keys.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/error/s2n_errno.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/aes_ctr_prf.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/bike_r1_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/converts_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/decode.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/error.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/gf2x_mul.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/gf2x_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/openssl_utils.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/parallel_hash.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/sampling.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/sampling_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/secure_decode_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/utilities.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/aes_ctr_prf.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/bike_r2_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/decode.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/error.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/gf2x_mul.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/gf2x_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/openssl_utils.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/sampling.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/sampling_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/secure_decode_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/utilities.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/aes256ctr.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/aes_c.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/cbd.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/indcpa.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/kyber_90s_r2_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/ntt.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/poly.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/polyvec.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/reduce.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/sha2_c.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/verify.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/cbd.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/fips202_kyber_r2.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/indcpa.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/kyber_r2_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/ntt.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/poly.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/polyvec.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/reduce.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/symmetric-fips202.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/verify.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/s2n_pq.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/s2n_pq_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r1/P503_r1.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r1/fips202_r1.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r1/fp_generic_r1.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r1/sike_r1_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r2/P434.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r2/fips202.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_base64.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_file.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_network_order.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_pem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_text.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_alpn.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_key_share.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_max_frag_len.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_pq_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_psk.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_renegotiation_info.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_sct_list.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_server_name.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_session_ticket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_signature_algorithms.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_status_request.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_supported_groups.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_supported_versions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_cookie.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_ec_point_format.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_list.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_type.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_type_lists.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_key_share.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_psk_key_exchange_modes.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_quic_transport_params.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_alpn.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_certificate_status.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_key_share.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_max_fragment_length.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_psk.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_renegotiation_info.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_sct_list.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_server_name.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_signature_algorithms.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_status_request.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_supported_versions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_supported_versions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_aead.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_alerts.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_async_pkey.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_auth_selection.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cbc.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_change_cipher_spec.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cipher_preferences.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cipher_suites.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_cert.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_cert_verify.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_finished.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_hello.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_key_exchange.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_config.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_connection.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_connection_evp_digests.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ecc_preferences.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_encrypted_extensions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_establish_session.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_io.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_transcript.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kem_preferences.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kex.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_key_update.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ocsp_stapling.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_post_handshake.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_prf.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_protocol_preferences.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_psk.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_quic_support.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_aead.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_cbc.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_composite.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_stream.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_write.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_recv.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_resume.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_security_policies.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_send.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_cert.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_cert_request.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_done.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_extensions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_finished.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_hello.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_hello_retry.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_key_exchange.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_new_session_ticket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_shutdown.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_signature_algorithms.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_signature_scheme.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_certificate_verify.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_handshake.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_x509_validator.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_array.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_asn1_time.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_blob.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_ensure.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_init.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_map.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_mem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_result.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_rfc5952.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_safety.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_set.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_socket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_str.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_timer.c +) diff --git a/contrib/restricted/aws/s2n/CMakeLists.linux.txt b/contrib/restricted/aws/s2n/CMakeLists.linux.txt new file mode 100644 index 0000000000..cf54c00743 --- /dev/null +++ b/contrib/restricted/aws/s2n/CMakeLists.linux.txt @@ -0,0 +1,224 @@ + +# 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(restricted-aws-s2n) +target_compile_options(restricted-aws-s2n PRIVATE + -DS2N_ADX + -D_POSIX_C_SOURCE=200809L + -DS2N_HAVE_EXECINFO + -DS2N_SIKEP434R2_ASM + -DS2N_CPUID_AVAILABLE +) +target_include_directories(restricted-aws-s2n PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/api +) +target_include_directories(restricted-aws-s2n PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/api +) +target_link_libraries(restricted-aws-s2n PUBLIC + OpenSSL::OpenSSL +) +target_sources(restricted-aws-s2n PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r2/sikep434r2_fp_x64_asm.S + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_aead_cipher_aes_gcm.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_aead_cipher_chacha20_poly1305.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cbc_cipher_3des.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cbc_cipher_aes.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_certificate.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cipher.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_composite_cipher_aes_sha.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_dhe.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_drbg.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_ecc_evp.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_ecdsa.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_evp.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_fips.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hash.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hkdf.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hmac.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_pkey.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa_pss.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa_signing.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_sequence.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_stream_cipher_null.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_stream_cipher_rc4.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_tls13_keys.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/error/s2n_errno.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/aes_ctr_prf.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/bike_r1_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/converts_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/decode.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/error.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/gf2x_mul.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/gf2x_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/openssl_utils.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/parallel_hash.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/sampling.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/sampling_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/secure_decode_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/utilities.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/aes_ctr_prf.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/bike_r2_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/decode.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/error.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/gf2x_mul.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/gf2x_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/openssl_utils.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/sampling.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/sampling_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/secure_decode_portable.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/utilities.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/aes256ctr.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/aes_c.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/cbd.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/indcpa.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/kyber_90s_r2_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/ntt.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/poly.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/polyvec.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/reduce.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/sha2_c.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/verify.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/cbd.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/fips202_kyber_r2.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/indcpa.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/kyber_r2_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/ntt.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/poly.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/polyvec.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/reduce.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/symmetric-fips202.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/verify.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/s2n_pq.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/s2n_pq_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r1/P503_r1.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r1/fips202_r1.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r1/fp_generic_r1.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r1/sike_r1_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r2/P434.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r2/fips202.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_base64.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_file.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_network_order.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_pem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_text.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_alpn.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_key_share.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_max_frag_len.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_pq_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_psk.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_renegotiation_info.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_sct_list.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_server_name.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_session_ticket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_signature_algorithms.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_status_request.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_supported_groups.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_supported_versions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_cookie.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_ec_point_format.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_list.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_type.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_type_lists.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_key_share.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_psk_key_exchange_modes.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_quic_transport_params.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_alpn.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_certificate_status.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_key_share.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_max_fragment_length.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_psk.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_renegotiation_info.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_sct_list.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_server_name.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_signature_algorithms.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_status_request.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_supported_versions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_supported_versions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_aead.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_alerts.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_async_pkey.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_auth_selection.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cbc.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_change_cipher_spec.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cipher_preferences.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cipher_suites.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_cert.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_cert_verify.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_finished.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_hello.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_key_exchange.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_config.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_connection.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_connection_evp_digests.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ecc_preferences.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_encrypted_extensions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_establish_session.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_io.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_transcript.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kem_preferences.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kex.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_key_update.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ocsp_stapling.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_post_handshake.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_prf.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_protocol_preferences.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_psk.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_quic_support.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_aead.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_cbc.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_composite.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_stream.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_write.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_recv.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_resume.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_security_policies.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_send.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_cert.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_cert_request.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_done.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_extensions.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_finished.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_hello.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_hello_retry.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_key_exchange.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_new_session_ticket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_shutdown.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_signature_algorithms.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_signature_scheme.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_certificate_verify.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_handshake.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_x509_validator.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_array.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_asn1_time.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_blob.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_ensure.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_init.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_map.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_mem.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_random.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_result.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_rfc5952.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_safety.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_set.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_socket.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_str.c + ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_timer.c +) diff --git a/contrib/restricted/aws/s2n/CMakeLists.txt b/contrib/restricted/aws/s2n/CMakeLists.txt index cf54c00743..a681d385f3 100644 --- a/contrib/restricted/aws/s2n/CMakeLists.txt +++ b/contrib/restricted/aws/s2n/CMakeLists.txt @@ -6,219 +6,8 @@ # original buildsystem will not be accepted. -find_package(OpenSSL REQUIRED) - -add_library(restricted-aws-s2n) -target_compile_options(restricted-aws-s2n PRIVATE - -DS2N_ADX - -D_POSIX_C_SOURCE=200809L - -DS2N_HAVE_EXECINFO - -DS2N_SIKEP434R2_ASM - -DS2N_CPUID_AVAILABLE -) -target_include_directories(restricted-aws-s2n PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/api -) -target_include_directories(restricted-aws-s2n PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/api -) -target_link_libraries(restricted-aws-s2n PUBLIC - OpenSSL::OpenSSL -) -target_sources(restricted-aws-s2n PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r2/sikep434r2_fp_x64_asm.S - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_aead_cipher_aes_gcm.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_aead_cipher_chacha20_poly1305.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cbc_cipher_3des.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cbc_cipher_aes.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_certificate.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_cipher.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_composite_cipher_aes_sha.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_dhe.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_drbg.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_ecc_evp.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_ecdsa.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_evp.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_fips.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hash.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hkdf.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_hmac.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_pkey.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa_pss.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_rsa_signing.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_sequence.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_stream_cipher_null.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_stream_cipher_rc4.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/crypto/s2n_tls13_keys.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/error/s2n_errno.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/aes_ctr_prf.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/bike_r1_kem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/converts_portable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/decode.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/error.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/gf2x_mul.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/gf2x_portable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/openssl_utils.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/parallel_hash.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/sampling.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/sampling_portable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/secure_decode_portable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r1/utilities.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/aes_ctr_prf.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/bike_r2_kem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/decode.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/error.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/gf2x_mul.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/gf2x_portable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/openssl_utils.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/sampling.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/sampling_portable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/secure_decode_portable.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/bike_r2/utilities.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/aes256ctr.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/aes_c.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/cbd.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/indcpa.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/kyber_90s_r2_kem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/ntt.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/poly.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/polyvec.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/reduce.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/sha2_c.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_90s_r2/verify.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/cbd.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/fips202_kyber_r2.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/indcpa.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/kyber_r2_kem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/ntt.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/poly.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/polyvec.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/reduce.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/symmetric-fips202.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/kyber_r2/verify.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/s2n_pq.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/s2n_pq_random.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r1/P503_r1.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r1/fips202_r1.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r1/fp_generic_r1.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r1/sike_r1_kem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r2/P434.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/pq-crypto/sike_r2/fips202.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_base64.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_file.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_network_order.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_pem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/stuffer/s2n_stuffer_text.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_alpn.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_key_share.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_max_frag_len.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_pq_kem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_psk.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_renegotiation_info.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_sct_list.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_server_name.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_session_ticket.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_signature_algorithms.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_status_request.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_supported_groups.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_client_supported_versions.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_cookie.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_ec_point_format.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_list.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_type.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_extension_type_lists.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_key_share.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_psk_key_exchange_modes.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_quic_transport_params.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_alpn.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_certificate_status.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_key_share.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_max_fragment_length.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_psk.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_renegotiation_info.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_sct_list.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_server_name.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_session_ticket.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_signature_algorithms.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_status_request.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_server_supported_versions.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/extensions/s2n_supported_versions.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_aead.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_alerts.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_async_pkey.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_auth_selection.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cbc.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_change_cipher_spec.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cipher_preferences.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_cipher_suites.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_cert.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_cert_verify.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_finished.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_hello.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_client_key_exchange.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_config.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_connection.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_connection_evp_digests.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ecc_preferences.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_encrypted_extensions.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_establish_session.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_io.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_handshake_transcript.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kem_preferences.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_kex.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_key_update.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_ocsp_stapling.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_post_handshake.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_prf.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_protocol_preferences.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_psk.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_quic_support.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_aead.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_cbc.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_composite.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_read_stream.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_record_write.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_recv.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_resume.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_security_policies.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_send.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_cert.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_cert_request.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_done.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_extensions.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_finished.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_hello.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_hello_retry.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_key_exchange.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_server_new_session_ticket.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_shutdown.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_signature_algorithms.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_signature_scheme.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_certificate_verify.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_tls13_handshake.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/tls/s2n_x509_validator.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_array.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_asn1_time.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_blob.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_ensure.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_init.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_map.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_mem.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_random.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_result.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_rfc5952.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_safety.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_set.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_socket.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_str.c - ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/s2n/utils/s2n_timer.c -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/boost/libs/chrono/CMakeLists.darwin.txt b/contrib/restricted/boost/libs/chrono/CMakeLists.darwin.txt new file mode 100644 index 0000000000..a47c7a0a8c --- /dev/null +++ b/contrib/restricted/boost/libs/chrono/CMakeLists.darwin.txt @@ -0,0 +1,43 @@ + +# 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(boost-libs-chrono) +target_compile_options(boost-libs-chrono PRIVATE + -DBOOST_ATOMIC_STATIC_LINK=1 + -DBOOST_All_STATIC_LINK=1 + -DBOOST_CHRONO_STATIC_LINK=1 + -DBOOST_SYSTEM_STATIC_LINK=1 + -DBOOST_TIMER_STATIC_LINK=1 + -DBOOST_ALL_NO_LIB=1 + -DBOOST_ATOMIC_SOURCE + -DBOOST_COROUTINES_SOURCE + -DBOOST_DISABLE_ASSERTS + -DBOOST_SPIRIT_USE_PHOENIX_V3=1 + -DBOOST_SYSTEM_NO_DEPRECATED + -DBOOST_THREAD_BUILD_LIB=1 + -DBOOST_THREAD_DONT_USE_CHRONO=1 + -DBOOST_THREAD_NO_LIB=1 + -DBOOST_THREAD_USE_LIB=1 + -DDATE_TIME_INLINE + -DBOOST_THREAD_DONT_USE_CHRONO + -DBOOST_THREAD_POSIX + -D_DARWIN_C_SOURCE=1 +) +target_include_directories(boost-libs-chrono PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef +) +target_link_libraries(boost-libs-chrono PUBLIC + contrib-libs-cxxsupp + contrib-restricted-boost +) +target_sources(boost-libs-chrono PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/chrono.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/process_cpu_clocks.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/thread_clock.cpp +) diff --git a/contrib/restricted/boost/libs/chrono/CMakeLists.linux.txt b/contrib/restricted/boost/libs/chrono/CMakeLists.linux.txt new file mode 100644 index 0000000000..0361f08779 --- /dev/null +++ b/contrib/restricted/boost/libs/chrono/CMakeLists.linux.txt @@ -0,0 +1,42 @@ + +# 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(boost-libs-chrono) +target_compile_options(boost-libs-chrono PRIVATE + -DBOOST_ATOMIC_STATIC_LINK=1 + -DBOOST_All_STATIC_LINK=1 + -DBOOST_CHRONO_STATIC_LINK=1 + -DBOOST_SYSTEM_STATIC_LINK=1 + -DBOOST_TIMER_STATIC_LINK=1 + -DBOOST_ALL_NO_LIB=1 + -DBOOST_ATOMIC_SOURCE + -DBOOST_COROUTINES_SOURCE + -DBOOST_DISABLE_ASSERTS + -DBOOST_SPIRIT_USE_PHOENIX_V3=1 + -DBOOST_SYSTEM_NO_DEPRECATED + -DBOOST_THREAD_BUILD_LIB=1 + -DBOOST_THREAD_DONT_USE_CHRONO=1 + -DBOOST_THREAD_NO_LIB=1 + -DBOOST_THREAD_USE_LIB=1 + -DDATE_TIME_INLINE + -DBOOST_THREAD_DONT_USE_CHRONO + -DBOOST_THREAD_POSIX +) +target_include_directories(boost-libs-chrono PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef +) +target_link_libraries(boost-libs-chrono PUBLIC + contrib-libs-cxxsupp + contrib-restricted-boost +) +target_sources(boost-libs-chrono PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/chrono.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/process_cpu_clocks.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/thread_clock.cpp +) diff --git a/contrib/restricted/boost/libs/chrono/CMakeLists.txt b/contrib/restricted/boost/libs/chrono/CMakeLists.txt index 0361f08779..a681d385f3 100644 --- a/contrib/restricted/boost/libs/chrono/CMakeLists.txt +++ b/contrib/restricted/boost/libs/chrono/CMakeLists.txt @@ -6,37 +6,8 @@ # original buildsystem will not be accepted. - -add_library(boost-libs-chrono) -target_compile_options(boost-libs-chrono PRIVATE - -DBOOST_ATOMIC_STATIC_LINK=1 - -DBOOST_All_STATIC_LINK=1 - -DBOOST_CHRONO_STATIC_LINK=1 - -DBOOST_SYSTEM_STATIC_LINK=1 - -DBOOST_TIMER_STATIC_LINK=1 - -DBOOST_ALL_NO_LIB=1 - -DBOOST_ATOMIC_SOURCE - -DBOOST_COROUTINES_SOURCE - -DBOOST_DISABLE_ASSERTS - -DBOOST_SPIRIT_USE_PHOENIX_V3=1 - -DBOOST_SYSTEM_NO_DEPRECATED - -DBOOST_THREAD_BUILD_LIB=1 - -DBOOST_THREAD_DONT_USE_CHRONO=1 - -DBOOST_THREAD_NO_LIB=1 - -DBOOST_THREAD_USE_LIB=1 - -DDATE_TIME_INLINE - -DBOOST_THREAD_DONT_USE_CHRONO - -DBOOST_THREAD_POSIX -) -target_include_directories(boost-libs-chrono PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef -) -target_link_libraries(boost-libs-chrono PUBLIC - contrib-libs-cxxsupp - contrib-restricted-boost -) -target_sources(boost-libs-chrono PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/chrono.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/process_cpu_clocks.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/chrono/src/thread_clock.cpp -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/boost/libs/iostreams/CMakeLists.linux.txt b/contrib/restricted/boost/libs/iostreams/CMakeLists.linux.txt new file mode 100644 index 0000000000..def456e2c8 --- /dev/null +++ b/contrib/restricted/boost/libs/iostreams/CMakeLists.linux.txt @@ -0,0 +1,47 @@ + +# 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(boost-libs-iostreams) +target_compile_options(boost-libs-iostreams PRIVATE + -DBOOST_ATOMIC_STATIC_LINK=1 + -DBOOST_All_STATIC_LINK=1 + -DBOOST_CHRONO_STATIC_LINK=1 + -DBOOST_SYSTEM_STATIC_LINK=1 + -DBOOST_TIMER_STATIC_LINK=1 + -DBOOST_ALL_NO_LIB=1 + -DBOOST_ATOMIC_SOURCE + -DBOOST_COROUTINES_SOURCE + -DBOOST_DISABLE_ASSERTS + -DBOOST_SPIRIT_USE_PHOENIX_V3=1 + -DBOOST_SYSTEM_NO_DEPRECATED + -DBOOST_THREAD_BUILD_LIB=1 + -DBOOST_THREAD_DONT_USE_CHRONO=1 + -DBOOST_THREAD_NO_LIB=1 + -DBOOST_THREAD_USE_LIB=1 + -DDATE_TIME_INLINE + -DBOOST_THREAD_DONT_USE_CHRONO + -DBOOST_THREAD_POSIX + -DBOOST_IOSTREAMS_USE_DEPRECATED +) +target_include_directories(boost-libs-iostreams PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef +) +target_link_libraries(boost-libs-iostreams PUBLIC + contrib-libs-cxxsupp + contrib-restricted-boost + ZLIB::ZLIB + contrib-libs-libbz2 +) +target_sources(boost-libs-iostreams PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/file_descriptor.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/gzip.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/mapped_file.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/zlib.cpp +) diff --git a/contrib/restricted/boost/libs/iostreams/CMakeLists.txt b/contrib/restricted/boost/libs/iostreams/CMakeLists.txt index def456e2c8..c031ddb850 100644 --- a/contrib/restricted/boost/libs/iostreams/CMakeLists.txt +++ b/contrib/restricted/boost/libs/iostreams/CMakeLists.txt @@ -6,42 +6,6 @@ # original buildsystem will not be accepted. -find_package(ZLIB REQUIRED) - -add_library(boost-libs-iostreams) -target_compile_options(boost-libs-iostreams PRIVATE - -DBOOST_ATOMIC_STATIC_LINK=1 - -DBOOST_All_STATIC_LINK=1 - -DBOOST_CHRONO_STATIC_LINK=1 - -DBOOST_SYSTEM_STATIC_LINK=1 - -DBOOST_TIMER_STATIC_LINK=1 - -DBOOST_ALL_NO_LIB=1 - -DBOOST_ATOMIC_SOURCE - -DBOOST_COROUTINES_SOURCE - -DBOOST_DISABLE_ASSERTS - -DBOOST_SPIRIT_USE_PHOENIX_V3=1 - -DBOOST_SYSTEM_NO_DEPRECATED - -DBOOST_THREAD_BUILD_LIB=1 - -DBOOST_THREAD_DONT_USE_CHRONO=1 - -DBOOST_THREAD_NO_LIB=1 - -DBOOST_THREAD_USE_LIB=1 - -DDATE_TIME_INLINE - -DBOOST_THREAD_DONT_USE_CHRONO - -DBOOST_THREAD_POSIX - -DBOOST_IOSTREAMS_USE_DEPRECATED -) -target_include_directories(boost-libs-iostreams PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef -) -target_link_libraries(boost-libs-iostreams PUBLIC - contrib-libs-cxxsupp - contrib-restricted-boost - ZLIB::ZLIB - contrib-libs-libbz2 -) -target_sources(boost-libs-iostreams PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/file_descriptor.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/gzip.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/mapped_file.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/iostreams/src/zlib.cpp -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/boost/libs/program_options/CMakeLists.linux.txt b/contrib/restricted/boost/libs/program_options/CMakeLists.linux.txt new file mode 100644 index 0000000000..050de9dc8d --- /dev/null +++ b/contrib/restricted/boost/libs/program_options/CMakeLists.linux.txt @@ -0,0 +1,50 @@ + +# 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(boost-libs-program_options) +target_compile_options(boost-libs-program_options PRIVATE + -DBOOST_ATOMIC_STATIC_LINK=1 + -DBOOST_All_STATIC_LINK=1 + -DBOOST_CHRONO_STATIC_LINK=1 + -DBOOST_SYSTEM_STATIC_LINK=1 + -DBOOST_TIMER_STATIC_LINK=1 + -DBOOST_ALL_NO_LIB=1 + -DBOOST_ATOMIC_SOURCE + -DBOOST_COROUTINES_SOURCE + -DBOOST_DISABLE_ASSERTS + -DBOOST_SPIRIT_USE_PHOENIX_V3=1 + -DBOOST_SYSTEM_NO_DEPRECATED + -DBOOST_THREAD_BUILD_LIB=1 + -DBOOST_THREAD_DONT_USE_CHRONO=1 + -DBOOST_THREAD_NO_LIB=1 + -DBOOST_THREAD_USE_LIB=1 + -DDATE_TIME_INLINE + -DBOOST_THREAD_DONT_USE_CHRONO + -DBOOST_THREAD_POSIX +) +target_include_directories(boost-libs-program_options PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef +) +target_link_libraries(boost-libs-program_options PUBLIC + contrib-libs-cxxsupp + contrib-restricted-boost +) +target_sources(boost-libs-program_options PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/cmdline.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/config_file.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/convert.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/options_description.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/parsers.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/positional_options.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/split.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/utf8_codecvt_facet.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/value_semantic.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/variables_map.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/winmain.cpp +) diff --git a/contrib/restricted/boost/libs/program_options/CMakeLists.txt b/contrib/restricted/boost/libs/program_options/CMakeLists.txt index 050de9dc8d..c031ddb850 100644 --- a/contrib/restricted/boost/libs/program_options/CMakeLists.txt +++ b/contrib/restricted/boost/libs/program_options/CMakeLists.txt @@ -6,45 +6,6 @@ # original buildsystem will not be accepted. - -add_library(boost-libs-program_options) -target_compile_options(boost-libs-program_options PRIVATE - -DBOOST_ATOMIC_STATIC_LINK=1 - -DBOOST_All_STATIC_LINK=1 - -DBOOST_CHRONO_STATIC_LINK=1 - -DBOOST_SYSTEM_STATIC_LINK=1 - -DBOOST_TIMER_STATIC_LINK=1 - -DBOOST_ALL_NO_LIB=1 - -DBOOST_ATOMIC_SOURCE - -DBOOST_COROUTINES_SOURCE - -DBOOST_DISABLE_ASSERTS - -DBOOST_SPIRIT_USE_PHOENIX_V3=1 - -DBOOST_SYSTEM_NO_DEPRECATED - -DBOOST_THREAD_BUILD_LIB=1 - -DBOOST_THREAD_DONT_USE_CHRONO=1 - -DBOOST_THREAD_NO_LIB=1 - -DBOOST_THREAD_USE_LIB=1 - -DDATE_TIME_INLINE - -DBOOST_THREAD_DONT_USE_CHRONO - -DBOOST_THREAD_POSIX -) -target_include_directories(boost-libs-program_options PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef -) -target_link_libraries(boost-libs-program_options PUBLIC - contrib-libs-cxxsupp - contrib-restricted-boost -) -target_sources(boost-libs-program_options PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/cmdline.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/config_file.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/convert.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/options_description.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/parsers.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/positional_options.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/split.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/utf8_codecvt_facet.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/value_semantic.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/variables_map.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/program_options/src/winmain.cpp -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/boost/libs/system/CMakeLists.darwin.txt b/contrib/restricted/boost/libs/system/CMakeLists.darwin.txt new file mode 100644 index 0000000000..2d6653cfc1 --- /dev/null +++ b/contrib/restricted/boost/libs/system/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(boost-libs-system) +target_compile_options(boost-libs-system PRIVATE + -DBOOST_ATOMIC_STATIC_LINK=1 + -DBOOST_All_STATIC_LINK=1 + -DBOOST_CHRONO_STATIC_LINK=1 + -DBOOST_SYSTEM_STATIC_LINK=1 + -DBOOST_TIMER_STATIC_LINK=1 + -DBOOST_ALL_NO_LIB=1 + -DBOOST_ATOMIC_SOURCE + -DBOOST_COROUTINES_SOURCE + -DBOOST_DISABLE_ASSERTS + -DBOOST_SPIRIT_USE_PHOENIX_V3=1 + -DBOOST_SYSTEM_NO_DEPRECATED + -DBOOST_THREAD_BUILD_LIB=1 + -DBOOST_THREAD_DONT_USE_CHRONO=1 + -DBOOST_THREAD_NO_LIB=1 + -DBOOST_THREAD_USE_LIB=1 + -DDATE_TIME_INLINE + -DBOOST_THREAD_DONT_USE_CHRONO + -DBOOST_THREAD_POSIX + -D_DARWIN_C_SOURCE=1 +) +target_include_directories(boost-libs-system PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef +) +target_link_libraries(boost-libs-system PUBLIC + contrib-libs-cxxsupp + contrib-restricted-boost +) +target_sources(boost-libs-system PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/system/src/error_code.cpp +) diff --git a/contrib/restricted/boost/libs/system/CMakeLists.linux.txt b/contrib/restricted/boost/libs/system/CMakeLists.linux.txt new file mode 100644 index 0000000000..916e740bb5 --- /dev/null +++ b/contrib/restricted/boost/libs/system/CMakeLists.linux.txt @@ -0,0 +1,40 @@ + +# 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(boost-libs-system) +target_compile_options(boost-libs-system PRIVATE + -DBOOST_ATOMIC_STATIC_LINK=1 + -DBOOST_All_STATIC_LINK=1 + -DBOOST_CHRONO_STATIC_LINK=1 + -DBOOST_SYSTEM_STATIC_LINK=1 + -DBOOST_TIMER_STATIC_LINK=1 + -DBOOST_ALL_NO_LIB=1 + -DBOOST_ATOMIC_SOURCE + -DBOOST_COROUTINES_SOURCE + -DBOOST_DISABLE_ASSERTS + -DBOOST_SPIRIT_USE_PHOENIX_V3=1 + -DBOOST_SYSTEM_NO_DEPRECATED + -DBOOST_THREAD_BUILD_LIB=1 + -DBOOST_THREAD_DONT_USE_CHRONO=1 + -DBOOST_THREAD_NO_LIB=1 + -DBOOST_THREAD_USE_LIB=1 + -DDATE_TIME_INLINE + -DBOOST_THREAD_DONT_USE_CHRONO + -DBOOST_THREAD_POSIX +) +target_include_directories(boost-libs-system PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef +) +target_link_libraries(boost-libs-system PUBLIC + contrib-libs-cxxsupp + contrib-restricted-boost +) +target_sources(boost-libs-system PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/system/src/error_code.cpp +) diff --git a/contrib/restricted/boost/libs/system/CMakeLists.txt b/contrib/restricted/boost/libs/system/CMakeLists.txt index 916e740bb5..a681d385f3 100644 --- a/contrib/restricted/boost/libs/system/CMakeLists.txt +++ b/contrib/restricted/boost/libs/system/CMakeLists.txt @@ -6,35 +6,8 @@ # original buildsystem will not be accepted. - -add_library(boost-libs-system) -target_compile_options(boost-libs-system PRIVATE - -DBOOST_ATOMIC_STATIC_LINK=1 - -DBOOST_All_STATIC_LINK=1 - -DBOOST_CHRONO_STATIC_LINK=1 - -DBOOST_SYSTEM_STATIC_LINK=1 - -DBOOST_TIMER_STATIC_LINK=1 - -DBOOST_ALL_NO_LIB=1 - -DBOOST_ATOMIC_SOURCE - -DBOOST_COROUTINES_SOURCE - -DBOOST_DISABLE_ASSERTS - -DBOOST_SPIRIT_USE_PHOENIX_V3=1 - -DBOOST_SYSTEM_NO_DEPRECATED - -DBOOST_THREAD_BUILD_LIB=1 - -DBOOST_THREAD_DONT_USE_CHRONO=1 - -DBOOST_THREAD_NO_LIB=1 - -DBOOST_THREAD_USE_LIB=1 - -DDATE_TIME_INLINE - -DBOOST_THREAD_DONT_USE_CHRONO - -DBOOST_THREAD_POSIX -) -target_include_directories(boost-libs-system PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef -) -target_link_libraries(boost-libs-system PUBLIC - contrib-libs-cxxsupp - contrib-restricted-boost -) -target_sources(boost-libs-system PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/system/src/error_code.cpp -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/boost/libs/thread/CMakeLists.darwin.txt b/contrib/restricted/boost/libs/thread/CMakeLists.darwin.txt new file mode 100644 index 0000000000..444ff34583 --- /dev/null +++ b/contrib/restricted/boost/libs/thread/CMakeLists.darwin.txt @@ -0,0 +1,45 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(boost-libs-thread) +target_compile_options(boost-libs-thread PRIVATE + -DBOOST_ATOMIC_STATIC_LINK=1 + -DBOOST_All_STATIC_LINK=1 + -DBOOST_CHRONO_STATIC_LINK=1 + -DBOOST_SYSTEM_STATIC_LINK=1 + -DBOOST_TIMER_STATIC_LINK=1 + -DBOOST_ALL_NO_LIB=1 + -DBOOST_ATOMIC_SOURCE + -DBOOST_COROUTINES_SOURCE + -DBOOST_DISABLE_ASSERTS + -DBOOST_SPIRIT_USE_PHOENIX_V3=1 + -DBOOST_SYSTEM_NO_DEPRECATED + -DBOOST_THREAD_BUILD_LIB=1 + -DBOOST_THREAD_DONT_USE_CHRONO=1 + -DBOOST_THREAD_NO_LIB=1 + -DBOOST_THREAD_USE_LIB=1 + -DDATE_TIME_INLINE + -DBOOST_THREAD_DONT_USE_CHRONO + -DBOOST_THREAD_POSIX + -D_DARWIN_C_SOURCE=1 +) +target_include_directories(boost-libs-thread PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef +) +target_link_libraries(boost-libs-thread PUBLIC + contrib-libs-cxxsupp + contrib-restricted-boost + boost-libs-chrono + boost-libs-system +) +target_sources(boost-libs-thread PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/pthread/once.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/pthread/thread.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/future.cpp +) diff --git a/contrib/restricted/boost/libs/thread/CMakeLists.linux.txt b/contrib/restricted/boost/libs/thread/CMakeLists.linux.txt new file mode 100644 index 0000000000..011818f0f6 --- /dev/null +++ b/contrib/restricted/boost/libs/thread/CMakeLists.linux.txt @@ -0,0 +1,44 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(boost-libs-thread) +target_compile_options(boost-libs-thread PRIVATE + -DBOOST_ATOMIC_STATIC_LINK=1 + -DBOOST_All_STATIC_LINK=1 + -DBOOST_CHRONO_STATIC_LINK=1 + -DBOOST_SYSTEM_STATIC_LINK=1 + -DBOOST_TIMER_STATIC_LINK=1 + -DBOOST_ALL_NO_LIB=1 + -DBOOST_ATOMIC_SOURCE + -DBOOST_COROUTINES_SOURCE + -DBOOST_DISABLE_ASSERTS + -DBOOST_SPIRIT_USE_PHOENIX_V3=1 + -DBOOST_SYSTEM_NO_DEPRECATED + -DBOOST_THREAD_BUILD_LIB=1 + -DBOOST_THREAD_DONT_USE_CHRONO=1 + -DBOOST_THREAD_NO_LIB=1 + -DBOOST_THREAD_USE_LIB=1 + -DDATE_TIME_INLINE + -DBOOST_THREAD_DONT_USE_CHRONO + -DBOOST_THREAD_POSIX +) +target_include_directories(boost-libs-thread PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef +) +target_link_libraries(boost-libs-thread PUBLIC + contrib-libs-cxxsupp + contrib-restricted-boost + boost-libs-chrono + boost-libs-system +) +target_sources(boost-libs-thread PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/pthread/once.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/pthread/thread.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/future.cpp +) diff --git a/contrib/restricted/boost/libs/thread/CMakeLists.txt b/contrib/restricted/boost/libs/thread/CMakeLists.txt index 011818f0f6..a681d385f3 100644 --- a/contrib/restricted/boost/libs/thread/CMakeLists.txt +++ b/contrib/restricted/boost/libs/thread/CMakeLists.txt @@ -6,39 +6,8 @@ # original buildsystem will not be accepted. - -add_library(boost-libs-thread) -target_compile_options(boost-libs-thread PRIVATE - -DBOOST_ATOMIC_STATIC_LINK=1 - -DBOOST_All_STATIC_LINK=1 - -DBOOST_CHRONO_STATIC_LINK=1 - -DBOOST_SYSTEM_STATIC_LINK=1 - -DBOOST_TIMER_STATIC_LINK=1 - -DBOOST_ALL_NO_LIB=1 - -DBOOST_ATOMIC_SOURCE - -DBOOST_COROUTINES_SOURCE - -DBOOST_DISABLE_ASSERTS - -DBOOST_SPIRIT_USE_PHOENIX_V3=1 - -DBOOST_SYSTEM_NO_DEPRECATED - -DBOOST_THREAD_BUILD_LIB=1 - -DBOOST_THREAD_DONT_USE_CHRONO=1 - -DBOOST_THREAD_NO_LIB=1 - -DBOOST_THREAD_USE_LIB=1 - -DDATE_TIME_INLINE - -DBOOST_THREAD_DONT_USE_CHRONO - -DBOOST_THREAD_POSIX -) -target_include_directories(boost-libs-thread PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/boost/predef -) -target_link_libraries(boost-libs-thread PUBLIC - contrib-libs-cxxsupp - contrib-restricted-boost - boost-libs-chrono - boost-libs-system -) -target_sources(boost-libs-thread PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/pthread/once.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/pthread/thread.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/thread/src/future.cpp -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/cityhash-1.0.2/CMakeLists.linux.txt b/contrib/restricted/cityhash-1.0.2/CMakeLists.linux.txt new file mode 100644 index 0000000000..72fda954d5 --- /dev/null +++ b/contrib/restricted/cityhash-1.0.2/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-restricted-cityhash-1.0.2) +target_include_directories(contrib-restricted-cityhash-1.0.2 PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/cityhash-1.0.2 +) +target_include_directories(contrib-restricted-cityhash-1.0.2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/cityhash-1.0.2 +) +target_link_libraries(contrib-restricted-cityhash-1.0.2 PUBLIC + contrib-libs-cxxsupp +) +target_sources(contrib-restricted-cityhash-1.0.2 PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/cityhash-1.0.2/city.cc +) diff --git a/contrib/restricted/cityhash-1.0.2/CMakeLists.txt b/contrib/restricted/cityhash-1.0.2/CMakeLists.txt index 72fda954d5..c031ddb850 100644 --- a/contrib/restricted/cityhash-1.0.2/CMakeLists.txt +++ b/contrib/restricted/cityhash-1.0.2/CMakeLists.txt @@ -6,17 +6,6 @@ # original buildsystem will not be accepted. - -add_library(contrib-restricted-cityhash-1.0.2) -target_include_directories(contrib-restricted-cityhash-1.0.2 PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/cityhash-1.0.2 -) -target_include_directories(contrib-restricted-cityhash-1.0.2 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/cityhash-1.0.2 -) -target_link_libraries(contrib-restricted-cityhash-1.0.2 PUBLIC - contrib-libs-cxxsupp -) -target_sources(contrib-restricted-cityhash-1.0.2 PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/cityhash-1.0.2/city.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/dragonbox/CMakeLists.linux.txt b/contrib/restricted/dragonbox/CMakeLists.linux.txt new file mode 100644 index 0000000000..daf4f71328 --- /dev/null +++ b/contrib/restricted/dragonbox/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(dragonbox) +target_include_directories(dragonbox PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/dragonbox/include +) +target_include_directories(dragonbox PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/dragonbox/include +) +target_link_libraries(dragonbox PUBLIC + contrib-libs-cxxsupp +) +target_sources(dragonbox PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/dragonbox/source/dragonbox_to_chars.cpp +) diff --git a/contrib/restricted/dragonbox/CMakeLists.txt b/contrib/restricted/dragonbox/CMakeLists.txt index daf4f71328..c031ddb850 100644 --- a/contrib/restricted/dragonbox/CMakeLists.txt +++ b/contrib/restricted/dragonbox/CMakeLists.txt @@ -6,17 +6,6 @@ # original buildsystem will not be accepted. - -add_library(dragonbox) -target_include_directories(dragonbox PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/dragonbox/include -) -target_include_directories(dragonbox PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/dragonbox/include -) -target_link_libraries(dragonbox PUBLIC - contrib-libs-cxxsupp -) -target_sources(dragonbox PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/dragonbox/source/dragonbox_to_chars.cpp -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/tools/protoc/bin/CMakeLists.darwin.txt b/contrib/tools/protoc/bin/CMakeLists.darwin.txt new file mode 100644 index 0000000000..00c5ae2afa --- /dev/null +++ b/contrib/tools/protoc/bin/CMakeLists.darwin.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_executable(protoc) +target_link_libraries(protoc PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + contrib-libs-protoc +) +target_sources(protoc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc +) +target_link_flags(protoc + PUBLIC + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) +vcs_info(protoc) diff --git a/contrib/tools/protoc/bin/CMakeLists.linux.txt b/contrib/tools/protoc/bin/CMakeLists.linux.txt new file mode 100644 index 0000000000..d0e1886d1e --- /dev/null +++ b/contrib/tools/protoc/bin/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_executable(protoc) +target_link_libraries(protoc PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + contrib-libs-protoc +) +target_sources(protoc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc +) +target_link_flags(protoc + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(protoc) diff --git a/contrib/tools/protoc/bin/CMakeLists.txt b/contrib/tools/protoc/bin/CMakeLists.txt index d0e1886d1e..a681d385f3 100644 --- a/contrib/tools/protoc/bin/CMakeLists.txt +++ b/contrib/tools/protoc/bin/CMakeLists.txt @@ -6,27 +6,8 @@ # original buildsystem will not be accepted. - -add_executable(protoc) -target_link_libraries(protoc PUBLIC - contrib-libs-cxxsupp - yutil - library-cpp-lfalloc - library-cpp-cpuid_check - contrib-libs-protoc -) -target_sources(protoc PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/main.cc -) -target_link_flags(protoc - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) -vcs_info(protoc) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.darwin.txt b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.darwin.txt new file mode 100644 index 0000000000..c86c30114f --- /dev/null +++ b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.darwin.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_executable(cpp_styleguide) +target_link_libraries(cpp_styleguide PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + contrib-libs-protoc +) +target_sources(cpp_styleguide PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp +) +target_link_flags(cpp_styleguide + PUBLIC + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) +vcs_info(cpp_styleguide) diff --git a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.linux.txt b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.linux.txt new file mode 100644 index 0000000000..f7cbff28a2 --- /dev/null +++ b/contrib/tools/protoc/plugins/cpp_styleguide/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_executable(cpp_styleguide) +target_link_libraries(cpp_styleguide PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + contrib-libs-protoc +) +target_sources(cpp_styleguide PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp +) +target_link_flags(cpp_styleguide + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(cpp_styleguide) diff --git a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt index f7cbff28a2..a681d385f3 100644 --- a/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt +++ b/contrib/tools/protoc/plugins/cpp_styleguide/CMakeLists.txt @@ -6,27 +6,8 @@ # original buildsystem will not be accepted. - -add_executable(cpp_styleguide) -target_link_libraries(cpp_styleguide PUBLIC - contrib-libs-cxxsupp - yutil - library-cpp-lfalloc - library-cpp-cpuid_check - contrib-libs-protoc -) -target_sources(cpp_styleguide PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/tools/protoc/plugins/cpp_styleguide/cpp_styleguide.cpp -) -target_link_flags(cpp_styleguide - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) -vcs_info(cpp_styleguide) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.darwin.txt b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.darwin.txt new file mode 100644 index 0000000000..9af28345e4 --- /dev/null +++ b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.darwin.txt @@ -0,0 +1,34 @@ + +# 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(grpc_cpp) +target_compile_options(grpc_cpp PRIVATE + -DGRPC_USE_ABSL=0 +) +target_include_directories(grpc_cpp PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/grpc + ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include +) +target_link_libraries(grpc_cpp PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + src-compiler-grpc_plugin_support +) +target_sources(grpc_cpp PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/src/compiler/cpp_plugin.cc +) +target_link_flags(grpc_cpp + PUBLIC + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC +) +vcs_info(grpc_cpp) diff --git a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.linux.txt b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.linux.txt new file mode 100644 index 0000000000..ea5b708509 --- /dev/null +++ b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.linux.txt @@ -0,0 +1,39 @@ + +# 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(grpc_cpp) +target_compile_options(grpc_cpp PRIVATE + -DGRPC_USE_ABSL=0 +) +target_include_directories(grpc_cpp PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/grpc + ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include +) +target_link_libraries(grpc_cpp PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + library-cpp-cpuid_check + src-compiler-grpc_plugin_support +) +target_sources(grpc_cpp PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/src/compiler/cpp_plugin.cc +) +target_link_flags(grpc_cpp + PUBLIC + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +vcs_info(grpc_cpp) diff --git a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt index ea5b708509..a681d385f3 100644 --- a/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt +++ b/contrib/tools/protoc/plugins/grpc_cpp/CMakeLists.txt @@ -6,34 +6,8 @@ # original buildsystem will not be accepted. - -add_executable(grpc_cpp) -target_compile_options(grpc_cpp PRIVATE - -DGRPC_USE_ABSL=0 -) -target_include_directories(grpc_cpp PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/grpc - ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include -) -target_link_libraries(grpc_cpp PUBLIC - contrib-libs-cxxsupp - yutil - library-cpp-lfalloc - library-cpp-cpuid_check - src-compiler-grpc_plugin_support -) -target_sources(grpc_cpp PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/src/compiler/cpp_plugin.cc -) -target_link_flags(grpc_cpp - PUBLIC - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) -vcs_info(grpc_cpp) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() |