aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/blockcodecs
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
committerthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
commit0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch)
tree4d8a246db168f7beaafcd06d486c034115c2123d /library/cpp/blockcodecs
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'library/cpp/blockcodecs')
-rw-r--r--library/cpp/blockcodecs/CMakeLists.darwin.txt30
-rw-r--r--library/cpp/blockcodecs/CMakeLists.linux-aarch64.txt31
-rw-r--r--library/cpp/blockcodecs/CMakeLists.linux.txt31
-rw-r--r--library/cpp/blockcodecs/CMakeLists.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/brotli/CMakeLists.darwin.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/brotli/CMakeLists.linux-aarch64.txt31
-rw-r--r--library/cpp/blockcodecs/codecs/brotli/CMakeLists.linux.txt31
-rw-r--r--library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt28
-rw-r--r--library/cpp/blockcodecs/codecs/bzip/CMakeLists.darwin.txt27
-rw-r--r--library/cpp/blockcodecs/codecs/bzip/CMakeLists.linux-aarch64.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/bzip/CMakeLists.linux.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt26
-rw-r--r--library/cpp/blockcodecs/codecs/fastlz/CMakeLists.darwin.txt27
-rw-r--r--library/cpp/blockcodecs/codecs/fastlz/CMakeLists.linux-aarch64.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/fastlz/CMakeLists.linux.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt26
-rw-r--r--library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.darwin.txt27
-rw-r--r--library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.linux-aarch64.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.linux.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt26
-rw-r--r--library/cpp/blockcodecs/codecs/lz4/CMakeLists.darwin.txt27
-rw-r--r--library/cpp/blockcodecs/codecs/lz4/CMakeLists.linux-aarch64.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/lz4/CMakeLists.linux.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt26
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin.txt27
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt26
-rw-r--r--library/cpp/blockcodecs/codecs/snappy/CMakeLists.darwin.txt27
-rw-r--r--library/cpp/blockcodecs/codecs/snappy/CMakeLists.linux-aarch64.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/snappy/CMakeLists.linux.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt26
-rw-r--r--library/cpp/blockcodecs/codecs/zlib/CMakeLists.darwin.txt28
-rw-r--r--library/cpp/blockcodecs/codecs/zlib/CMakeLists.linux-aarch64.txt30
-rw-r--r--library/cpp/blockcodecs/codecs/zlib/CMakeLists.linux.txt30
-rw-r--r--library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt27
-rw-r--r--library/cpp/blockcodecs/codecs/zstd/CMakeLists.darwin.txt27
-rw-r--r--library/cpp/blockcodecs/codecs/zstd/CMakeLists.linux-aarch64.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/zstd/CMakeLists.linux.txt29
-rw-r--r--library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt26
-rw-r--r--library/cpp/blockcodecs/core/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/blockcodecs/core/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/blockcodecs/core/CMakeLists.linux.txt19
-rw-r--r--library/cpp/blockcodecs/core/CMakeLists.txt17
44 files changed, 999 insertions, 206 deletions
diff --git a/library/cpp/blockcodecs/CMakeLists.darwin.txt b/library/cpp/blockcodecs/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..999004c65a
--- /dev/null
+++ b/library/cpp/blockcodecs/CMakeLists.darwin.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_subdirectory(codecs)
+add_subdirectory(core)
+
+add_library(library-cpp-blockcodecs)
+target_link_libraries(library-cpp-blockcodecs PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-blockcodecs-core
+ blockcodecs-codecs-brotli
+ blockcodecs-codecs-bzip
+ blockcodecs-codecs-fastlz
+ blockcodecs-codecs-legacy_zstd06
+ blockcodecs-codecs-lz4
+ blockcodecs-codecs-lzma
+ blockcodecs-codecs-snappy
+ blockcodecs-codecs-zlib
+ blockcodecs-codecs-zstd
+)
+target_sources(library-cpp-blockcodecs PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/stream.cpp
+)
diff --git a/library/cpp/blockcodecs/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..764ab46e5d
--- /dev/null
+++ b/library/cpp/blockcodecs/CMakeLists.linux-aarch64.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_subdirectory(codecs)
+add_subdirectory(core)
+
+add_library(library-cpp-blockcodecs)
+target_link_libraries(library-cpp-blockcodecs PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-blockcodecs-core
+ blockcodecs-codecs-brotli
+ blockcodecs-codecs-bzip
+ blockcodecs-codecs-fastlz
+ blockcodecs-codecs-legacy_zstd06
+ blockcodecs-codecs-lz4
+ blockcodecs-codecs-lzma
+ blockcodecs-codecs-snappy
+ blockcodecs-codecs-zlib
+ blockcodecs-codecs-zstd
+)
+target_sources(library-cpp-blockcodecs PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/stream.cpp
+)
diff --git a/library/cpp/blockcodecs/CMakeLists.linux.txt b/library/cpp/blockcodecs/CMakeLists.linux.txt
new file mode 100644
index 0000000000..764ab46e5d
--- /dev/null
+++ b/library/cpp/blockcodecs/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_subdirectory(codecs)
+add_subdirectory(core)
+
+add_library(library-cpp-blockcodecs)
+target_link_libraries(library-cpp-blockcodecs PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-blockcodecs-core
+ blockcodecs-codecs-brotli
+ blockcodecs-codecs-bzip
+ blockcodecs-codecs-fastlz
+ blockcodecs-codecs-legacy_zstd06
+ blockcodecs-codecs-lz4
+ blockcodecs-codecs-lzma
+ blockcodecs-codecs-snappy
+ blockcodecs-codecs-zlib
+ blockcodecs-codecs-zstd
+)
+target_sources(library-cpp-blockcodecs PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/stream.cpp
+)
diff --git a/library/cpp/blockcodecs/CMakeLists.txt b/library/cpp/blockcodecs/CMakeLists.txt
index 999004c65a..3e0811fb22 100644
--- a/library/cpp/blockcodecs/CMakeLists.txt
+++ b/library/cpp/blockcodecs/CMakeLists.txt
@@ -6,25 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(codecs)
-add_subdirectory(core)
-
-add_library(library-cpp-blockcodecs)
-target_link_libraries(library-cpp-blockcodecs PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-blockcodecs-core
- blockcodecs-codecs-brotli
- blockcodecs-codecs-bzip
- blockcodecs-codecs-fastlz
- blockcodecs-codecs-legacy_zstd06
- blockcodecs-codecs-lz4
- blockcodecs-codecs-lzma
- blockcodecs-codecs-snappy
- blockcodecs-codecs-zlib
- blockcodecs-codecs-zstd
-)
-target_sources(library-cpp-blockcodecs PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/stream.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/blockcodecs/codecs/brotli/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..908fc0c444
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.darwin.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(blockcodecs-codecs-brotli INTERFACE)
+target_link_libraries(blockcodecs-codecs-brotli INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ libs-brotli-enc
+ libs-brotli-dec
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-brotli.global blockcodecs-codecs-brotli)
+target_link_libraries(blockcodecs-codecs-brotli.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ libs-brotli-enc
+ libs-brotli-dec
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-brotli.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/brotli/brotli.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..38d4a7598e
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.linux-aarch64.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(blockcodecs-codecs-brotli INTERFACE)
+target_link_libraries(blockcodecs-codecs-brotli INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ libs-brotli-enc
+ libs-brotli-dec
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-brotli.global blockcodecs-codecs-brotli)
+target_link_libraries(blockcodecs-codecs-brotli.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ libs-brotli-enc
+ libs-brotli-dec
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-brotli.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/brotli/brotli.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.linux.txt
new file mode 100644
index 0000000000..38d4a7598e
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/brotli/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(blockcodecs-codecs-brotli INTERFACE)
+target_link_libraries(blockcodecs-codecs-brotli INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ libs-brotli-enc
+ libs-brotli-dec
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-brotli.global blockcodecs-codecs-brotli)
+target_link_libraries(blockcodecs-codecs-brotli.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ libs-brotli-enc
+ libs-brotli-dec
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-brotli.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/brotli/brotli.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt
index 908fc0c444..3e0811fb22 100644
--- a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt
+++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt
@@ -6,24 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(blockcodecs-codecs-brotli INTERFACE)
-target_link_libraries(blockcodecs-codecs-brotli INTERFACE
- contrib-libs-cxxsupp
- yutil
- libs-brotli-enc
- libs-brotli-dec
- cpp-blockcodecs-core
-)
-
-add_global_library_for(blockcodecs-codecs-brotli.global blockcodecs-codecs-brotli)
-target_link_libraries(blockcodecs-codecs-brotli.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- libs-brotli-enc
- libs-brotli-dec
- cpp-blockcodecs-core
-)
-target_sources(blockcodecs-codecs-brotli.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/brotli/brotli.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/blockcodecs/codecs/bzip/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..0dfce1c69c
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/bzip/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_library(blockcodecs-codecs-bzip INTERFACE)
+target_link_libraries(blockcodecs-codecs-bzip INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libbz2
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-bzip.global blockcodecs-codecs-bzip)
+target_link_libraries(blockcodecs-codecs-bzip.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libbz2
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-bzip.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/bzip/bzip.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..6ac7c4bd30
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.linux-aarch64.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(blockcodecs-codecs-bzip INTERFACE)
+target_link_libraries(blockcodecs-codecs-bzip INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libbz2
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-bzip.global blockcodecs-codecs-bzip)
+target_link_libraries(blockcodecs-codecs-bzip.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libbz2
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-bzip.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/bzip/bzip.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.linux.txt
new file mode 100644
index 0000000000..6ac7c4bd30
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/bzip/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(blockcodecs-codecs-bzip INTERFACE)
+target_link_libraries(blockcodecs-codecs-bzip INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libbz2
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-bzip.global blockcodecs-codecs-bzip)
+target_link_libraries(blockcodecs-codecs-bzip.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libbz2
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-bzip.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/bzip/bzip.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt
index 0dfce1c69c..3e0811fb22 100644
--- a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt
+++ b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt
@@ -6,22 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(blockcodecs-codecs-bzip INTERFACE)
-target_link_libraries(blockcodecs-codecs-bzip INTERFACE
- contrib-libs-cxxsupp
- yutil
- contrib-libs-libbz2
- cpp-blockcodecs-core
-)
-
-add_global_library_for(blockcodecs-codecs-bzip.global blockcodecs-codecs-bzip)
-target_link_libraries(blockcodecs-codecs-bzip.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-libbz2
- cpp-blockcodecs-core
-)
-target_sources(blockcodecs-codecs-bzip.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/bzip/bzip.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/blockcodecs/codecs/fastlz/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..42d960fe08
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/fastlz/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_library(blockcodecs-codecs-fastlz INTERFACE)
+target_link_libraries(blockcodecs-codecs-fastlz INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-fastlz
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-fastlz.global blockcodecs-codecs-fastlz)
+target_link_libraries(blockcodecs-codecs-fastlz.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-fastlz
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-fastlz.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..7adf3fc267
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.linux-aarch64.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(blockcodecs-codecs-fastlz INTERFACE)
+target_link_libraries(blockcodecs-codecs-fastlz INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-fastlz
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-fastlz.global blockcodecs-codecs-fastlz)
+target_link_libraries(blockcodecs-codecs-fastlz.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-fastlz
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-fastlz.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.linux.txt
new file mode 100644
index 0000000000..7adf3fc267
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/fastlz/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(blockcodecs-codecs-fastlz INTERFACE)
+target_link_libraries(blockcodecs-codecs-fastlz INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-fastlz
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-fastlz.global blockcodecs-codecs-fastlz)
+target_link_libraries(blockcodecs-codecs-fastlz.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-fastlz
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-fastlz.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt
index 42d960fe08..3e0811fb22 100644
--- a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt
+++ b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt
@@ -6,22 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(blockcodecs-codecs-fastlz INTERFACE)
-target_link_libraries(blockcodecs-codecs-fastlz INTERFACE
- contrib-libs-cxxsupp
- yutil
- contrib-libs-fastlz
- cpp-blockcodecs-core
-)
-
-add_global_library_for(blockcodecs-codecs-fastlz.global blockcodecs-codecs-fastlz)
-target_link_libraries(blockcodecs-codecs-fastlz.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-fastlz
- cpp-blockcodecs-core
-)
-target_sources(blockcodecs-codecs-fastlz.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/fastlz/fastlz.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/blockcodecs/codecs/legacy_zstd06/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..783efe8d80
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/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_library(blockcodecs-codecs-legacy_zstd06 INTERFACE)
+target_link_libraries(blockcodecs-codecs-legacy_zstd06 INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd06
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-legacy_zstd06.global blockcodecs-codecs-legacy_zstd06)
+target_link_libraries(blockcodecs-codecs-legacy_zstd06.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd06
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-legacy_zstd06.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..9964ee703c
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.linux-aarch64.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(blockcodecs-codecs-legacy_zstd06 INTERFACE)
+target_link_libraries(blockcodecs-codecs-legacy_zstd06 INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd06
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-legacy_zstd06.global blockcodecs-codecs-legacy_zstd06)
+target_link_libraries(blockcodecs-codecs-legacy_zstd06.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd06
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-legacy_zstd06.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.linux.txt
new file mode 100644
index 0000000000..9964ee703c
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/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(blockcodecs-codecs-legacy_zstd06 INTERFACE)
+target_link_libraries(blockcodecs-codecs-legacy_zstd06 INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd06
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-legacy_zstd06.global blockcodecs-codecs-legacy_zstd06)
+target_link_libraries(blockcodecs-codecs-legacy_zstd06.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd06
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-legacy_zstd06.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt
index 783efe8d80..3e0811fb22 100644
--- a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt
+++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt
@@ -6,22 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(blockcodecs-codecs-legacy_zstd06 INTERFACE)
-target_link_libraries(blockcodecs-codecs-legacy_zstd06 INTERFACE
- contrib-libs-cxxsupp
- yutil
- contrib-libs-zstd06
- cpp-blockcodecs-core
-)
-
-add_global_library_for(blockcodecs-codecs-legacy_zstd06.global blockcodecs-codecs-legacy_zstd06)
-target_link_libraries(blockcodecs-codecs-legacy_zstd06.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-zstd06
- cpp-blockcodecs-core
-)
-target_sources(blockcodecs-codecs-legacy_zstd06.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.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/blockcodecs/codecs/lz4/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..3f0a426090
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/lz4/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_library(blockcodecs-codecs-lz4 INTERFACE)
+target_link_libraries(blockcodecs-codecs-lz4 INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lz4
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-lz4.global blockcodecs-codecs-lz4)
+target_link_libraries(blockcodecs-codecs-lz4.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lz4
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-lz4.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lz4/lz4.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b85eb25074
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.linux-aarch64.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(blockcodecs-codecs-lz4 INTERFACE)
+target_link_libraries(blockcodecs-codecs-lz4 INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lz4
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-lz4.global blockcodecs-codecs-lz4)
+target_link_libraries(blockcodecs-codecs-lz4.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lz4
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-lz4.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lz4/lz4.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b85eb25074
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/lz4/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(blockcodecs-codecs-lz4 INTERFACE)
+target_link_libraries(blockcodecs-codecs-lz4 INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lz4
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-lz4.global blockcodecs-codecs-lz4)
+target_link_libraries(blockcodecs-codecs-lz4.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lz4
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-lz4.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lz4/lz4.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt
index 3f0a426090..3e0811fb22 100644
--- a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt
+++ b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt
@@ -6,22 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(blockcodecs-codecs-lz4 INTERFACE)
-target_link_libraries(blockcodecs-codecs-lz4 INTERFACE
- contrib-libs-cxxsupp
- yutil
- contrib-libs-lz4
- cpp-blockcodecs-core
-)
-
-add_global_library_for(blockcodecs-codecs-lz4.global blockcodecs-codecs-lz4)
-target_link_libraries(blockcodecs-codecs-lz4.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-lz4
- cpp-blockcodecs-core
-)
-target_sources(blockcodecs-codecs-lz4.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lz4/lz4.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/blockcodecs/codecs/lzma/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..3a7415f5de
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/lzma/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_library(blockcodecs-codecs-lzma INTERFACE)
+target_link_libraries(blockcodecs-codecs-lzma INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lzmasdk
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma)
+target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lzmasdk
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-lzma.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lzma/lzma.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..68f881690d
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.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(blockcodecs-codecs-lzma INTERFACE)
+target_link_libraries(blockcodecs-codecs-lzma INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lzmasdk
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma)
+target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lzmasdk
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-lzma.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lzma/lzma.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux.txt
new file mode 100644
index 0000000000..68f881690d
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/lzma/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(blockcodecs-codecs-lzma INTERFACE)
+target_link_libraries(blockcodecs-codecs-lzma INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lzmasdk
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma)
+target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lzmasdk
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-lzma.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lzma/lzma.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt
index 3a7415f5de..3e0811fb22 100644
--- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt
+++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt
@@ -6,22 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(blockcodecs-codecs-lzma INTERFACE)
-target_link_libraries(blockcodecs-codecs-lzma INTERFACE
- contrib-libs-cxxsupp
- yutil
- contrib-libs-lzmasdk
- cpp-blockcodecs-core
-)
-
-add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma)
-target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-lzmasdk
- cpp-blockcodecs-core
-)
-target_sources(blockcodecs-codecs-lzma.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lzma/lzma.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/blockcodecs/codecs/snappy/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..4da098e001
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/snappy/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_library(blockcodecs-codecs-snappy INTERFACE)
+target_link_libraries(blockcodecs-codecs-snappy INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-snappy
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-snappy.global blockcodecs-codecs-snappy)
+target_link_libraries(blockcodecs-codecs-snappy.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-snappy
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-snappy.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/snappy/snappy.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..dd1befc31b
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.linux-aarch64.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(blockcodecs-codecs-snappy INTERFACE)
+target_link_libraries(blockcodecs-codecs-snappy INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-snappy
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-snappy.global blockcodecs-codecs-snappy)
+target_link_libraries(blockcodecs-codecs-snappy.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-snappy
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-snappy.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/snappy/snappy.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.linux.txt
new file mode 100644
index 0000000000..dd1befc31b
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/snappy/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(blockcodecs-codecs-snappy INTERFACE)
+target_link_libraries(blockcodecs-codecs-snappy INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-snappy
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-snappy.global blockcodecs-codecs-snappy)
+target_link_libraries(blockcodecs-codecs-snappy.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-snappy
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-snappy.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/snappy/snappy.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt
index 4da098e001..3e0811fb22 100644
--- a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt
+++ b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt
@@ -6,22 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(blockcodecs-codecs-snappy INTERFACE)
-target_link_libraries(blockcodecs-codecs-snappy INTERFACE
- contrib-libs-cxxsupp
- yutil
- contrib-libs-snappy
- cpp-blockcodecs-core
-)
-
-add_global_library_for(blockcodecs-codecs-snappy.global blockcodecs-codecs-snappy)
-target_link_libraries(blockcodecs-codecs-snappy.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-snappy
- cpp-blockcodecs-core
-)
-target_sources(blockcodecs-codecs-snappy.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/snappy/snappy.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/blockcodecs/codecs/zlib/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..49742a0aa9
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.darwin.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.
+
+
+find_package(ZLIB REQUIRED)
+
+add_library(blockcodecs-codecs-zlib INTERFACE)
+target_link_libraries(blockcodecs-codecs-zlib INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ ZLIB::ZLIB
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-zlib.global blockcodecs-codecs-zlib)
+target_link_libraries(blockcodecs-codecs-zlib.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ ZLIB::ZLIB
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-zlib.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zlib/zlib.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..1ed2ce0103
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.linux-aarch64.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.
+
+
+find_package(ZLIB REQUIRED)
+
+add_library(blockcodecs-codecs-zlib INTERFACE)
+target_link_libraries(blockcodecs-codecs-zlib INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ ZLIB::ZLIB
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-zlib.global blockcodecs-codecs-zlib)
+target_link_libraries(blockcodecs-codecs-zlib.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ ZLIB::ZLIB
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-zlib.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zlib/zlib.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.linux.txt
new file mode 100644
index 0000000000..1ed2ce0103
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/zlib/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.
+
+
+find_package(ZLIB REQUIRED)
+
+add_library(blockcodecs-codecs-zlib INTERFACE)
+target_link_libraries(blockcodecs-codecs-zlib INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ ZLIB::ZLIB
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-zlib.global blockcodecs-codecs-zlib)
+target_link_libraries(blockcodecs-codecs-zlib.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ ZLIB::ZLIB
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-zlib.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zlib/zlib.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt
index 49742a0aa9..3e0811fb22 100644
--- a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt
+++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt
@@ -6,23 +6,10 @@
# original buildsystem will not be accepted.
-find_package(ZLIB REQUIRED)
-
-add_library(blockcodecs-codecs-zlib INTERFACE)
-target_link_libraries(blockcodecs-codecs-zlib INTERFACE
- contrib-libs-cxxsupp
- yutil
- ZLIB::ZLIB
- cpp-blockcodecs-core
-)
-
-add_global_library_for(blockcodecs-codecs-zlib.global blockcodecs-codecs-zlib)
-target_link_libraries(blockcodecs-codecs-zlib.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- ZLIB::ZLIB
- cpp-blockcodecs-core
-)
-target_sources(blockcodecs-codecs-zlib.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zlib/zlib.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/blockcodecs/codecs/zstd/CMakeLists.darwin.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..353bd285e4
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/zstd/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_library(blockcodecs-codecs-zstd INTERFACE)
+target_link_libraries(blockcodecs-codecs-zstd INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-zstd.global blockcodecs-codecs-zstd)
+target_link_libraries(blockcodecs-codecs-zstd.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-zstd.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zstd/zstd.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ed2bef4ac5
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.linux-aarch64.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(blockcodecs-codecs-zstd INTERFACE)
+target_link_libraries(blockcodecs-codecs-zstd INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-zstd.global blockcodecs-codecs-zstd)
+target_link_libraries(blockcodecs-codecs-zstd.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-zstd.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zstd/zstd.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.linux.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ed2bef4ac5
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/zstd/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(blockcodecs-codecs-zstd INTERFACE)
+target_link_libraries(blockcodecs-codecs-zstd INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-zstd.global blockcodecs-codecs-zstd)
+target_link_libraries(blockcodecs-codecs-zstd.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd
+ cpp-blockcodecs-core
+)
+target_sources(blockcodecs-codecs-zstd.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zstd/zstd.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt
index 353bd285e4..3e0811fb22 100644
--- a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt
+++ b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt
@@ -6,22 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(blockcodecs-codecs-zstd INTERFACE)
-target_link_libraries(blockcodecs-codecs-zstd INTERFACE
- contrib-libs-cxxsupp
- yutil
- contrib-libs-zstd
- cpp-blockcodecs-core
-)
-
-add_global_library_for(blockcodecs-codecs-zstd.global blockcodecs-codecs-zstd)
-target_link_libraries(blockcodecs-codecs-zstd.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-zstd
- cpp-blockcodecs-core
-)
-target_sources(blockcodecs-codecs-zstd.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zstd/zstd.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/blockcodecs/core/CMakeLists.darwin.txt b/library/cpp/blockcodecs/core/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..e52f16b776
--- /dev/null
+++ b/library/cpp/blockcodecs/core/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-blockcodecs-core)
+target_link_libraries(cpp-blockcodecs-core PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-blockcodecs-core PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/core/codecs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/core/stream.cpp
+)
diff --git a/library/cpp/blockcodecs/core/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/core/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..0fbd0b6ae5
--- /dev/null
+++ b/library/cpp/blockcodecs/core/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-blockcodecs-core)
+target_link_libraries(cpp-blockcodecs-core PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-blockcodecs-core PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/core/codecs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/core/stream.cpp
+)
diff --git a/library/cpp/blockcodecs/core/CMakeLists.linux.txt b/library/cpp/blockcodecs/core/CMakeLists.linux.txt
new file mode 100644
index 0000000000..0fbd0b6ae5
--- /dev/null
+++ b/library/cpp/blockcodecs/core/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-blockcodecs-core)
+target_link_libraries(cpp-blockcodecs-core PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-blockcodecs-core PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/core/codecs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/core/stream.cpp
+)
diff --git a/library/cpp/blockcodecs/core/CMakeLists.txt b/library/cpp/blockcodecs/core/CMakeLists.txt
index e52f16b776..3e0811fb22 100644
--- a/library/cpp/blockcodecs/core/CMakeLists.txt
+++ b/library/cpp/blockcodecs/core/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-blockcodecs-core)
-target_link_libraries(cpp-blockcodecs-core PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-blockcodecs-core PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/core/codecs.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/core/stream.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()