diff options
author | thegeorg <thegeorg@yandex-team.com> | 2022-12-15 19:25:15 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2022-12-15 19:25:15 +0300 |
commit | 0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch) | |
tree | 4d8a246db168f7beaafcd06d486c034115c2123d /library/cpp/string_utils | |
parent | d1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff) | |
download | ydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz |
Sync linux-headers instead of using system ones
Diffstat (limited to 'library/cpp/string_utils')
36 files changed, 561 insertions, 88 deletions
diff --git a/library/cpp/string_utils/base64/CMakeLists.darwin.txt b/library/cpp/string_utils/base64/CMakeLists.darwin.txt new file mode 100644 index 0000000000..0bf08c6bca --- /dev/null +++ b/library/cpp/string_utils/base64/CMakeLists.darwin.txt @@ -0,0 +1,23 @@ + +# 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(cpp-string_utils-base64) +target_link_libraries(cpp-string_utils-base64 PUBLIC + contrib-libs-cxxsupp + yutil + libs-base64-avx2 + libs-base64-ssse3 + libs-base64-neon32 + libs-base64-neon64 + libs-base64-plain32 + libs-base64-plain64 +) +target_sources(cpp-string_utils-base64 PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/base64/base64.cpp +) diff --git a/library/cpp/string_utils/base64/CMakeLists.linux-aarch64.txt b/library/cpp/string_utils/base64/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..ff7d909b10 --- /dev/null +++ b/library/cpp/string_utils/base64/CMakeLists.linux-aarch64.txt @@ -0,0 +1,24 @@ + +# 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(cpp-string_utils-base64) +target_link_libraries(cpp-string_utils-base64 PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + libs-base64-avx2 + libs-base64-ssse3 + libs-base64-neon32 + libs-base64-neon64 + libs-base64-plain32 + libs-base64-plain64 +) +target_sources(cpp-string_utils-base64 PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/base64/base64.cpp +) diff --git a/library/cpp/string_utils/base64/CMakeLists.linux.txt b/library/cpp/string_utils/base64/CMakeLists.linux.txt new file mode 100644 index 0000000000..ff7d909b10 --- /dev/null +++ b/library/cpp/string_utils/base64/CMakeLists.linux.txt @@ -0,0 +1,24 @@ + +# 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(cpp-string_utils-base64) +target_link_libraries(cpp-string_utils-base64 PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + libs-base64-avx2 + libs-base64-ssse3 + libs-base64-neon32 + libs-base64-neon64 + libs-base64-plain32 + libs-base64-plain64 +) +target_sources(cpp-string_utils-base64 PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/base64/base64.cpp +) diff --git a/library/cpp/string_utils/base64/CMakeLists.txt b/library/cpp/string_utils/base64/CMakeLists.txt index 0bf08c6bca..3e0811fb22 100644 --- a/library/cpp/string_utils/base64/CMakeLists.txt +++ b/library/cpp/string_utils/base64/CMakeLists.txt @@ -6,18 +6,10 @@ # original buildsystem will not be accepted. - -add_library(cpp-string_utils-base64) -target_link_libraries(cpp-string_utils-base64 PUBLIC - contrib-libs-cxxsupp - yutil - libs-base64-avx2 - libs-base64-ssse3 - libs-base64-neon32 - libs-base64-neon64 - libs-base64-plain32 - libs-base64-plain64 -) -target_sources(cpp-string_utils-base64 PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/base64/base64.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/string_utils/indent_text/CMakeLists.darwin.txt b/library/cpp/string_utils/indent_text/CMakeLists.darwin.txt new file mode 100644 index 0000000000..5a7b6a0a38 --- /dev/null +++ b/library/cpp/string_utils/indent_text/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(cpp-string_utils-indent_text) +target_link_libraries(cpp-string_utils-indent_text PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-indent_text PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/indent_text/indent_text.cpp +) diff --git a/library/cpp/string_utils/indent_text/CMakeLists.linux-aarch64.txt b/library/cpp/string_utils/indent_text/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..f5be16f0db --- /dev/null +++ b/library/cpp/string_utils/indent_text/CMakeLists.linux-aarch64.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-indent_text) +target_link_libraries(cpp-string_utils-indent_text PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-indent_text PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/indent_text/indent_text.cpp +) diff --git a/library/cpp/string_utils/indent_text/CMakeLists.linux.txt b/library/cpp/string_utils/indent_text/CMakeLists.linux.txt new file mode 100644 index 0000000000..f5be16f0db --- /dev/null +++ b/library/cpp/string_utils/indent_text/CMakeLists.linux.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-indent_text) +target_link_libraries(cpp-string_utils-indent_text PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-indent_text PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/indent_text/indent_text.cpp +) diff --git a/library/cpp/string_utils/indent_text/CMakeLists.txt b/library/cpp/string_utils/indent_text/CMakeLists.txt index 5a7b6a0a38..3e0811fb22 100644 --- a/library/cpp/string_utils/indent_text/CMakeLists.txt +++ b/library/cpp/string_utils/indent_text/CMakeLists.txt @@ -6,12 +6,10 @@ # original buildsystem will not be accepted. - -add_library(cpp-string_utils-indent_text) -target_link_libraries(cpp-string_utils-indent_text PUBLIC - contrib-libs-cxxsupp - yutil -) -target_sources(cpp-string_utils-indent_text PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/indent_text/indent_text.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/string_utils/levenshtein_diff/CMakeLists.darwin.txt b/library/cpp/string_utils/levenshtein_diff/CMakeLists.darwin.txt new file mode 100644 index 0000000000..ec3861df9b --- /dev/null +++ b/library/cpp/string_utils/levenshtein_diff/CMakeLists.darwin.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-levenshtein_diff) +target_link_libraries(cpp-string_utils-levenshtein_diff PUBLIC + contrib-libs-cxxsupp + yutil + util-draft +) +target_sources(cpp-string_utils-levenshtein_diff PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/levenshtein_diff/levenshtein_diff.cpp +) diff --git a/library/cpp/string_utils/levenshtein_diff/CMakeLists.linux-aarch64.txt b/library/cpp/string_utils/levenshtein_diff/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..7df466b649 --- /dev/null +++ b/library/cpp/string_utils/levenshtein_diff/CMakeLists.linux-aarch64.txt @@ -0,0 +1,19 @@ + +# 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(cpp-string_utils-levenshtein_diff) +target_link_libraries(cpp-string_utils-levenshtein_diff PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + util-draft +) +target_sources(cpp-string_utils-levenshtein_diff PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/levenshtein_diff/levenshtein_diff.cpp +) diff --git a/library/cpp/string_utils/levenshtein_diff/CMakeLists.linux.txt b/library/cpp/string_utils/levenshtein_diff/CMakeLists.linux.txt new file mode 100644 index 0000000000..7df466b649 --- /dev/null +++ b/library/cpp/string_utils/levenshtein_diff/CMakeLists.linux.txt @@ -0,0 +1,19 @@ + +# 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(cpp-string_utils-levenshtein_diff) +target_link_libraries(cpp-string_utils-levenshtein_diff PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + util-draft +) +target_sources(cpp-string_utils-levenshtein_diff PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/levenshtein_diff/levenshtein_diff.cpp +) diff --git a/library/cpp/string_utils/levenshtein_diff/CMakeLists.txt b/library/cpp/string_utils/levenshtein_diff/CMakeLists.txt index ec3861df9b..3e0811fb22 100644 --- a/library/cpp/string_utils/levenshtein_diff/CMakeLists.txt +++ b/library/cpp/string_utils/levenshtein_diff/CMakeLists.txt @@ -6,13 +6,10 @@ # original buildsystem will not be accepted. - -add_library(cpp-string_utils-levenshtein_diff) -target_link_libraries(cpp-string_utils-levenshtein_diff PUBLIC - contrib-libs-cxxsupp - yutil - util-draft -) -target_sources(cpp-string_utils-levenshtein_diff PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/levenshtein_diff/levenshtein_diff.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/string_utils/parse_size/CMakeLists.darwin.txt b/library/cpp/string_utils/parse_size/CMakeLists.darwin.txt new file mode 100644 index 0000000000..e668d64272 --- /dev/null +++ b/library/cpp/string_utils/parse_size/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(cpp-string_utils-parse_size) +target_link_libraries(cpp-string_utils-parse_size PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-parse_size PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/parse_size/parse_size.cpp +) diff --git a/library/cpp/string_utils/parse_size/CMakeLists.linux-aarch64.txt b/library/cpp/string_utils/parse_size/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..ac95d466e9 --- /dev/null +++ b/library/cpp/string_utils/parse_size/CMakeLists.linux-aarch64.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-parse_size) +target_link_libraries(cpp-string_utils-parse_size PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-parse_size PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/parse_size/parse_size.cpp +) diff --git a/library/cpp/string_utils/parse_size/CMakeLists.linux.txt b/library/cpp/string_utils/parse_size/CMakeLists.linux.txt new file mode 100644 index 0000000000..ac95d466e9 --- /dev/null +++ b/library/cpp/string_utils/parse_size/CMakeLists.linux.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-parse_size) +target_link_libraries(cpp-string_utils-parse_size PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-parse_size PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/parse_size/parse_size.cpp +) diff --git a/library/cpp/string_utils/parse_size/CMakeLists.txt b/library/cpp/string_utils/parse_size/CMakeLists.txt index e668d64272..3e0811fb22 100644 --- a/library/cpp/string_utils/parse_size/CMakeLists.txt +++ b/library/cpp/string_utils/parse_size/CMakeLists.txt @@ -6,12 +6,10 @@ # original buildsystem will not be accepted. - -add_library(cpp-string_utils-parse_size) -target_link_libraries(cpp-string_utils-parse_size PUBLIC - contrib-libs-cxxsupp - yutil -) -target_sources(cpp-string_utils-parse_size PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/parse_size/parse_size.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/string_utils/quote/CMakeLists.darwin.txt b/library/cpp/string_utils/quote/CMakeLists.darwin.txt new file mode 100644 index 0000000000..0d9b30af29 --- /dev/null +++ b/library/cpp/string_utils/quote/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(cpp-string_utils-quote) +target_link_libraries(cpp-string_utils-quote PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-quote PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/quote/quote.cpp +) diff --git a/library/cpp/string_utils/quote/CMakeLists.linux-aarch64.txt b/library/cpp/string_utils/quote/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..7118a4db27 --- /dev/null +++ b/library/cpp/string_utils/quote/CMakeLists.linux-aarch64.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-quote) +target_link_libraries(cpp-string_utils-quote PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-quote PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/quote/quote.cpp +) diff --git a/library/cpp/string_utils/quote/CMakeLists.linux.txt b/library/cpp/string_utils/quote/CMakeLists.linux.txt new file mode 100644 index 0000000000..7118a4db27 --- /dev/null +++ b/library/cpp/string_utils/quote/CMakeLists.linux.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-quote) +target_link_libraries(cpp-string_utils-quote PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-quote PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/quote/quote.cpp +) diff --git a/library/cpp/string_utils/quote/CMakeLists.txt b/library/cpp/string_utils/quote/CMakeLists.txt index 0d9b30af29..3e0811fb22 100644 --- a/library/cpp/string_utils/quote/CMakeLists.txt +++ b/library/cpp/string_utils/quote/CMakeLists.txt @@ -6,12 +6,10 @@ # original buildsystem will not be accepted. - -add_library(cpp-string_utils-quote) -target_link_libraries(cpp-string_utils-quote PUBLIC - contrib-libs-cxxsupp - yutil -) -target_sources(cpp-string_utils-quote PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/quote/quote.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/string_utils/relaxed_escaper/CMakeLists.darwin.txt b/library/cpp/string_utils/relaxed_escaper/CMakeLists.darwin.txt new file mode 100644 index 0000000000..5dd53e6d80 --- /dev/null +++ b/library/cpp/string_utils/relaxed_escaper/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(cpp-string_utils-relaxed_escaper) +target_link_libraries(cpp-string_utils-relaxed_escaper PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-relaxed_escaper PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/relaxed_escaper/relaxed_escaper.cpp +) diff --git a/library/cpp/string_utils/relaxed_escaper/CMakeLists.linux-aarch64.txt b/library/cpp/string_utils/relaxed_escaper/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..9304c0fd01 --- /dev/null +++ b/library/cpp/string_utils/relaxed_escaper/CMakeLists.linux-aarch64.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-relaxed_escaper) +target_link_libraries(cpp-string_utils-relaxed_escaper PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-relaxed_escaper PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/relaxed_escaper/relaxed_escaper.cpp +) diff --git a/library/cpp/string_utils/relaxed_escaper/CMakeLists.linux.txt b/library/cpp/string_utils/relaxed_escaper/CMakeLists.linux.txt new file mode 100644 index 0000000000..9304c0fd01 --- /dev/null +++ b/library/cpp/string_utils/relaxed_escaper/CMakeLists.linux.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-relaxed_escaper) +target_link_libraries(cpp-string_utils-relaxed_escaper PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-relaxed_escaper PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/relaxed_escaper/relaxed_escaper.cpp +) diff --git a/library/cpp/string_utils/relaxed_escaper/CMakeLists.txt b/library/cpp/string_utils/relaxed_escaper/CMakeLists.txt index 5dd53e6d80..3e0811fb22 100644 --- a/library/cpp/string_utils/relaxed_escaper/CMakeLists.txt +++ b/library/cpp/string_utils/relaxed_escaper/CMakeLists.txt @@ -6,12 +6,10 @@ # original buildsystem will not be accepted. - -add_library(cpp-string_utils-relaxed_escaper) -target_link_libraries(cpp-string_utils-relaxed_escaper PUBLIC - contrib-libs-cxxsupp - yutil -) -target_sources(cpp-string_utils-relaxed_escaper PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/relaxed_escaper/relaxed_escaper.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/string_utils/scan/CMakeLists.darwin.txt b/library/cpp/string_utils/scan/CMakeLists.darwin.txt new file mode 100644 index 0000000000..e977eedaa6 --- /dev/null +++ b/library/cpp/string_utils/scan/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(cpp-string_utils-scan) +target_link_libraries(cpp-string_utils-scan PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-scan PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/scan/scan.cpp +) diff --git a/library/cpp/string_utils/scan/CMakeLists.linux-aarch64.txt b/library/cpp/string_utils/scan/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..4b14479648 --- /dev/null +++ b/library/cpp/string_utils/scan/CMakeLists.linux-aarch64.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-scan) +target_link_libraries(cpp-string_utils-scan PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-scan PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/scan/scan.cpp +) diff --git a/library/cpp/string_utils/scan/CMakeLists.linux.txt b/library/cpp/string_utils/scan/CMakeLists.linux.txt new file mode 100644 index 0000000000..4b14479648 --- /dev/null +++ b/library/cpp/string_utils/scan/CMakeLists.linux.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-scan) +target_link_libraries(cpp-string_utils-scan PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-scan PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/scan/scan.cpp +) diff --git a/library/cpp/string_utils/scan/CMakeLists.txt b/library/cpp/string_utils/scan/CMakeLists.txt index e977eedaa6..3e0811fb22 100644 --- a/library/cpp/string_utils/scan/CMakeLists.txt +++ b/library/cpp/string_utils/scan/CMakeLists.txt @@ -6,12 +6,10 @@ # original buildsystem will not be accepted. - -add_library(cpp-string_utils-scan) -target_link_libraries(cpp-string_utils-scan PUBLIC - contrib-libs-cxxsupp - yutil -) -target_sources(cpp-string_utils-scan PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/scan/scan.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/string_utils/url/CMakeLists.darwin.txt b/library/cpp/string_utils/url/CMakeLists.darwin.txt new file mode 100644 index 0000000000..5ff22d9ea6 --- /dev/null +++ b/library/cpp/string_utils/url/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(cpp-string_utils-url) +target_link_libraries(cpp-string_utils-url PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-url PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/url/url.cpp +) diff --git a/library/cpp/string_utils/url/CMakeLists.linux-aarch64.txt b/library/cpp/string_utils/url/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..c634c74f9f --- /dev/null +++ b/library/cpp/string_utils/url/CMakeLists.linux-aarch64.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-url) +target_link_libraries(cpp-string_utils-url PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-url PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/url/url.cpp +) diff --git a/library/cpp/string_utils/url/CMakeLists.linux.txt b/library/cpp/string_utils/url/CMakeLists.linux.txt new file mode 100644 index 0000000000..c634c74f9f --- /dev/null +++ b/library/cpp/string_utils/url/CMakeLists.linux.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-url) +target_link_libraries(cpp-string_utils-url PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-url PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/url/url.cpp +) diff --git a/library/cpp/string_utils/url/CMakeLists.txt b/library/cpp/string_utils/url/CMakeLists.txt index 5ff22d9ea6..3e0811fb22 100644 --- a/library/cpp/string_utils/url/CMakeLists.txt +++ b/library/cpp/string_utils/url/CMakeLists.txt @@ -6,12 +6,10 @@ # original buildsystem will not be accepted. - -add_library(cpp-string_utils-url) -target_link_libraries(cpp-string_utils-url PUBLIC - contrib-libs-cxxsupp - yutil -) -target_sources(cpp-string_utils-url PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/url/url.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/string_utils/ztstrbuf/CMakeLists.darwin.txt b/library/cpp/string_utils/ztstrbuf/CMakeLists.darwin.txt new file mode 100644 index 0000000000..ee5bf41b93 --- /dev/null +++ b/library/cpp/string_utils/ztstrbuf/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(cpp-string_utils-ztstrbuf) +target_link_libraries(cpp-string_utils-ztstrbuf PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-ztstrbuf PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/ztstrbuf/ztstrbuf.cpp +) diff --git a/library/cpp/string_utils/ztstrbuf/CMakeLists.linux-aarch64.txt b/library/cpp/string_utils/ztstrbuf/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..9c9a5094d8 --- /dev/null +++ b/library/cpp/string_utils/ztstrbuf/CMakeLists.linux-aarch64.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-ztstrbuf) +target_link_libraries(cpp-string_utils-ztstrbuf PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-ztstrbuf PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/ztstrbuf/ztstrbuf.cpp +) diff --git a/library/cpp/string_utils/ztstrbuf/CMakeLists.linux.txt b/library/cpp/string_utils/ztstrbuf/CMakeLists.linux.txt new file mode 100644 index 0000000000..9c9a5094d8 --- /dev/null +++ b/library/cpp/string_utils/ztstrbuf/CMakeLists.linux.txt @@ -0,0 +1,18 @@ + +# 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(cpp-string_utils-ztstrbuf) +target_link_libraries(cpp-string_utils-ztstrbuf PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-ztstrbuf PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/ztstrbuf/ztstrbuf.cpp +) diff --git a/library/cpp/string_utils/ztstrbuf/CMakeLists.txt b/library/cpp/string_utils/ztstrbuf/CMakeLists.txt index ee5bf41b93..3e0811fb22 100644 --- a/library/cpp/string_utils/ztstrbuf/CMakeLists.txt +++ b/library/cpp/string_utils/ztstrbuf/CMakeLists.txt @@ -6,12 +6,10 @@ # original buildsystem will not be accepted. - -add_library(cpp-string_utils-ztstrbuf) -target_link_libraries(cpp-string_utils-ztstrbuf PUBLIC - contrib-libs-cxxsupp - yutil -) -target_sources(cpp-string_utils-ztstrbuf PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/ztstrbuf/ztstrbuf.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() |