aboutsummaryrefslogtreecommitdiffstats
path: root/library
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
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'library')
-rw-r--r--library/cpp/accurate_accumulate/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/accurate_accumulate/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/accurate_accumulate/CMakeLists.linux.txt18
-rw-r--r--library/cpp/accurate_accumulate/CMakeLists.txt16
-rw-r--r--library/cpp/actors/core/CMakeLists.darwin.txt74
-rw-r--r--library/cpp/actors/core/CMakeLists.linux-aarch64.txt75
-rw-r--r--library/cpp/actors/core/CMakeLists.linux.txt75
-rw-r--r--library/cpp/actors/core/CMakeLists.txt73
-rw-r--r--library/cpp/actors/dnscachelib/CMakeLists.darwin.txt22
-rw-r--r--library/cpp/actors/dnscachelib/CMakeLists.linux-aarch64.txt23
-rw-r--r--library/cpp/actors/dnscachelib/CMakeLists.linux.txt23
-rw-r--r--library/cpp/actors/dnscachelib/CMakeLists.txt21
-rw-r--r--library/cpp/actors/dnsresolver/CMakeLists.darwin.txt25
-rw-r--r--library/cpp/actors/dnsresolver/CMakeLists.linux-aarch64.txt26
-rw-r--r--library/cpp/actors/dnsresolver/CMakeLists.linux.txt26
-rw-r--r--library/cpp/actors/dnsresolver/CMakeLists.txt24
-rw-r--r--library/cpp/actors/helpers/CMakeLists.darwin.txt21
-rw-r--r--library/cpp/actors/helpers/CMakeLists.linux-aarch64.txt22
-rw-r--r--library/cpp/actors/helpers/CMakeLists.linux.txt22
-rw-r--r--library/cpp/actors/helpers/CMakeLists.txt20
-rw-r--r--library/cpp/actors/http/CMakeLists.darwin.txt33
-rw-r--r--library/cpp/actors/http/CMakeLists.linux-aarch64.txt34
-rw-r--r--library/cpp/actors/http/CMakeLists.linux.txt34
-rw-r--r--library/cpp/actors/http/CMakeLists.txt32
-rw-r--r--library/cpp/actors/interconnect/CMakeLists.linux-aarch64.txt1
-rw-r--r--library/cpp/actors/interconnect/CMakeLists.linux.txt1
-rw-r--r--library/cpp/actors/interconnect/mock/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/actors/interconnect/mock/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/actors/interconnect/mock/CMakeLists.linux.txt19
-rw-r--r--library/cpp/actors/interconnect/mock/CMakeLists.txt17
-rw-r--r--library/cpp/actors/memory_log/CMakeLists.darwin.txt21
-rw-r--r--library/cpp/actors/memory_log/CMakeLists.linux-aarch64.txt22
-rw-r--r--library/cpp/actors/memory_log/CMakeLists.linux.txt22
-rw-r--r--library/cpp/actors/memory_log/CMakeLists.txt20
-rw-r--r--library/cpp/actors/prof/CMakeLists.darwin.txt21
-rw-r--r--library/cpp/actors/prof/CMakeLists.linux-aarch64.txt22
-rw-r--r--library/cpp/actors/prof/CMakeLists.linux.txt22
-rw-r--r--library/cpp/actors/prof/CMakeLists.txt20
-rw-r--r--library/cpp/actors/protos/CMakeLists.darwin.txt34
-rw-r--r--library/cpp/actors/protos/CMakeLists.linux-aarch64.txt35
-rw-r--r--library/cpp/actors/protos/CMakeLists.linux.txt35
-rw-r--r--library/cpp/actors/protos/CMakeLists.txt33
-rw-r--r--library/cpp/actors/testlib/CMakeLists.darwin.txt22
-rw-r--r--library/cpp/actors/testlib/CMakeLists.linux-aarch64.txt23
-rw-r--r--library/cpp/actors/testlib/CMakeLists.linux.txt23
-rw-r--r--library/cpp/actors/testlib/CMakeLists.txt21
-rw-r--r--library/cpp/actors/util/CMakeLists.darwin.txt24
-rw-r--r--library/cpp/actors/util/CMakeLists.linux-aarch64.txt25
-rw-r--r--library/cpp/actors/util/CMakeLists.linux.txt25
-rw-r--r--library/cpp/actors/util/CMakeLists.txt23
-rw-r--r--library/cpp/actors/wilson/CMakeLists.darwin.txt25
-rw-r--r--library/cpp/actors/wilson/CMakeLists.linux-aarch64.txt26
-rw-r--r--library/cpp/actors/wilson/CMakeLists.linux.txt26
-rw-r--r--library/cpp/actors/wilson/CMakeLists.txt24
-rw-r--r--library/cpp/actors/wilson/protos/CMakeLists.darwin.txt42
-rw-r--r--library/cpp/actors/wilson/protos/CMakeLists.linux-aarch64.txt43
-rw-r--r--library/cpp/actors/wilson/protos/CMakeLists.linux.txt43
-rw-r--r--library/cpp/actors/wilson/protos/CMakeLists.txt41
-rw-r--r--library/cpp/archive/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/archive/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/archive/CMakeLists.linux.txt19
-rw-r--r--library/cpp/archive/CMakeLists.txt17
-rw-r--r--library/cpp/balloc/CMakeLists.darwin.txt23
-rw-r--r--library/cpp/balloc/CMakeLists.linux-aarch64.txt24
-rw-r--r--library/cpp/balloc/CMakeLists.linux.txt24
-rw-r--r--library/cpp/balloc/CMakeLists.txt22
-rw-r--r--library/cpp/balloc/lib/CMakeLists.linux-aarch64.txt1
-rw-r--r--library/cpp/balloc/lib/CMakeLists.linux.txt1
-rw-r--r--library/cpp/balloc/setup/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/balloc/setup/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/balloc/setup/CMakeLists.linux.txt18
-rw-r--r--library/cpp/balloc/setup/CMakeLists.txt16
-rw-r--r--library/cpp/binsaver/CMakeLists.darwin.txt22
-rw-r--r--library/cpp/binsaver/CMakeLists.linux-aarch64.txt23
-rw-r--r--library/cpp/binsaver/CMakeLists.linux.txt23
-rw-r--r--library/cpp/binsaver/CMakeLists.txt21
-rw-r--r--library/cpp/bit_io/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/bit_io/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/bit_io/CMakeLists.linux.txt21
-rw-r--r--library/cpp/bit_io/CMakeLists.txt19
-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
-rw-r--r--library/cpp/bucket_quoter/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/bucket_quoter/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/bucket_quoter/CMakeLists.linux.txt19
-rw-r--r--library/cpp/bucket_quoter/CMakeLists.txt17
-rw-r--r--library/cpp/build_info/CMakeLists.darwin.txt57
-rw-r--r--library/cpp/build_info/CMakeLists.linux-aarch64.txt58
-rw-r--r--library/cpp/build_info/CMakeLists.linux.txt58
-rw-r--r--library/cpp/build_info/CMakeLists.txt56
-rw-r--r--library/cpp/cache/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/cache/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/cache/CMakeLists.linux.txt19
-rw-r--r--library/cpp/cache/CMakeLists.txt17
-rw-r--r--library/cpp/case_insensitive_string/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/case_insensitive_string/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/case_insensitive_string/CMakeLists.linux.txt21
-rw-r--r--library/cpp/case_insensitive_string/CMakeLists.txt19
-rw-r--r--library/cpp/cgiparam/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/cgiparam/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/cgiparam/CMakeLists.linux.txt21
-rw-r--r--library/cpp/cgiparam/CMakeLists.txt19
-rw-r--r--library/cpp/charset/CMakeLists.darwin.txt26
-rw-r--r--library/cpp/charset/CMakeLists.linux-aarch64.txt27
-rw-r--r--library/cpp/charset/CMakeLists.linux.txt27
-rw-r--r--library/cpp/charset/CMakeLists.txt25
-rw-r--r--library/cpp/codecs/CMakeLists.darwin.txt36
-rw-r--r--library/cpp/codecs/CMakeLists.linux-aarch64.txt37
-rw-r--r--library/cpp/codecs/CMakeLists.linux.txt37
-rw-r--r--library/cpp/codecs/CMakeLists.txt35
-rw-r--r--library/cpp/codecs/greedy_dict/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/codecs/greedy_dict/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/codecs/greedy_dict/CMakeLists.linux.txt21
-rw-r--r--library/cpp/codecs/greedy_dict/CMakeLists.txt19
-rw-r--r--library/cpp/colorizer/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/colorizer/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/colorizer/CMakeLists.linux.txt19
-rw-r--r--library/cpp/colorizer/CMakeLists.txt17
-rw-r--r--library/cpp/compproto/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/compproto/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/compproto/CMakeLists.linux.txt18
-rw-r--r--library/cpp/compproto/CMakeLists.txt16
-rw-r--r--library/cpp/comptable/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/comptable/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/comptable/CMakeLists.linux.txt19
-rw-r--r--library/cpp/comptable/CMakeLists.txt17
-rw-r--r--library/cpp/config/CMakeLists.darwin.txt49
-rw-r--r--library/cpp/config/CMakeLists.linux-aarch64.txt50
-rw-r--r--library/cpp/config/CMakeLists.linux.txt50
-rw-r--r--library/cpp/config/CMakeLists.txt48
-rw-r--r--library/cpp/containers/2d_array/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/2d_array/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/2d_array/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/2d_array/CMakeLists.txt16
-rw-r--r--library/cpp/containers/absl_flat_hash/CMakeLists.darwin.txt22
-rw-r--r--library/cpp/containers/absl_flat_hash/CMakeLists.linux-aarch64.txt23
-rw-r--r--library/cpp/containers/absl_flat_hash/CMakeLists.linux.txt23
-rw-r--r--library/cpp/containers/absl_flat_hash/CMakeLists.txt21
-rw-r--r--library/cpp/containers/atomizer/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/containers/atomizer/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/containers/atomizer/CMakeLists.linux.txt19
-rw-r--r--library/cpp/containers/atomizer/CMakeLists.txt17
-rw-r--r--library/cpp/containers/bitseq/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/containers/bitseq/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/containers/bitseq/CMakeLists.linux.txt21
-rw-r--r--library/cpp/containers/bitseq/CMakeLists.txt19
-rw-r--r--library/cpp/containers/compact_vector/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/compact_vector/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/compact_vector/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/compact_vector/CMakeLists.txt16
-rw-r--r--library/cpp/containers/comptrie/CMakeLists.darwin.txt31
-rw-r--r--library/cpp/containers/comptrie/CMakeLists.linux-aarch64.txt32
-rw-r--r--library/cpp/containers/comptrie/CMakeLists.linux.txt32
-rw-r--r--library/cpp/containers/comptrie/CMakeLists.txt30
-rw-r--r--library/cpp/containers/disjoint_interval_tree/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/disjoint_interval_tree/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/disjoint_interval_tree/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/disjoint_interval_tree/CMakeLists.txt16
-rw-r--r--library/cpp/containers/flat_hash/CMakeLists.darwin.txt30
-rw-r--r--library/cpp/containers/flat_hash/CMakeLists.linux-aarch64.txt31
-rw-r--r--library/cpp/containers/flat_hash/CMakeLists.linux.txt31
-rw-r--r--library/cpp/containers/flat_hash/CMakeLists.txt29
-rw-r--r--library/cpp/containers/intrusive_avl_tree/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/intrusive_avl_tree/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/intrusive_avl_tree/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/intrusive_avl_tree/CMakeLists.txt16
-rw-r--r--library/cpp/containers/intrusive_rb_tree/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/intrusive_rb_tree/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/intrusive_rb_tree/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/intrusive_rb_tree/CMakeLists.txt16
-rw-r--r--library/cpp/containers/paged_vector/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/paged_vector/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/paged_vector/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/paged_vector/CMakeLists.txt16
-rw-r--r--library/cpp/containers/ring_buffer/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/ring_buffer/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/ring_buffer/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/ring_buffer/CMakeLists.txt16
-rw-r--r--library/cpp/containers/sorted_vector/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/sorted_vector/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/sorted_vector/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/sorted_vector/CMakeLists.txt16
-rw-r--r--library/cpp/containers/stack_array/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/containers/stack_array/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/containers/stack_array/CMakeLists.linux.txt19
-rw-r--r--library/cpp/containers/stack_array/CMakeLists.txt17
-rw-r--r--library/cpp/containers/stack_vector/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/stack_vector/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/stack_vector/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/stack_vector/CMakeLists.txt16
-rw-r--r--library/cpp/containers/str_map/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/str_map/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/str_map/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/str_map/CMakeLists.txt16
-rw-r--r--library/cpp/containers/top_keeper/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/containers/top_keeper/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/containers/top_keeper/CMakeLists.linux.txt18
-rw-r--r--library/cpp/containers/top_keeper/CMakeLists.txt16
-rw-r--r--library/cpp/coroutine/engine/CMakeLists.darwin.txt43
-rw-r--r--library/cpp/coroutine/engine/CMakeLists.linux-aarch64.txt44
-rw-r--r--library/cpp/coroutine/engine/CMakeLists.linux.txt44
-rw-r--r--library/cpp/coroutine/engine/CMakeLists.txt42
-rw-r--r--library/cpp/coroutine/listener/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/coroutine/listener/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/coroutine/listener/CMakeLists.linux.txt19
-rw-r--r--library/cpp/coroutine/listener/CMakeLists.txt17
-rw-r--r--library/cpp/cppparser/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/cppparser/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/cppparser/CMakeLists.linux.txt18
-rw-r--r--library/cpp/cppparser/CMakeLists.txt16
-rw-r--r--library/cpp/cpuid_check/CMakeLists.linux.txt2
-rw-r--r--library/cpp/dbg_output/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/dbg_output/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/dbg_output/CMakeLists.linux.txt21
-rw-r--r--library/cpp/dbg_output/CMakeLists.txt19
-rw-r--r--library/cpp/deprecated/accessors/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/deprecated/accessors/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/deprecated/accessors/CMakeLists.linux.txt20
-rw-r--r--library/cpp/deprecated/accessors/CMakeLists.txt18
-rw-r--r--library/cpp/deprecated/atomic/CMakeLists.darwin.txt14
-rw-r--r--library/cpp/deprecated/atomic/CMakeLists.linux-aarch64.txt15
-rw-r--r--library/cpp/deprecated/atomic/CMakeLists.linux.txt15
-rw-r--r--library/cpp/deprecated/atomic/CMakeLists.txt13
-rw-r--r--library/cpp/deprecated/enum_codegen/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/deprecated/enum_codegen/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/deprecated/enum_codegen/CMakeLists.linux.txt18
-rw-r--r--library/cpp/deprecated/enum_codegen/CMakeLists.txt16
-rw-r--r--library/cpp/deprecated/kmp/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/deprecated/kmp/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/deprecated/kmp/CMakeLists.linux.txt18
-rw-r--r--library/cpp/deprecated/kmp/CMakeLists.txt16
-rw-r--r--library/cpp/deprecated/split/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/deprecated/split/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/deprecated/split/CMakeLists.linux.txt20
-rw-r--r--library/cpp/deprecated/split/CMakeLists.txt18
-rw-r--r--library/cpp/diff/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/diff/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/diff/CMakeLists.linux.txt20
-rw-r--r--library/cpp/diff/CMakeLists.txt18
-rw-r--r--library/cpp/digest/argonish/CMakeLists.linux-aarch64.txt1
-rw-r--r--library/cpp/digest/argonish/CMakeLists.linux.txt1
-rw-r--r--library/cpp/digest/argonish/internal/argon2/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/digest/argonish/internal/argon2/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/digest/argonish/internal/argon2/CMakeLists.linux.txt18
-rw-r--r--library/cpp/digest/argonish/internal/argon2/CMakeLists.txt16
-rw-r--r--library/cpp/digest/argonish/internal/blake2b/CMakeLists.darwin.txt15
-rw-r--r--library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux-aarch64.txt16
-rw-r--r--library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux.txt16
-rw-r--r--library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt14
-rw-r--r--library/cpp/digest/argonish/internal/blamka/CMakeLists.darwin.txt15
-rw-r--r--library/cpp/digest/argonish/internal/blamka/CMakeLists.linux-aarch64.txt16
-rw-r--r--library/cpp/digest/argonish/internal/blamka/CMakeLists.linux.txt16
-rw-r--r--library/cpp/digest/argonish/internal/blamka/CMakeLists.txt14
-rw-r--r--library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.linux.txt1
-rw-r--r--library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.darwin.txt14
-rw-r--r--library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux-aarch64.txt15
-rw-r--r--library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux.txt15
-rw-r--r--library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt13
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux.txt20
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt18
-rw-r--r--library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.linux.txt1
-rw-r--r--library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.linux.txt1
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.linux.txt1
-rw-r--r--library/cpp/digest/argonish/internal/rotations/CMakeLists.darwin.txt14
-rw-r--r--library/cpp/digest/argonish/internal/rotations/CMakeLists.linux-aarch64.txt15
-rw-r--r--library/cpp/digest/argonish/internal/rotations/CMakeLists.linux.txt15
-rw-r--r--library/cpp/digest/argonish/internal/rotations/CMakeLists.txt13
-rw-r--r--library/cpp/digest/crc32c/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/digest/crc32c/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/digest/crc32c/CMakeLists.linux.txt19
-rw-r--r--library/cpp/digest/crc32c/CMakeLists.txt17
-rw-r--r--library/cpp/digest/lower_case/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/digest/lower_case/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/digest/lower_case/CMakeLists.linux.txt20
-rw-r--r--library/cpp/digest/lower_case/CMakeLists.txt18
-rw-r--r--library/cpp/digest/md5/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/digest/md5/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/digest/md5/CMakeLists.linux.txt20
-rw-r--r--library/cpp/digest/md5/CMakeLists.txt18
-rw-r--r--library/cpp/digest/murmur/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/digest/murmur/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/digest/murmur/CMakeLists.linux.txt18
-rw-r--r--library/cpp/digest/murmur/CMakeLists.txt16
-rw-r--r--library/cpp/digest/old_crc/CMakeLists.darwin.txt29
-rw-r--r--library/cpp/digest/old_crc/CMakeLists.linux-aarch64.txt30
-rw-r--r--library/cpp/digest/old_crc/CMakeLists.linux.txt30
-rw-r--r--library/cpp/digest/old_crc/CMakeLists.txt28
-rw-r--r--library/cpp/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt1
-rw-r--r--library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt1
-rw-r--r--library/cpp/digest/sfh/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/digest/sfh/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/digest/sfh/CMakeLists.linux.txt18
-rw-r--r--library/cpp/digest/sfh/CMakeLists.txt16
-rw-r--r--library/cpp/dns/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/dns/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/dns/CMakeLists.linux.txt20
-rw-r--r--library/cpp/dns/CMakeLists.txt18
-rw-r--r--library/cpp/enumbitset/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/enumbitset/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/enumbitset/CMakeLists.linux.txt18
-rw-r--r--library/cpp/enumbitset/CMakeLists.txt16
-rw-r--r--library/cpp/execprofile/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/execprofile/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/execprofile/CMakeLists.linux.txt19
-rw-r--r--library/cpp/execprofile/CMakeLists.txt17
-rw-r--r--library/cpp/getopt/CMakeLists.darwin.txt30
-rw-r--r--library/cpp/getopt/CMakeLists.linux-aarch64.txt32
-rw-r--r--library/cpp/getopt/CMakeLists.linux.txt32
-rw-r--r--library/cpp/getopt/CMakeLists.txt29
-rw-r--r--library/cpp/getopt/small/CMakeLists.darwin.txt33
-rw-r--r--library/cpp/getopt/small/CMakeLists.linux-aarch64.txt34
-rw-r--r--library/cpp/getopt/small/CMakeLists.linux.txt34
-rw-r--r--library/cpp/getopt/small/CMakeLists.txt32
-rw-r--r--library/cpp/grpc/client/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/grpc/client/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/grpc/client/CMakeLists.linux.txt20
-rw-r--r--library/cpp/grpc/client/CMakeLists.txt18
-rw-r--r--library/cpp/grpc/server/CMakeLists.darwin.txt29
-rw-r--r--library/cpp/grpc/server/CMakeLists.linux-aarch64.txt30
-rw-r--r--library/cpp/grpc/server/CMakeLists.linux.txt30
-rw-r--r--library/cpp/grpc/server/CMakeLists.txt28
-rw-r--r--library/cpp/grpc/server/actors/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/grpc/server/actors/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/grpc/server/actors/CMakeLists.linux.txt19
-rw-r--r--library/cpp/grpc/server/actors/CMakeLists.txt17
-rw-r--r--library/cpp/histogram/adaptive/CMakeLists.darwin.txt23
-rw-r--r--library/cpp/histogram/adaptive/CMakeLists.linux-aarch64.txt24
-rw-r--r--library/cpp/histogram/adaptive/CMakeLists.linux.txt24
-rw-r--r--library/cpp/histogram/adaptive/CMakeLists.txt22
-rw-r--r--library/cpp/histogram/adaptive/protos/CMakeLists.darwin.txt31
-rw-r--r--library/cpp/histogram/adaptive/protos/CMakeLists.linux-aarch64.txt32
-rw-r--r--library/cpp/histogram/adaptive/protos/CMakeLists.linux.txt32
-rw-r--r--library/cpp/histogram/adaptive/protos/CMakeLists.txt30
-rw-r--r--library/cpp/histogram/hdr/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/histogram/hdr/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/histogram/hdr/CMakeLists.linux.txt20
-rw-r--r--library/cpp/histogram/hdr/CMakeLists.txt18
-rw-r--r--library/cpp/html/escape/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/html/escape/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/html/escape/CMakeLists.linux.txt18
-rw-r--r--library/cpp/html/escape/CMakeLists.txt16
-rw-r--r--library/cpp/html/pcdata/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/html/pcdata/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/html/pcdata/CMakeLists.linux.txt18
-rw-r--r--library/cpp/html/pcdata/CMakeLists.txt16
-rw-r--r--library/cpp/http/fetch/CMakeLists.darwin.txt40
-rw-r--r--library/cpp/http/fetch/CMakeLists.linux-aarch64.txt41
-rw-r--r--library/cpp/http/fetch/CMakeLists.linux.txt41
-rw-r--r--library/cpp/http/fetch/CMakeLists.txt39
-rw-r--r--library/cpp/http/io/CMakeLists.darwin.txt24
-rw-r--r--library/cpp/http/io/CMakeLists.linux-aarch64.txt25
-rw-r--r--library/cpp/http/io/CMakeLists.linux.txt25
-rw-r--r--library/cpp/http/io/CMakeLists.txt23
-rw-r--r--library/cpp/http/misc/CMakeLists.darwin.txt29
-rw-r--r--library/cpp/http/misc/CMakeLists.linux-aarch64.txt30
-rw-r--r--library/cpp/http/misc/CMakeLists.linux.txt30
-rw-r--r--library/cpp/http/misc/CMakeLists.txt28
-rw-r--r--library/cpp/http/server/CMakeLists.darwin.txt25
-rw-r--r--library/cpp/http/server/CMakeLists.linux-aarch64.txt26
-rw-r--r--library/cpp/http/server/CMakeLists.linux.txt26
-rw-r--r--library/cpp/http/server/CMakeLists.txt24
-rw-r--r--library/cpp/http/simple/CMakeLists.darwin.txt21
-rw-r--r--library/cpp/http/simple/CMakeLists.linux-aarch64.txt22
-rw-r--r--library/cpp/http/simple/CMakeLists.linux.txt22
-rw-r--r--library/cpp/http/simple/CMakeLists.txt20
-rw-r--r--library/cpp/hyperloglog/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/hyperloglog/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/hyperloglog/CMakeLists.linux.txt18
-rw-r--r--library/cpp/hyperloglog/CMakeLists.txt16
-rw-r--r--library/cpp/int128/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/int128/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/int128/CMakeLists.linux.txt18
-rw-r--r--library/cpp/int128/CMakeLists.txt16
-rw-r--r--library/cpp/ipmath/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/ipmath/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/ipmath/CMakeLists.linux.txt20
-rw-r--r--library/cpp/ipmath/CMakeLists.txt18
-rw-r--r--library/cpp/ipv6_address/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/ipv6_address/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/ipv6_address/CMakeLists.linux.txt19
-rw-r--r--library/cpp/ipv6_address/CMakeLists.txt17
-rw-r--r--library/cpp/iterator/CMakeLists.darwin.txt25
-rw-r--r--library/cpp/iterator/CMakeLists.linux-aarch64.txt26
-rw-r--r--library/cpp/iterator/CMakeLists.linux.txt26
-rw-r--r--library/cpp/iterator/CMakeLists.txt24
-rw-r--r--library/cpp/json/CMakeLists.darwin.txt30
-rw-r--r--library/cpp/json/CMakeLists.linux-aarch64.txt31
-rw-r--r--library/cpp/json/CMakeLists.linux.txt31
-rw-r--r--library/cpp/json/CMakeLists.txt29
-rw-r--r--library/cpp/json/common/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/json/common/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/json/common/CMakeLists.linux.txt18
-rw-r--r--library/cpp/json/common/CMakeLists.txt16
-rw-r--r--library/cpp/json/easy_parse/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/json/easy_parse/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/json/easy_parse/CMakeLists.linux.txt19
-rw-r--r--library/cpp/json/easy_parse/CMakeLists.txt17
-rw-r--r--library/cpp/json/fast_sax/CMakeLists.darwin.txt23
-rw-r--r--library/cpp/json/fast_sax/CMakeLists.linux-aarch64.txt24
-rw-r--r--library/cpp/json/fast_sax/CMakeLists.linux.txt24
-rw-r--r--library/cpp/json/fast_sax/CMakeLists.txt22
-rw-r--r--library/cpp/json/writer/CMakeLists.darwin.txt25
-rw-r--r--library/cpp/json/writer/CMakeLists.linux-aarch64.txt26
-rw-r--r--library/cpp/json/writer/CMakeLists.linux.txt26
-rw-r--r--library/cpp/json/writer/CMakeLists.txt24
-rw-r--r--library/cpp/json/yson/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/json/yson/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/json/yson/CMakeLists.linux.txt21
-rw-r--r--library/cpp/json/yson/CMakeLists.txt19
-rw-r--r--library/cpp/lcs/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/lcs/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/lcs/CMakeLists.linux.txt19
-rw-r--r--library/cpp/lcs/CMakeLists.txt17
-rw-r--r--library/cpp/lfalloc/CMakeLists.linux-aarch64.txt1
-rw-r--r--library/cpp/lfalloc/CMakeLists.linux.txt1
-rw-r--r--library/cpp/lfalloc/alloc_profiler/CMakeLists.darwin.txt21
-rw-r--r--library/cpp/lfalloc/alloc_profiler/CMakeLists.linux-aarch64.txt22
-rw-r--r--library/cpp/lfalloc/alloc_profiler/CMakeLists.linux.txt22
-rw-r--r--library/cpp/lfalloc/alloc_profiler/CMakeLists.txt20
-rw-r--r--library/cpp/lfalloc/dbg_info/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/lfalloc/dbg_info/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/lfalloc/dbg_info/CMakeLists.linux.txt19
-rw-r--r--library/cpp/lfalloc/dbg_info/CMakeLists.txt17
-rw-r--r--library/cpp/linear_regression/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/linear_regression/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/linear_regression/CMakeLists.linux.txt21
-rw-r--r--library/cpp/linear_regression/CMakeLists.txt19
-rw-r--r--library/cpp/logger/CMakeLists.darwin.txt59
-rw-r--r--library/cpp/logger/CMakeLists.linux-aarch64.txt61
-rw-r--r--library/cpp/logger/CMakeLists.linux.txt61
-rw-r--r--library/cpp/logger/CMakeLists.txt58
-rw-r--r--library/cpp/logger/global/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/logger/global/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/logger/global/CMakeLists.linux.txt21
-rw-r--r--library/cpp/logger/global/CMakeLists.txt19
-rw-r--r--library/cpp/lua/CMakeLists.darwin.txt22
-rw-r--r--library/cpp/lua/CMakeLists.linux-aarch64.txt23
-rw-r--r--library/cpp/lua/CMakeLists.linux.txt23
-rw-r--r--library/cpp/lua/CMakeLists.txt21
-rw-r--r--library/cpp/lwtrace/CMakeLists.darwin.txt33
-rw-r--r--library/cpp/lwtrace/CMakeLists.linux-aarch64.txt34
-rw-r--r--library/cpp/lwtrace/CMakeLists.linux.txt34
-rw-r--r--library/cpp/lwtrace/CMakeLists.txt32
-rw-r--r--library/cpp/lwtrace/mon/CMakeLists.darwin.txt112
-rw-r--r--library/cpp/lwtrace/mon/CMakeLists.linux-aarch64.txt114
-rw-r--r--library/cpp/lwtrace/mon/CMakeLists.linux.txt114
-rw-r--r--library/cpp/lwtrace/mon/CMakeLists.txt111
-rw-r--r--library/cpp/lwtrace/mon/analytics/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/lwtrace/mon/analytics/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/lwtrace/mon/analytics/CMakeLists.linux.txt18
-rw-r--r--library/cpp/lwtrace/mon/analytics/CMakeLists.txt16
-rw-r--r--library/cpp/lwtrace/protos/CMakeLists.darwin.txt31
-rw-r--r--library/cpp/lwtrace/protos/CMakeLists.linux-aarch64.txt32
-rw-r--r--library/cpp/lwtrace/protos/CMakeLists.linux.txt32
-rw-r--r--library/cpp/lwtrace/protos/CMakeLists.txt30
-rw-r--r--library/cpp/malloc/api/CMakeLists.darwin.txt16
-rw-r--r--library/cpp/malloc/api/CMakeLists.linux-aarch64.txt17
-rw-r--r--library/cpp/malloc/api/CMakeLists.linux.txt17
-rw-r--r--library/cpp/malloc/api/CMakeLists.txt15
-rw-r--r--library/cpp/malloc/jemalloc/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/malloc/jemalloc/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/malloc/jemalloc/CMakeLists.linux.txt19
-rw-r--r--library/cpp/malloc/jemalloc/CMakeLists.txt17
-rw-r--r--library/cpp/malloc/tcmalloc/CMakeLists.linux-aarch64.txt1
-rw-r--r--library/cpp/malloc/tcmalloc/CMakeLists.linux.txt1
-rw-r--r--library/cpp/messagebus/CMakeLists.darwin.txt71
-rw-r--r--library/cpp/messagebus/CMakeLists.linux-aarch64.txt72
-rw-r--r--library/cpp/messagebus/CMakeLists.linux.txt72
-rw-r--r--library/cpp/messagebus/CMakeLists.txt70
-rw-r--r--library/cpp/messagebus/actor/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/messagebus/actor/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/messagebus/actor/CMakeLists.linux.txt21
-rw-r--r--library/cpp/messagebus/actor/CMakeLists.txt19
-rw-r--r--library/cpp/messagebus/config/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/messagebus/config/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/messagebus/config/CMakeLists.linux.txt21
-rw-r--r--library/cpp/messagebus/config/CMakeLists.txt19
-rw-r--r--library/cpp/messagebus/monitoring/CMakeLists.darwin.txt32
-rw-r--r--library/cpp/messagebus/monitoring/CMakeLists.linux-aarch64.txt33
-rw-r--r--library/cpp/messagebus/monitoring/CMakeLists.linux.txt33
-rw-r--r--library/cpp/messagebus/monitoring/CMakeLists.txt31
-rw-r--r--library/cpp/messagebus/oldmodule/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/messagebus/oldmodule/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/messagebus/oldmodule/CMakeLists.linux.txt21
-rw-r--r--library/cpp/messagebus/oldmodule/CMakeLists.txt19
-rw-r--r--library/cpp/messagebus/protobuf/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/messagebus/protobuf/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/messagebus/protobuf/CMakeLists.linux.txt21
-rw-r--r--library/cpp/messagebus/protobuf/CMakeLists.txt19
-rw-r--r--library/cpp/messagebus/scheduler/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/messagebus/scheduler/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/messagebus/scheduler/CMakeLists.linux.txt20
-rw-r--r--library/cpp/messagebus/scheduler/CMakeLists.txt18
-rw-r--r--library/cpp/messagebus/www/CMakeLists.darwin.txt56
-rw-r--r--library/cpp/messagebus/www/CMakeLists.linux-aarch64.txt58
-rw-r--r--library/cpp/messagebus/www/CMakeLists.linux.txt58
-rw-r--r--library/cpp/messagebus/www/CMakeLists.txt55
-rw-r--r--library/cpp/mime/types/CMakeLists.darwin.txt23
-rw-r--r--library/cpp/mime/types/CMakeLists.linux-aarch64.txt24
-rw-r--r--library/cpp/mime/types/CMakeLists.linux.txt24
-rw-r--r--library/cpp/mime/types/CMakeLists.txt22
-rw-r--r--library/cpp/monlib/deprecated/json/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/monlib/deprecated/json/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/monlib/deprecated/json/CMakeLists.linux.txt19
-rw-r--r--library/cpp/monlib/deprecated/json/CMakeLists.txt17
-rw-r--r--library/cpp/monlib/dynamic_counters/CMakeLists.darwin.txt28
-rw-r--r--library/cpp/monlib/dynamic_counters/CMakeLists.linux-aarch64.txt29
-rw-r--r--library/cpp/monlib/dynamic_counters/CMakeLists.linux.txt29
-rw-r--r--library/cpp/monlib/dynamic_counters/CMakeLists.txt27
-rw-r--r--library/cpp/monlib/dynamic_counters/percentile/CMakeLists.darwin.txt16
-rw-r--r--library/cpp/monlib/dynamic_counters/percentile/CMakeLists.linux-aarch64.txt17
-rw-r--r--library/cpp/monlib/dynamic_counters/percentile/CMakeLists.linux.txt17
-rw-r--r--library/cpp/monlib/dynamic_counters/percentile/CMakeLists.txt15
-rw-r--r--library/cpp/monlib/encode/CMakeLists.darwin.txt34
-rw-r--r--library/cpp/monlib/encode/CMakeLists.linux-aarch64.txt35
-rw-r--r--library/cpp/monlib/encode/CMakeLists.linux.txt35
-rw-r--r--library/cpp/monlib/encode/CMakeLists.txt33
-rw-r--r--library/cpp/monlib/encode/buffered/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/monlib/encode/buffered/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/monlib/encode/buffered/CMakeLists.linux.txt21
-rw-r--r--library/cpp/monlib/encode/buffered/CMakeLists.txt19
-rw-r--r--library/cpp/monlib/encode/json/CMakeLists.darwin.txt23
-rw-r--r--library/cpp/monlib/encode/json/CMakeLists.linux-aarch64.txt24
-rw-r--r--library/cpp/monlib/encode/json/CMakeLists.linux.txt24
-rw-r--r--library/cpp/monlib/encode/json/CMakeLists.txt22
-rw-r--r--library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.darwin.txt31
-rw-r--r--library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.linux-aarch64.txt32
-rw-r--r--library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.linux.txt32
-rw-r--r--library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt30
-rw-r--r--library/cpp/monlib/encode/prometheus/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/monlib/encode/prometheus/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/monlib/encode/prometheus/CMakeLists.linux.txt21
-rw-r--r--library/cpp/monlib/encode/prometheus/CMakeLists.txt19
-rw-r--r--library/cpp/monlib/encode/spack/CMakeLists.darwin.txt27
-rw-r--r--library/cpp/monlib/encode/spack/CMakeLists.linux-aarch64.txt28
-rw-r--r--library/cpp/monlib/encode/spack/CMakeLists.linux.txt28
-rw-r--r--library/cpp/monlib/encode/spack/CMakeLists.txt26
-rw-r--r--library/cpp/monlib/encode/text/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/monlib/encode/text/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/monlib/encode/text/CMakeLists.linux.txt19
-rw-r--r--library/cpp/monlib/encode/text/CMakeLists.txt17
-rw-r--r--library/cpp/monlib/exception/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/monlib/exception/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/monlib/exception/CMakeLists.linux.txt18
-rw-r--r--library/cpp/monlib/exception/CMakeLists.txt16
-rw-r--r--library/cpp/monlib/messagebus/CMakeLists.darwin.txt21
-rw-r--r--library/cpp/monlib/messagebus/CMakeLists.linux-aarch64.txt22
-rw-r--r--library/cpp/monlib/messagebus/CMakeLists.linux.txt22
-rw-r--r--library/cpp/monlib/messagebus/CMakeLists.txt20
-rw-r--r--library/cpp/monlib/metrics/CMakeLists.darwin.txt38
-rw-r--r--library/cpp/monlib/metrics/CMakeLists.linux-aarch64.txt39
-rw-r--r--library/cpp/monlib/metrics/CMakeLists.linux.txt39
-rw-r--r--library/cpp/monlib/metrics/CMakeLists.txt37
-rw-r--r--library/cpp/monlib/service/CMakeLists.darwin.txt34
-rw-r--r--library/cpp/monlib/service/CMakeLists.linux-aarch64.txt35
-rw-r--r--library/cpp/monlib/service/CMakeLists.linux.txt35
-rw-r--r--library/cpp/monlib/service/CMakeLists.txt33
-rw-r--r--library/cpp/monlib/service/pages/CMakeLists.darwin.txt35
-rw-r--r--library/cpp/monlib/service/pages/CMakeLists.linux-aarch64.txt36
-rw-r--r--library/cpp/monlib/service/pages/CMakeLists.linux.txt36
-rw-r--r--library/cpp/monlib/service/pages/CMakeLists.txt34
-rw-r--r--library/cpp/monlib/service/pages/tablesorter/CMakeLists.darwin.txt36
-rw-r--r--library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux-aarch64.txt38
-rw-r--r--library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux.txt38
-rw-r--r--library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt35
-rw-r--r--library/cpp/on_disk/chunks/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/on_disk/chunks/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/on_disk/chunks/CMakeLists.linux.txt20
-rw-r--r--library/cpp/on_disk/chunks/CMakeLists.txt18
-rw-r--r--library/cpp/openssl/holders/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/openssl/holders/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/openssl/holders/CMakeLists.linux.txt21
-rw-r--r--library/cpp/openssl/holders/CMakeLists.txt19
-rw-r--r--library/cpp/openssl/init/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/openssl/init/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/openssl/init/CMakeLists.linux.txt20
-rw-r--r--library/cpp/openssl/init/CMakeLists.txt18
-rw-r--r--library/cpp/openssl/io/CMakeLists.darwin.txt22
-rw-r--r--library/cpp/openssl/io/CMakeLists.linux-aarch64.txt23
-rw-r--r--library/cpp/openssl/io/CMakeLists.linux.txt23
-rw-r--r--library/cpp/openssl/io/CMakeLists.txt21
-rw-r--r--library/cpp/openssl/method/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/openssl/method/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/openssl/method/CMakeLists.linux.txt21
-rw-r--r--library/cpp/openssl/method/CMakeLists.txt19
-rw-r--r--library/cpp/packedtypes/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/packedtypes/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/packedtypes/CMakeLists.linux.txt20
-rw-r--r--library/cpp/packedtypes/CMakeLists.txt18
-rw-r--r--library/cpp/packers/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/packers/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/packers/CMakeLists.linux.txt20
-rw-r--r--library/cpp/packers/CMakeLists.txt18
-rw-r--r--library/cpp/pop_count/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/pop_count/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/pop_count/CMakeLists.linux.txt18
-rw-r--r--library/cpp/pop_count/CMakeLists.txt16
-rw-r--r--library/cpp/presort/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/presort/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/presort/CMakeLists.linux.txt18
-rw-r--r--library/cpp/presort/CMakeLists.txt16
-rw-r--r--library/cpp/protobuf/interop/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/protobuf/interop/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/protobuf/interop/CMakeLists.linux.txt19
-rw-r--r--library/cpp/protobuf/interop/CMakeLists.txt17
-rw-r--r--library/cpp/protobuf/json/CMakeLists.darwin.txt29
-rw-r--r--library/cpp/protobuf/json/CMakeLists.linux-aarch64.txt30
-rw-r--r--library/cpp/protobuf/json/CMakeLists.linux.txt30
-rw-r--r--library/cpp/protobuf/json/CMakeLists.txt28
-rw-r--r--library/cpp/protobuf/util/CMakeLists.darwin.txt27
-rw-r--r--library/cpp/protobuf/util/CMakeLists.linux-aarch64.txt28
-rw-r--r--library/cpp/protobuf/util/CMakeLists.linux.txt28
-rw-r--r--library/cpp/protobuf/util/CMakeLists.txt26
-rw-r--r--library/cpp/protobuf/util/proto/CMakeLists.darwin.txt31
-rw-r--r--library/cpp/protobuf/util/proto/CMakeLists.linux-aarch64.txt32
-rw-r--r--library/cpp/protobuf/util/proto/CMakeLists.linux.txt32
-rw-r--r--library/cpp/protobuf/util/proto/CMakeLists.txt30
-rw-r--r--library/cpp/random_provider/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/random_provider/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/random_provider/CMakeLists.linux.txt18
-rw-r--r--library/cpp/random_provider/CMakeLists.txt16
-rw-r--r--library/cpp/regex/hyperscan/CMakeLists.linux.txt1
-rw-r--r--library/cpp/regex/pcre/CMakeLists.darwin.txt22
-rw-r--r--library/cpp/regex/pcre/CMakeLists.linux-aarch64.txt23
-rw-r--r--library/cpp/regex/pcre/CMakeLists.linux.txt23
-rw-r--r--library/cpp/regex/pcre/CMakeLists.txt21
-rw-r--r--library/cpp/regex/pire/CMakeLists.darwin.txt42
-rw-r--r--library/cpp/regex/pire/CMakeLists.linux-aarch64.txt43
-rw-r--r--library/cpp/regex/pire/CMakeLists.linux.txt43
-rw-r--r--library/cpp/regex/pire/CMakeLists.txt41
-rw-r--r--library/cpp/resource/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/resource/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/resource/CMakeLists.linux.txt21
-rw-r--r--library/cpp/resource/CMakeLists.txt19
-rw-r--r--library/cpp/retry/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/retry/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/retry/CMakeLists.linux.txt21
-rw-r--r--library/cpp/retry/CMakeLists.txt19
-rw-r--r--library/cpp/retry/protos/CMakeLists.darwin.txt31
-rw-r--r--library/cpp/retry/protos/CMakeLists.linux-aarch64.txt32
-rw-r--r--library/cpp/retry/protos/CMakeLists.linux.txt32
-rw-r--r--library/cpp/retry/protos/CMakeLists.txt30
-rw-r--r--library/cpp/scheme/CMakeLists.darwin.txt35
-rw-r--r--library/cpp/scheme/CMakeLists.linux-aarch64.txt36
-rw-r--r--library/cpp/scheme/CMakeLists.linux.txt36
-rw-r--r--library/cpp/scheme/CMakeLists.txt34
-rw-r--r--library/cpp/sighandler/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/sighandler/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/sighandler/CMakeLists.linux.txt19
-rw-r--r--library/cpp/sighandler/CMakeLists.txt17
-rw-r--r--library/cpp/sliding_window/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/sliding_window/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/sliding_window/CMakeLists.linux.txt18
-rw-r--r--library/cpp/sliding_window/CMakeLists.txt16
-rw-r--r--library/cpp/sse/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/sse/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/sse/CMakeLists.linux.txt18
-rw-r--r--library/cpp/sse/CMakeLists.txt16
-rw-r--r--library/cpp/streams/brotli/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/streams/brotli/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/streams/brotli/CMakeLists.linux.txt20
-rw-r--r--library/cpp/streams/brotli/CMakeLists.txt18
-rw-r--r--library/cpp/streams/bzip2/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/streams/bzip2/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/streams/bzip2/CMakeLists.linux.txt19
-rw-r--r--library/cpp/streams/bzip2/CMakeLists.txt17
-rw-r--r--library/cpp/streams/lzma/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/streams/lzma/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/streams/lzma/CMakeLists.linux.txt19
-rw-r--r--library/cpp/streams/lzma/CMakeLists.txt17
-rw-r--r--library/cpp/streams/zc_memory_input/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/streams/zc_memory_input/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/streams/zc_memory_input/CMakeLists.linux.txt18
-rw-r--r--library/cpp/streams/zc_memory_input/CMakeLists.txt16
-rw-r--r--library/cpp/streams/zstd/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/streams/zstd/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/streams/zstd/CMakeLists.linux.txt19
-rw-r--r--library/cpp/streams/zstd/CMakeLists.txt17
-rw-r--r--library/cpp/string_utils/base64/CMakeLists.darwin.txt23
-rw-r--r--library/cpp/string_utils/base64/CMakeLists.linux-aarch64.txt24
-rw-r--r--library/cpp/string_utils/base64/CMakeLists.linux.txt24
-rw-r--r--library/cpp/string_utils/base64/CMakeLists.txt22
-rw-r--r--library/cpp/string_utils/indent_text/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/string_utils/indent_text/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/string_utils/indent_text/CMakeLists.linux.txt18
-rw-r--r--library/cpp/string_utils/indent_text/CMakeLists.txt16
-rw-r--r--library/cpp/string_utils/levenshtein_diff/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/string_utils/levenshtein_diff/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/string_utils/levenshtein_diff/CMakeLists.linux.txt19
-rw-r--r--library/cpp/string_utils/levenshtein_diff/CMakeLists.txt17
-rw-r--r--library/cpp/string_utils/parse_size/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/string_utils/parse_size/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/string_utils/parse_size/CMakeLists.linux.txt18
-rw-r--r--library/cpp/string_utils/parse_size/CMakeLists.txt16
-rw-r--r--library/cpp/string_utils/quote/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/string_utils/quote/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/string_utils/quote/CMakeLists.linux.txt18
-rw-r--r--library/cpp/string_utils/quote/CMakeLists.txt16
-rw-r--r--library/cpp/string_utils/relaxed_escaper/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/string_utils/relaxed_escaper/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/string_utils/relaxed_escaper/CMakeLists.linux.txt18
-rw-r--r--library/cpp/string_utils/relaxed_escaper/CMakeLists.txt16
-rw-r--r--library/cpp/string_utils/scan/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/string_utils/scan/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/string_utils/scan/CMakeLists.linux.txt18
-rw-r--r--library/cpp/string_utils/scan/CMakeLists.txt16
-rw-r--r--library/cpp/string_utils/url/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/string_utils/url/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/string_utils/url/CMakeLists.linux.txt18
-rw-r--r--library/cpp/string_utils/url/CMakeLists.txt16
-rw-r--r--library/cpp/string_utils/ztstrbuf/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/string_utils/ztstrbuf/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/string_utils/ztstrbuf/CMakeLists.linux.txt18
-rw-r--r--library/cpp/string_utils/ztstrbuf/CMakeLists.txt16
-rw-r--r--library/cpp/svnversion/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/svnversion/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/svnversion/CMakeLists.linux.txt19
-rw-r--r--library/cpp/svnversion/CMakeLists.txt17
-rw-r--r--library/cpp/tdigest/CMakeLists.darwin.txt34
-rw-r--r--library/cpp/tdigest/CMakeLists.linux-aarch64.txt35
-rw-r--r--library/cpp/tdigest/CMakeLists.linux.txt35
-rw-r--r--library/cpp/tdigest/CMakeLists.txt33
-rw-r--r--library/cpp/terminate_handler/CMakeLists.darwin.txt26
-rw-r--r--library/cpp/terminate_handler/CMakeLists.linux-aarch64.txt28
-rw-r--r--library/cpp/terminate_handler/CMakeLists.linux.txt28
-rw-r--r--library/cpp/terminate_handler/CMakeLists.txt25
-rw-r--r--library/cpp/testing/benchmark/CMakeLists.darwin.txt25
-rw-r--r--library/cpp/testing/benchmark/CMakeLists.linux-aarch64.txt26
-rw-r--r--library/cpp/testing/benchmark/CMakeLists.linux.txt26
-rw-r--r--library/cpp/testing/benchmark/CMakeLists.txt24
-rw-r--r--library/cpp/testing/benchmark/main/CMakeLists.darwin.txt25
-rw-r--r--library/cpp/testing/benchmark/main/CMakeLists.linux-aarch64.txt27
-rw-r--r--library/cpp/testing/benchmark/main/CMakeLists.linux.txt27
-rw-r--r--library/cpp/testing/benchmark/main/CMakeLists.txt24
-rw-r--r--library/cpp/testing/common/CMakeLists.darwin.txt21
-rw-r--r--library/cpp/testing/common/CMakeLists.linux-aarch64.txt22
-rw-r--r--library/cpp/testing/common/CMakeLists.linux.txt22
-rw-r--r--library/cpp/testing/common/CMakeLists.txt20
-rw-r--r--library/cpp/testing/gmock_in_unittest/CMakeLists.darwin.txt34
-rw-r--r--library/cpp/testing/gmock_in_unittest/CMakeLists.linux-aarch64.txt36
-rw-r--r--library/cpp/testing/gmock_in_unittest/CMakeLists.linux.txt36
-rw-r--r--library/cpp/testing/gmock_in_unittest/CMakeLists.txt33
-rw-r--r--library/cpp/testing/gtest_extensions/CMakeLists.darwin.txt23
-rw-r--r--library/cpp/testing/gtest_extensions/CMakeLists.linux-aarch64.txt24
-rw-r--r--library/cpp/testing/gtest_extensions/CMakeLists.linux.txt24
-rw-r--r--library/cpp/testing/gtest_extensions/CMakeLists.txt22
-rw-r--r--library/cpp/testing/hook/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/testing/hook/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/testing/hook/CMakeLists.linux.txt18
-rw-r--r--library/cpp/testing/hook/CMakeLists.txt16
-rw-r--r--library/cpp/testing/unittest/CMakeLists.darwin.txt28
-rw-r--r--library/cpp/testing/unittest/CMakeLists.linux-aarch64.txt29
-rw-r--r--library/cpp/testing/unittest/CMakeLists.linux.txt29
-rw-r--r--library/cpp/testing/unittest/CMakeLists.txt27
-rw-r--r--library/cpp/testing/unittest_main/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/testing/unittest_main/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/testing/unittest_main/CMakeLists.linux.txt20
-rw-r--r--library/cpp/testing/unittest_main/CMakeLists.txt18
-rw-r--r--library/cpp/threading/atomic/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/threading/atomic/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/threading/atomic/CMakeLists.linux.txt19
-rw-r--r--library/cpp/threading/atomic/CMakeLists.txt17
-rw-r--r--library/cpp/threading/chunk_queue/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/threading/chunk_queue/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/threading/chunk_queue/CMakeLists.linux.txt19
-rw-r--r--library/cpp/threading/chunk_queue/CMakeLists.txt17
-rw-r--r--library/cpp/threading/equeue/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/threading/equeue/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/threading/equeue/CMakeLists.linux.txt19
-rw-r--r--library/cpp/threading/equeue/CMakeLists.txt17
-rw-r--r--library/cpp/threading/future/CMakeLists.darwin.txt25
-rw-r--r--library/cpp/threading/future/CMakeLists.linux-aarch64.txt26
-rw-r--r--library/cpp/threading/future/CMakeLists.linux.txt26
-rw-r--r--library/cpp/threading/future/CMakeLists.txt24
-rw-r--r--library/cpp/threading/light_rw_lock/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/threading/light_rw_lock/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/threading/light_rw_lock/CMakeLists.linux.txt18
-rw-r--r--library/cpp/threading/light_rw_lock/CMakeLists.txt16
-rw-r--r--library/cpp/threading/local_executor/CMakeLists.darwin.txt21
-rw-r--r--library/cpp/threading/local_executor/CMakeLists.linux-aarch64.txt22
-rw-r--r--library/cpp/threading/local_executor/CMakeLists.linux.txt22
-rw-r--r--library/cpp/threading/local_executor/CMakeLists.txt20
-rw-r--r--library/cpp/threading/poor_man_openmp/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/threading/poor_man_openmp/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/threading/poor_man_openmp/CMakeLists.linux.txt19
-rw-r--r--library/cpp/threading/poor_man_openmp/CMakeLists.txt17
-rw-r--r--library/cpp/threading/queue/CMakeLists.darwin.txt22
-rw-r--r--library/cpp/threading/queue/CMakeLists.linux-aarch64.txt23
-rw-r--r--library/cpp/threading/queue/CMakeLists.linux.txt23
-rw-r--r--library/cpp/threading/queue/CMakeLists.txt21
-rw-r--r--library/cpp/threading/skip_list/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/threading/skip_list/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/threading/skip_list/CMakeLists.linux.txt19
-rw-r--r--library/cpp/threading/skip_list/CMakeLists.txt17
-rw-r--r--library/cpp/threading/task_scheduler/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/threading/task_scheduler/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/threading/task_scheduler/CMakeLists.linux.txt19
-rw-r--r--library/cpp/threading/task_scheduler/CMakeLists.txt17
-rw-r--r--library/cpp/time_provider/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/time_provider/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/time_provider/CMakeLists.linux.txt20
-rw-r--r--library/cpp/time_provider/CMakeLists.txt18
-rw-r--r--library/cpp/timezone_conversion/CMakeLists.darwin.txt26
-rw-r--r--library/cpp/timezone_conversion/CMakeLists.linux-aarch64.txt27
-rw-r--r--library/cpp/timezone_conversion/CMakeLists.linux.txt27
-rw-r--r--library/cpp/timezone_conversion/CMakeLists.txt25
-rw-r--r--library/cpp/tld/CMakeLists.darwin.txt33
-rw-r--r--library/cpp/tld/CMakeLists.linux-aarch64.txt34
-rw-r--r--library/cpp/tld/CMakeLists.linux.txt34
-rw-r--r--library/cpp/tld/CMakeLists.txt32
-rw-r--r--library/cpp/unicode/normalization/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/unicode/normalization/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/unicode/normalization/CMakeLists.linux.txt19
-rw-r--r--library/cpp/unicode/normalization/CMakeLists.txt17
-rw-r--r--library/cpp/unicode/punycode/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/unicode/punycode/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/unicode/punycode/CMakeLists.linux.txt20
-rw-r--r--library/cpp/unicode/punycode/CMakeLists.txt18
-rw-r--r--library/cpp/unicode/set/CMakeLists.darwin.txt33
-rw-r--r--library/cpp/unicode/set/CMakeLists.linux-aarch64.txt34
-rw-r--r--library/cpp/unicode/set/CMakeLists.linux.txt34
-rw-r--r--library/cpp/unicode/set/CMakeLists.txt32
-rw-r--r--library/cpp/uri/CMakeLists.darwin.txt37
-rw-r--r--library/cpp/uri/CMakeLists.linux-aarch64.txt38
-rw-r--r--library/cpp/uri/CMakeLists.linux.txt38
-rw-r--r--library/cpp/uri/CMakeLists.txt36
-rw-r--r--library/cpp/xml/document/CMakeLists.darwin.txt22
-rw-r--r--library/cpp/xml/document/CMakeLists.linux-aarch64.txt23
-rw-r--r--library/cpp/xml/document/CMakeLists.linux.txt23
-rw-r--r--library/cpp/xml/document/CMakeLists.txt21
-rw-r--r--library/cpp/xml/init/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/xml/init/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/xml/init/CMakeLists.linux.txt21
-rw-r--r--library/cpp/xml/init/CMakeLists.txt19
-rw-r--r--library/cpp/yaml/as/CMakeLists.darwin.txt15
-rw-r--r--library/cpp/yaml/as/CMakeLists.linux-aarch64.txt16
-rw-r--r--library/cpp/yaml/as/CMakeLists.linux.txt16
-rw-r--r--library/cpp/yaml/as/CMakeLists.txt14
-rw-r--r--library/cpp/yson/CMakeLists.darwin.txt27
-rw-r--r--library/cpp/yson/CMakeLists.linux-aarch64.txt28
-rw-r--r--library/cpp/yson/CMakeLists.linux.txt28
-rw-r--r--library/cpp/yson/CMakeLists.txt26
-rw-r--r--library/cpp/yson/json/CMakeLists.darwin.txt19
-rw-r--r--library/cpp/yson/json/CMakeLists.linux-aarch64.txt20
-rw-r--r--library/cpp/yson/json/CMakeLists.linux.txt20
-rw-r--r--library/cpp/yson/json/CMakeLists.txt18
-rw-r--r--library/cpp/yson/node/CMakeLists.darwin.txt29
-rw-r--r--library/cpp/yson/node/CMakeLists.linux-aarch64.txt30
-rw-r--r--library/cpp/yson/node/CMakeLists.linux.txt30
-rw-r--r--library/cpp/yson/node/CMakeLists.txt28
-rw-r--r--library/cpp/yson_pull/CMakeLists.darwin.txt36
-rw-r--r--library/cpp/yson_pull/CMakeLists.linux-aarch64.txt37
-rw-r--r--library/cpp/yson_pull/CMakeLists.linux.txt37
-rw-r--r--library/cpp/yson_pull/CMakeLists.txt35
-rw-r--r--library/cpp/yt/assert/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/yt/assert/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/yt/assert/CMakeLists.linux.txt18
-rw-r--r--library/cpp/yt/assert/CMakeLists.txt16
-rw-r--r--library/cpp/yt/coding/CMakeLists.darwin.txt15
-rw-r--r--library/cpp/yt/coding/CMakeLists.linux-aarch64.txt16
-rw-r--r--library/cpp/yt/coding/CMakeLists.linux.txt16
-rw-r--r--library/cpp/yt/coding/CMakeLists.txt14
-rw-r--r--library/cpp/yt/exception/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/yt/exception/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/yt/exception/CMakeLists.linux.txt18
-rw-r--r--library/cpp/yt/exception/CMakeLists.txt16
-rw-r--r--library/cpp/yt/malloc/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/yt/malloc/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/yt/malloc/CMakeLists.linux.txt19
-rw-r--r--library/cpp/yt/malloc/CMakeLists.txt17
-rw-r--r--library/cpp/yt/memory/CMakeLists.darwin.txt24
-rw-r--r--library/cpp/yt/memory/CMakeLists.linux-aarch64.txt25
-rw-r--r--library/cpp/yt/memory/CMakeLists.linux.txt25
-rw-r--r--library/cpp/yt/memory/CMakeLists.txt23
-rw-r--r--library/cpp/yt/misc/CMakeLists.darwin.txt20
-rw-r--r--library/cpp/yt/misc/CMakeLists.linux-aarch64.txt21
-rw-r--r--library/cpp/yt/misc/CMakeLists.linux.txt21
-rw-r--r--library/cpp/yt/misc/CMakeLists.txt19
-rw-r--r--library/cpp/yt/small_containers/CMakeLists.darwin.txt16
-rw-r--r--library/cpp/yt/small_containers/CMakeLists.linux-aarch64.txt17
-rw-r--r--library/cpp/yt/small_containers/CMakeLists.linux.txt17
-rw-r--r--library/cpp/yt/small_containers/CMakeLists.txt15
-rw-r--r--library/cpp/yt/string/CMakeLists.darwin.txt24
-rw-r--r--library/cpp/yt/string/CMakeLists.linux-aarch64.txt25
-rw-r--r--library/cpp/yt/string/CMakeLists.linux.txt25
-rw-r--r--library/cpp/yt/string/CMakeLists.txt23
-rw-r--r--library/cpp/yt/yson/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/yt/yson/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/yt/yson/CMakeLists.linux.txt19
-rw-r--r--library/cpp/yt/yson/CMakeLists.txt17
-rw-r--r--library/cpp/yt/yson_string/CMakeLists.darwin.txt24
-rw-r--r--library/cpp/yt/yson_string/CMakeLists.linux-aarch64.txt25
-rw-r--r--library/cpp/yt/yson_string/CMakeLists.linux.txt25
-rw-r--r--library/cpp/yt/yson_string/CMakeLists.txt23
-rw-r--r--library/cpp/ytalloc/api/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/ytalloc/api/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/ytalloc/api/CMakeLists.linux.txt19
-rw-r--r--library/cpp/ytalloc/api/CMakeLists.txt17
942 files changed, 18347 insertions, 3557 deletions
diff --git a/library/cpp/accurate_accumulate/CMakeLists.darwin.txt b/library/cpp/accurate_accumulate/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..4db4e1b24d
--- /dev/null
+++ b/library/cpp/accurate_accumulate/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(library-cpp-accurate_accumulate)
+target_link_libraries(library-cpp-accurate_accumulate PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-accurate_accumulate PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/accurate_accumulate/accurate_accumulate.cpp
+)
diff --git a/library/cpp/accurate_accumulate/CMakeLists.linux-aarch64.txt b/library/cpp/accurate_accumulate/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..cbc505d4ba
--- /dev/null
+++ b/library/cpp/accurate_accumulate/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(library-cpp-accurate_accumulate)
+target_link_libraries(library-cpp-accurate_accumulate PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-accurate_accumulate PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/accurate_accumulate/accurate_accumulate.cpp
+)
diff --git a/library/cpp/accurate_accumulate/CMakeLists.linux.txt b/library/cpp/accurate_accumulate/CMakeLists.linux.txt
new file mode 100644
index 0000000000..cbc505d4ba
--- /dev/null
+++ b/library/cpp/accurate_accumulate/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(library-cpp-accurate_accumulate)
+target_link_libraries(library-cpp-accurate_accumulate PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-accurate_accumulate PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/accurate_accumulate/accurate_accumulate.cpp
+)
diff --git a/library/cpp/accurate_accumulate/CMakeLists.txt b/library/cpp/accurate_accumulate/CMakeLists.txt
index 4db4e1b24d..3e0811fb22 100644
--- a/library/cpp/accurate_accumulate/CMakeLists.txt
+++ b/library/cpp/accurate_accumulate/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-accurate_accumulate)
-target_link_libraries(library-cpp-accurate_accumulate PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-accurate_accumulate PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/accurate_accumulate/accurate_accumulate.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/actors/core/CMakeLists.darwin.txt b/library/cpp/actors/core/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..7bbf9297c2
--- /dev/null
+++ b/library/cpp/actors/core/CMakeLists.darwin.txt
@@ -0,0 +1,74 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-core)
+target_link_libraries(cpp-actors-core PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ cpp-actors-memory_log
+ cpp-actors-prof
+ cpp-actors-protos
+ cpp-actors-util
+ library-cpp-execprofile
+ cpp-json-writer
+ library-cpp-logger
+ library-cpp-lwtrace
+ cpp-monlib-dynamic_counters
+ library-cpp-svnversion
+ library-cpp-time_provider
+ cpp-threading-future
+)
+target_sources(cpp-actors-core PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_bootstrapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_coroutine.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_virtual.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorid.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorsystem.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/ask.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/av_bootstrapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/balancer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/buffer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/callstack.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/cpu_manager.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/events_undelivered.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_base.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_basic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_united.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_thread.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/harmonizer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/interconnect.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/io_dispatcher.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_settings.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_buffer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/mailbox.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic_provider.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/worker_context.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/probes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/process_stats.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_actor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_basic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_cookie.cpp
+)
+generate_enum_serilization(cpp-actors-core
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/defs.h
+ INCLUDE_HEADERS
+ library/cpp/actors/core/defs.h
+)
+generate_enum_serilization(cpp-actors-core
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.h
+ INCLUDE_HEADERS
+ library/cpp/actors/core/actor.h
+)
diff --git a/library/cpp/actors/core/CMakeLists.linux-aarch64.txt b/library/cpp/actors/core/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..54c3427d28
--- /dev/null
+++ b/library/cpp/actors/core/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,75 @@
+
+# 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-actors-core)
+target_link_libraries(cpp-actors-core PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ cpp-actors-memory_log
+ cpp-actors-prof
+ cpp-actors-protos
+ cpp-actors-util
+ library-cpp-execprofile
+ cpp-json-writer
+ library-cpp-logger
+ library-cpp-lwtrace
+ cpp-monlib-dynamic_counters
+ library-cpp-svnversion
+ library-cpp-time_provider
+ cpp-threading-future
+)
+target_sources(cpp-actors-core PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_bootstrapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_coroutine.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_virtual.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorid.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorsystem.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/ask.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/av_bootstrapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/balancer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/buffer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/callstack.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/cpu_manager.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/events_undelivered.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_base.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_basic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_united.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_thread.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/harmonizer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/interconnect.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/io_dispatcher.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_settings.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_buffer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/mailbox.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic_provider.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/worker_context.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/probes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/process_stats.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_actor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_basic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_cookie.cpp
+)
+generate_enum_serilization(cpp-actors-core
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/defs.h
+ INCLUDE_HEADERS
+ library/cpp/actors/core/defs.h
+)
+generate_enum_serilization(cpp-actors-core
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.h
+ INCLUDE_HEADERS
+ library/cpp/actors/core/actor.h
+)
diff --git a/library/cpp/actors/core/CMakeLists.linux.txt b/library/cpp/actors/core/CMakeLists.linux.txt
new file mode 100644
index 0000000000..54c3427d28
--- /dev/null
+++ b/library/cpp/actors/core/CMakeLists.linux.txt
@@ -0,0 +1,75 @@
+
+# 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-actors-core)
+target_link_libraries(cpp-actors-core PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ cpp-actors-memory_log
+ cpp-actors-prof
+ cpp-actors-protos
+ cpp-actors-util
+ library-cpp-execprofile
+ cpp-json-writer
+ library-cpp-logger
+ library-cpp-lwtrace
+ cpp-monlib-dynamic_counters
+ library-cpp-svnversion
+ library-cpp-time_provider
+ cpp-threading-future
+)
+target_sources(cpp-actors-core PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_bootstrapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_coroutine.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_virtual.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorid.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorsystem.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/ask.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/av_bootstrapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/balancer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/buffer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/callstack.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/cpu_manager.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/events_undelivered.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_base.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_basic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_united.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_thread.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/harmonizer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/interconnect.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/io_dispatcher.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_settings.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_buffer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/mailbox.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic_provider.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/worker_context.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/probes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/process_stats.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_actor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_basic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_cookie.cpp
+)
+generate_enum_serilization(cpp-actors-core
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/defs.h
+ INCLUDE_HEADERS
+ library/cpp/actors/core/defs.h
+)
+generate_enum_serilization(cpp-actors-core
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.h
+ INCLUDE_HEADERS
+ library/cpp/actors/core/actor.h
+)
diff --git a/library/cpp/actors/core/CMakeLists.txt b/library/cpp/actors/core/CMakeLists.txt
index 7bbf9297c2..3e0811fb22 100644
--- a/library/cpp/actors/core/CMakeLists.txt
+++ b/library/cpp/actors/core/CMakeLists.txt
@@ -6,69 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-core)
-target_link_libraries(cpp-actors-core PUBLIC
- contrib-libs-cxxsupp
- yutil
- tools-enum_parser-enum_serialization_runtime
- cpp-actors-memory_log
- cpp-actors-prof
- cpp-actors-protos
- cpp-actors-util
- library-cpp-execprofile
- cpp-json-writer
- library-cpp-logger
- library-cpp-lwtrace
- cpp-monlib-dynamic_counters
- library-cpp-svnversion
- library-cpp-time_provider
- cpp-threading-future
-)
-target_sources(cpp-actors-core PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_bootstrapped.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_coroutine.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_virtual.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorid.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorsystem.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/ask.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/av_bootstrapped.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/balancer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/buffer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/callstack.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/cpu_manager.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/events_undelivered.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_base.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_basic.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_io.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_united.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_thread.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/harmonizer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/interconnect.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/io_dispatcher.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_settings.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_buffer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/mailbox.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic_provider.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/worker_context.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/probes.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/process_stats.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_actor.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_basic.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_cookie.cpp
-)
-generate_enum_serilization(cpp-actors-core
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/defs.h
- INCLUDE_HEADERS
- library/cpp/actors/core/defs.h
-)
-generate_enum_serilization(cpp-actors-core
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.h
- INCLUDE_HEADERS
- library/cpp/actors/core/actor.h
-)
+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/actors/dnscachelib/CMakeLists.darwin.txt b/library/cpp/actors/dnscachelib/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..63e3450fa2
--- /dev/null
+++ b/library/cpp/actors/dnscachelib/CMakeLists.darwin.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(c-ares REQUIRED)
+
+add_library(cpp-actors-dnscachelib)
+target_link_libraries(cpp-actors-dnscachelib PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ c-ares::c-ares
+ library-cpp-lwtrace
+ cpp-deprecated-atomic
+)
+target_sources(cpp-actors-dnscachelib PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/dnscache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/probes.cpp
+)
diff --git a/library/cpp/actors/dnscachelib/CMakeLists.linux-aarch64.txt b/library/cpp/actors/dnscachelib/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..9f29adc7bc
--- /dev/null
+++ b/library/cpp/actors/dnscachelib/CMakeLists.linux-aarch64.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.
+
+
+find_package(c-ares REQUIRED)
+
+add_library(cpp-actors-dnscachelib)
+target_link_libraries(cpp-actors-dnscachelib PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ c-ares::c-ares
+ library-cpp-lwtrace
+ cpp-deprecated-atomic
+)
+target_sources(cpp-actors-dnscachelib PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/dnscache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/probes.cpp
+)
diff --git a/library/cpp/actors/dnscachelib/CMakeLists.linux.txt b/library/cpp/actors/dnscachelib/CMakeLists.linux.txt
new file mode 100644
index 0000000000..9f29adc7bc
--- /dev/null
+++ b/library/cpp/actors/dnscachelib/CMakeLists.linux.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.
+
+
+find_package(c-ares REQUIRED)
+
+add_library(cpp-actors-dnscachelib)
+target_link_libraries(cpp-actors-dnscachelib PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ c-ares::c-ares
+ library-cpp-lwtrace
+ cpp-deprecated-atomic
+)
+target_sources(cpp-actors-dnscachelib PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/dnscache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/probes.cpp
+)
diff --git a/library/cpp/actors/dnscachelib/CMakeLists.txt b/library/cpp/actors/dnscachelib/CMakeLists.txt
index 63e3450fa2..3e0811fb22 100644
--- a/library/cpp/actors/dnscachelib/CMakeLists.txt
+++ b/library/cpp/actors/dnscachelib/CMakeLists.txt
@@ -6,17 +6,10 @@
# original buildsystem will not be accepted.
-find_package(c-ares REQUIRED)
-
-add_library(cpp-actors-dnscachelib)
-target_link_libraries(cpp-actors-dnscachelib PUBLIC
- contrib-libs-cxxsupp
- yutil
- c-ares::c-ares
- library-cpp-lwtrace
- cpp-deprecated-atomic
-)
-target_sources(cpp-actors-dnscachelib PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/dnscache.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/probes.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/actors/dnsresolver/CMakeLists.darwin.txt b/library/cpp/actors/dnsresolver/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..f4a0909db2
--- /dev/null
+++ b/library/cpp/actors/dnsresolver/CMakeLists.darwin.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(c-ares REQUIRED)
+
+add_library(cpp-actors-dnsresolver)
+target_include_directories(cpp-actors-dnsresolver PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include
+)
+target_link_libraries(cpp-actors-dnsresolver PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ c-ares::c-ares
+)
+target_sources(cpp-actors-dnsresolver PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand.cpp
+)
diff --git a/library/cpp/actors/dnsresolver/CMakeLists.linux-aarch64.txt b/library/cpp/actors/dnsresolver/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..7e622c1693
--- /dev/null
+++ b/library/cpp/actors/dnsresolver/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(c-ares REQUIRED)
+
+add_library(cpp-actors-dnsresolver)
+target_include_directories(cpp-actors-dnsresolver PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include
+)
+target_link_libraries(cpp-actors-dnsresolver PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ c-ares::c-ares
+)
+target_sources(cpp-actors-dnsresolver PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand.cpp
+)
diff --git a/library/cpp/actors/dnsresolver/CMakeLists.linux.txt b/library/cpp/actors/dnsresolver/CMakeLists.linux.txt
new file mode 100644
index 0000000000..7e622c1693
--- /dev/null
+++ b/library/cpp/actors/dnsresolver/CMakeLists.linux.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(c-ares REQUIRED)
+
+add_library(cpp-actors-dnsresolver)
+target_include_directories(cpp-actors-dnsresolver PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include
+)
+target_link_libraries(cpp-actors-dnsresolver PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ c-ares::c-ares
+)
+target_sources(cpp-actors-dnsresolver PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand.cpp
+)
diff --git a/library/cpp/actors/dnsresolver/CMakeLists.txt b/library/cpp/actors/dnsresolver/CMakeLists.txt
index f4a0909db2..3e0811fb22 100644
--- a/library/cpp/actors/dnsresolver/CMakeLists.txt
+++ b/library/cpp/actors/dnsresolver/CMakeLists.txt
@@ -6,20 +6,10 @@
# original buildsystem will not be accepted.
-find_package(c-ares REQUIRED)
-
-add_library(cpp-actors-dnsresolver)
-target_include_directories(cpp-actors-dnsresolver PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include
-)
-target_link_libraries(cpp-actors-dnsresolver PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-actors-core
- c-ares::c-ares
-)
-target_sources(cpp-actors-dnsresolver PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand.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/actors/helpers/CMakeLists.darwin.txt b/library/cpp/actors/helpers/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..a9e3e369eb
--- /dev/null
+++ b/library/cpp/actors/helpers/CMakeLists.darwin.txt
@@ -0,0 +1,21 @@
+
+# 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-actors-helpers)
+target_link_libraries(cpp-actors-helpers PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ cpp-monlib-dynamic_counters
+)
+target_sources(cpp-actors-helpers PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/activeactors.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/flow_controlled_queue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/selfping_actor.cpp
+)
diff --git a/library/cpp/actors/helpers/CMakeLists.linux-aarch64.txt b/library/cpp/actors/helpers/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..52ef906f05
--- /dev/null
+++ b/library/cpp/actors/helpers/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-helpers)
+target_link_libraries(cpp-actors-helpers PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ cpp-monlib-dynamic_counters
+)
+target_sources(cpp-actors-helpers PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/activeactors.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/flow_controlled_queue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/selfping_actor.cpp
+)
diff --git a/library/cpp/actors/helpers/CMakeLists.linux.txt b/library/cpp/actors/helpers/CMakeLists.linux.txt
new file mode 100644
index 0000000000..52ef906f05
--- /dev/null
+++ b/library/cpp/actors/helpers/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-helpers)
+target_link_libraries(cpp-actors-helpers PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ cpp-monlib-dynamic_counters
+)
+target_sources(cpp-actors-helpers PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/activeactors.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/flow_controlled_queue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/selfping_actor.cpp
+)
diff --git a/library/cpp/actors/helpers/CMakeLists.txt b/library/cpp/actors/helpers/CMakeLists.txt
index a9e3e369eb..3e0811fb22 100644
--- a/library/cpp/actors/helpers/CMakeLists.txt
+++ b/library/cpp/actors/helpers/CMakeLists.txt
@@ -6,16 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-helpers)
-target_link_libraries(cpp-actors-helpers PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-actors-core
- cpp-monlib-dynamic_counters
-)
-target_sources(cpp-actors-helpers PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/activeactors.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/flow_controlled_queue.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/selfping_actor.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/actors/http/CMakeLists.darwin.txt b/library/cpp/actors/http/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..277ffc4560
--- /dev/null
+++ b/library/cpp/actors/http/CMakeLists.darwin.txt
@@ -0,0 +1,33 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+find_package(ZLIB REQUIRED)
+
+add_library(cpp-actors-http)
+target_link_libraries(cpp-actors-http PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ ZLIB::ZLIB
+ cpp-actors-core
+ cpp-actors-interconnect
+ library-cpp-dns
+ cpp-monlib-metrics
+ cpp-string_utils-quote
+)
+target_sources(cpp-actors-http PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_compress.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_acceptor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_incoming.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_outgoing.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_static.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http.cpp
+)
diff --git a/library/cpp/actors/http/CMakeLists.linux-aarch64.txt b/library/cpp/actors/http/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..66011d9355
--- /dev/null
+++ b/library/cpp/actors/http/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+find_package(ZLIB REQUIRED)
+
+add_library(cpp-actors-http)
+target_link_libraries(cpp-actors-http PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ ZLIB::ZLIB
+ cpp-actors-core
+ cpp-actors-interconnect
+ library-cpp-dns
+ cpp-monlib-metrics
+ cpp-string_utils-quote
+)
+target_sources(cpp-actors-http PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_compress.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_acceptor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_incoming.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_outgoing.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_static.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http.cpp
+)
diff --git a/library/cpp/actors/http/CMakeLists.linux.txt b/library/cpp/actors/http/CMakeLists.linux.txt
new file mode 100644
index 0000000000..66011d9355
--- /dev/null
+++ b/library/cpp/actors/http/CMakeLists.linux.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+find_package(ZLIB REQUIRED)
+
+add_library(cpp-actors-http)
+target_link_libraries(cpp-actors-http PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ ZLIB::ZLIB
+ cpp-actors-core
+ cpp-actors-interconnect
+ library-cpp-dns
+ cpp-monlib-metrics
+ cpp-string_utils-quote
+)
+target_sources(cpp-actors-http PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_compress.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_acceptor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_incoming.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_outgoing.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_static.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http.cpp
+)
diff --git a/library/cpp/actors/http/CMakeLists.txt b/library/cpp/actors/http/CMakeLists.txt
index 277ffc4560..3e0811fb22 100644
--- a/library/cpp/actors/http/CMakeLists.txt
+++ b/library/cpp/actors/http/CMakeLists.txt
@@ -6,28 +6,10 @@
# original buildsystem will not be accepted.
-find_package(OpenSSL REQUIRED)
-find_package(ZLIB REQUIRED)
-
-add_library(cpp-actors-http)
-target_link_libraries(cpp-actors-http PUBLIC
- contrib-libs-cxxsupp
- yutil
- OpenSSL::OpenSSL
- ZLIB::ZLIB
- cpp-actors-core
- cpp-actors-interconnect
- library-cpp-dns
- cpp-monlib-metrics
- cpp-string_utils-quote
-)
-target_sources(cpp-actors-http PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_cache.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_compress.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_acceptor.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_incoming.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_outgoing.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_static.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http.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/actors/interconnect/CMakeLists.linux-aarch64.txt b/library/cpp/actors/interconnect/CMakeLists.linux-aarch64.txt
index 94a7bda34d..b5201f16a0 100644
--- a/library/cpp/actors/interconnect/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/actors/interconnect/CMakeLists.linux-aarch64.txt
@@ -11,6 +11,7 @@ add_subdirectory(mock)
add_library(cpp-actors-interconnect)
target_link_libraries(cpp-actors-interconnect PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
contrib-libs-libc_compat
diff --git a/library/cpp/actors/interconnect/CMakeLists.linux.txt b/library/cpp/actors/interconnect/CMakeLists.linux.txt
index 94a7bda34d..b5201f16a0 100644
--- a/library/cpp/actors/interconnect/CMakeLists.linux.txt
+++ b/library/cpp/actors/interconnect/CMakeLists.linux.txt
@@ -11,6 +11,7 @@ add_subdirectory(mock)
add_library(cpp-actors-interconnect)
target_link_libraries(cpp-actors-interconnect PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
contrib-libs-libc_compat
diff --git a/library/cpp/actors/interconnect/mock/CMakeLists.darwin.txt b/library/cpp/actors/interconnect/mock/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..13db21524e
--- /dev/null
+++ b/library/cpp/actors/interconnect/mock/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(actors-interconnect-mock)
+target_link_libraries(actors-interconnect-mock PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-interconnect
+)
+target_sources(actors-interconnect-mock PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/mock/ic_mock.cpp
+)
diff --git a/library/cpp/actors/interconnect/mock/CMakeLists.linux-aarch64.txt b/library/cpp/actors/interconnect/mock/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..e86545f9c2
--- /dev/null
+++ b/library/cpp/actors/interconnect/mock/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(actors-interconnect-mock)
+target_link_libraries(actors-interconnect-mock PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-interconnect
+)
+target_sources(actors-interconnect-mock PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/mock/ic_mock.cpp
+)
diff --git a/library/cpp/actors/interconnect/mock/CMakeLists.linux.txt b/library/cpp/actors/interconnect/mock/CMakeLists.linux.txt
new file mode 100644
index 0000000000..e86545f9c2
--- /dev/null
+++ b/library/cpp/actors/interconnect/mock/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(actors-interconnect-mock)
+target_link_libraries(actors-interconnect-mock PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-interconnect
+)
+target_sources(actors-interconnect-mock PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/mock/ic_mock.cpp
+)
diff --git a/library/cpp/actors/interconnect/mock/CMakeLists.txt b/library/cpp/actors/interconnect/mock/CMakeLists.txt
index 13db21524e..3e0811fb22 100644
--- a/library/cpp/actors/interconnect/mock/CMakeLists.txt
+++ b/library/cpp/actors/interconnect/mock/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(actors-interconnect-mock)
-target_link_libraries(actors-interconnect-mock PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-actors-interconnect
-)
-target_sources(actors-interconnect-mock PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/mock/ic_mock.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/actors/memory_log/CMakeLists.darwin.txt b/library/cpp/actors/memory_log/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..3eb16eed1d
--- /dev/null
+++ b/library/cpp/actors/memory_log/CMakeLists.darwin.txt
@@ -0,0 +1,21 @@
+
+# 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-actors-memory_log)
+target_link_libraries(cpp-actors-memory_log PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-queue
+ contrib-libs-linuxvdso
+ cpp-deprecated-atomic
+)
+target_sources(cpp-actors-memory_log PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/memlog.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/mmap.cpp
+)
diff --git a/library/cpp/actors/memory_log/CMakeLists.linux-aarch64.txt b/library/cpp/actors/memory_log/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..46c24e7d71
--- /dev/null
+++ b/library/cpp/actors/memory_log/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-memory_log)
+target_link_libraries(cpp-actors-memory_log PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-queue
+ contrib-libs-linuxvdso
+ cpp-deprecated-atomic
+)
+target_sources(cpp-actors-memory_log PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/memlog.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/mmap.cpp
+)
diff --git a/library/cpp/actors/memory_log/CMakeLists.linux.txt b/library/cpp/actors/memory_log/CMakeLists.linux.txt
new file mode 100644
index 0000000000..46c24e7d71
--- /dev/null
+++ b/library/cpp/actors/memory_log/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-memory_log)
+target_link_libraries(cpp-actors-memory_log PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-queue
+ contrib-libs-linuxvdso
+ cpp-deprecated-atomic
+)
+target_sources(cpp-actors-memory_log PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/memlog.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/mmap.cpp
+)
diff --git a/library/cpp/actors/memory_log/CMakeLists.txt b/library/cpp/actors/memory_log/CMakeLists.txt
index 3eb16eed1d..3e0811fb22 100644
--- a/library/cpp/actors/memory_log/CMakeLists.txt
+++ b/library/cpp/actors/memory_log/CMakeLists.txt
@@ -6,16 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-memory_log)
-target_link_libraries(cpp-actors-memory_log PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-threading-queue
- contrib-libs-linuxvdso
- cpp-deprecated-atomic
-)
-target_sources(cpp-actors-memory_log PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/memlog.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/mmap.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/actors/prof/CMakeLists.darwin.txt b/library/cpp/actors/prof/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..da4124b232
--- /dev/null
+++ b/library/cpp/actors/prof/CMakeLists.darwin.txt
@@ -0,0 +1,21 @@
+
+# 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-actors-prof)
+target_link_libraries(cpp-actors-prof PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ libs-tcmalloc-malloc_extension
+ library-cpp-charset
+ cpp-containers-atomizer
+)
+target_sources(cpp-actors-prof PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tag.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tcmalloc.cpp
+)
diff --git a/library/cpp/actors/prof/CMakeLists.linux-aarch64.txt b/library/cpp/actors/prof/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a0ec95e1ab
--- /dev/null
+++ b/library/cpp/actors/prof/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-prof)
+target_link_libraries(cpp-actors-prof PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ libs-tcmalloc-malloc_extension
+ library-cpp-charset
+ cpp-containers-atomizer
+)
+target_sources(cpp-actors-prof PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tag.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tcmalloc.cpp
+)
diff --git a/library/cpp/actors/prof/CMakeLists.linux.txt b/library/cpp/actors/prof/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a0ec95e1ab
--- /dev/null
+++ b/library/cpp/actors/prof/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-prof)
+target_link_libraries(cpp-actors-prof PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ libs-tcmalloc-malloc_extension
+ library-cpp-charset
+ cpp-containers-atomizer
+)
+target_sources(cpp-actors-prof PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tag.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tcmalloc.cpp
+)
diff --git a/library/cpp/actors/prof/CMakeLists.txt b/library/cpp/actors/prof/CMakeLists.txt
index da4124b232..3e0811fb22 100644
--- a/library/cpp/actors/prof/CMakeLists.txt
+++ b/library/cpp/actors/prof/CMakeLists.txt
@@ -6,16 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-prof)
-target_link_libraries(cpp-actors-prof PUBLIC
- contrib-libs-cxxsupp
- yutil
- libs-tcmalloc-malloc_extension
- library-cpp-charset
- cpp-containers-atomizer
-)
-target_sources(cpp-actors-prof PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tag.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tcmalloc.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/actors/protos/CMakeLists.darwin.txt b/library/cpp/actors/protos/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..207460e2cc
--- /dev/null
+++ b/library/cpp/actors/protos/CMakeLists.darwin.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-protos)
+target_link_libraries(cpp-actors-protos PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-actors-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/actors.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/interconnect.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/services_common.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/unittests.proto
+)
+target_proto_addincls(cpp-actors-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-actors-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/actors/protos/CMakeLists.linux-aarch64.txt b/library/cpp/actors/protos/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..9733ae60e8
--- /dev/null
+++ b/library/cpp/actors/protos/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,35 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-protos)
+target_link_libraries(cpp-actors-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-actors-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/actors.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/interconnect.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/services_common.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/unittests.proto
+)
+target_proto_addincls(cpp-actors-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-actors-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/actors/protos/CMakeLists.linux.txt b/library/cpp/actors/protos/CMakeLists.linux.txt
new file mode 100644
index 0000000000..9733ae60e8
--- /dev/null
+++ b/library/cpp/actors/protos/CMakeLists.linux.txt
@@ -0,0 +1,35 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-protos)
+target_link_libraries(cpp-actors-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-actors-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/actors.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/interconnect.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/services_common.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/unittests.proto
+)
+target_proto_addincls(cpp-actors-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-actors-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/actors/protos/CMakeLists.txt b/library/cpp/actors/protos/CMakeLists.txt
index 207460e2cc..3e0811fb22 100644
--- a/library/cpp/actors/protos/CMakeLists.txt
+++ b/library/cpp/actors/protos/CMakeLists.txt
@@ -6,29 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-protos)
-target_link_libraries(cpp-actors-protos PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
-)
-target_proto_messages(cpp-actors-protos PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/actors.proto
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/interconnect.proto
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/services_common.proto
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/unittests.proto
-)
-target_proto_addincls(cpp-actors-protos
- ./
- ${CMAKE_SOURCE_DIR}/
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(cpp-actors-protos
- --cpp_out=${CMAKE_BINARY_DIR}/
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
-)
+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/actors/testlib/CMakeLists.darwin.txt b/library/cpp/actors/testlib/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..07cf982905
--- /dev/null
+++ b/library/cpp/actors/testlib/CMakeLists.darwin.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-testlib)
+target_link_libraries(cpp-actors-testlib PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ actors-interconnect-mock
+ cpp-actors-protos
+ library-cpp-random_provider
+ library-cpp-time_provider
+)
+target_sources(cpp-actors-testlib PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/test_runtime.cpp
+)
diff --git a/library/cpp/actors/testlib/CMakeLists.linux-aarch64.txt b/library/cpp/actors/testlib/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..4f565a0769
--- /dev/null
+++ b/library/cpp/actors/testlib/CMakeLists.linux-aarch64.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-actors-testlib)
+target_link_libraries(cpp-actors-testlib PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ actors-interconnect-mock
+ cpp-actors-protos
+ library-cpp-random_provider
+ library-cpp-time_provider
+)
+target_sources(cpp-actors-testlib PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/test_runtime.cpp
+)
diff --git a/library/cpp/actors/testlib/CMakeLists.linux.txt b/library/cpp/actors/testlib/CMakeLists.linux.txt
new file mode 100644
index 0000000000..4f565a0769
--- /dev/null
+++ b/library/cpp/actors/testlib/CMakeLists.linux.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-actors-testlib)
+target_link_libraries(cpp-actors-testlib PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ actors-interconnect-mock
+ cpp-actors-protos
+ library-cpp-random_provider
+ library-cpp-time_provider
+)
+target_sources(cpp-actors-testlib PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/test_runtime.cpp
+)
diff --git a/library/cpp/actors/testlib/CMakeLists.txt b/library/cpp/actors/testlib/CMakeLists.txt
index 07cf982905..3e0811fb22 100644
--- a/library/cpp/actors/testlib/CMakeLists.txt
+++ b/library/cpp/actors/testlib/CMakeLists.txt
@@ -6,17 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-testlib)
-target_link_libraries(cpp-actors-testlib PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-actors-core
- actors-interconnect-mock
- cpp-actors-protos
- library-cpp-random_provider
- library-cpp-time_provider
-)
-target_sources(cpp-actors-testlib PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/test_runtime.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/actors/util/CMakeLists.darwin.txt b/library/cpp/actors/util/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..19f683cb2a
--- /dev/null
+++ b/library/cpp/actors/util/CMakeLists.darwin.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-actors-util)
+target_link_libraries(cpp-actors-util PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+ library-cpp-pop_count
+)
+target_sources(cpp-actors-util PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/affinity.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_track.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/should_continue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/threadparkpad.cpp
+)
diff --git a/library/cpp/actors/util/CMakeLists.linux-aarch64.txt b/library/cpp/actors/util/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..c6673cde78
--- /dev/null
+++ b/library/cpp/actors/util/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-util)
+target_link_libraries(cpp-actors-util PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+ library-cpp-pop_count
+)
+target_sources(cpp-actors-util PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/affinity.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_track.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/should_continue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/threadparkpad.cpp
+)
diff --git a/library/cpp/actors/util/CMakeLists.linux.txt b/library/cpp/actors/util/CMakeLists.linux.txt
new file mode 100644
index 0000000000..c6673cde78
--- /dev/null
+++ b/library/cpp/actors/util/CMakeLists.linux.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-util)
+target_link_libraries(cpp-actors-util PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+ library-cpp-pop_count
+)
+target_sources(cpp-actors-util PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/affinity.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_track.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/should_continue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/threadparkpad.cpp
+)
diff --git a/library/cpp/actors/util/CMakeLists.txt b/library/cpp/actors/util/CMakeLists.txt
index 19f683cb2a..3e0811fb22 100644
--- a/library/cpp/actors/util/CMakeLists.txt
+++ b/library/cpp/actors/util/CMakeLists.txt
@@ -6,19 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-util)
-target_link_libraries(cpp-actors-util PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
- library-cpp-pop_count
-)
-target_sources(cpp-actors-util PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/affinity.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_track.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/should_continue.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/threadparkpad.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/actors/wilson/CMakeLists.darwin.txt b/library/cpp/actors/wilson/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..91f380ee05
--- /dev/null
+++ b/library/cpp/actors/wilson/CMakeLists.darwin.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(protos)
+
+add_library(cpp-actors-wilson)
+target_link_libraries(cpp-actors-wilson PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ cpp-actors-protos
+ actors-wilson-protos
+)
+target_sources(cpp-actors-wilson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_span.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_profile_span.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_trace.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_uploader.cpp
+)
diff --git a/library/cpp/actors/wilson/CMakeLists.linux-aarch64.txt b/library/cpp/actors/wilson/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..edcc32e752
--- /dev/null
+++ b/library/cpp/actors/wilson/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(protos)
+
+add_library(cpp-actors-wilson)
+target_link_libraries(cpp-actors-wilson PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ cpp-actors-protos
+ actors-wilson-protos
+)
+target_sources(cpp-actors-wilson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_span.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_profile_span.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_trace.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_uploader.cpp
+)
diff --git a/library/cpp/actors/wilson/CMakeLists.linux.txt b/library/cpp/actors/wilson/CMakeLists.linux.txt
new file mode 100644
index 0000000000..edcc32e752
--- /dev/null
+++ b/library/cpp/actors/wilson/CMakeLists.linux.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(protos)
+
+add_library(cpp-actors-wilson)
+target_link_libraries(cpp-actors-wilson PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ cpp-actors-protos
+ actors-wilson-protos
+)
+target_sources(cpp-actors-wilson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_span.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_profile_span.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_trace.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_uploader.cpp
+)
diff --git a/library/cpp/actors/wilson/CMakeLists.txt b/library/cpp/actors/wilson/CMakeLists.txt
index 91f380ee05..3e0811fb22 100644
--- a/library/cpp/actors/wilson/CMakeLists.txt
+++ b/library/cpp/actors/wilson/CMakeLists.txt
@@ -6,20 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(protos)
-
-add_library(cpp-actors-wilson)
-target_link_libraries(cpp-actors-wilson PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-actors-core
- cpp-actors-protos
- actors-wilson-protos
-)
-target_sources(cpp-actors-wilson PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_event.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_span.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_profile_span.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_trace.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_uploader.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/actors/wilson/protos/CMakeLists.darwin.txt b/library/cpp/actors/wilson/protos/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..f61a5ee58d
--- /dev/null
+++ b/library/cpp/actors/wilson/protos/CMakeLists.darwin.txt
@@ -0,0 +1,42 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(actors-wilson-protos)
+set_property(TARGET actors-wilson-protos PROPERTY
+ PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
+)
+target_link_libraries(actors-wilson-protos PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-grpc
+ contrib-libs-protobuf
+)
+target_proto_messages(actors-wilson-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/common.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/resource.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/service.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/trace.proto
+)
+target_proto_addincls(actors-wilson-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(actors-wilson-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
+target_proto_plugin(actors-wilson-protos
+ grpc_cpp
+ grpc_cpp
+)
diff --git a/library/cpp/actors/wilson/protos/CMakeLists.linux-aarch64.txt b/library/cpp/actors/wilson/protos/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..8b1fac6642
--- /dev/null
+++ b/library/cpp/actors/wilson/protos/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,43 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(actors-wilson-protos)
+set_property(TARGET actors-wilson-protos PROPERTY
+ PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
+)
+target_link_libraries(actors-wilson-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-grpc
+ contrib-libs-protobuf
+)
+target_proto_messages(actors-wilson-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/common.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/resource.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/service.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/trace.proto
+)
+target_proto_addincls(actors-wilson-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(actors-wilson-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
+target_proto_plugin(actors-wilson-protos
+ grpc_cpp
+ grpc_cpp
+)
diff --git a/library/cpp/actors/wilson/protos/CMakeLists.linux.txt b/library/cpp/actors/wilson/protos/CMakeLists.linux.txt
new file mode 100644
index 0000000000..8b1fac6642
--- /dev/null
+++ b/library/cpp/actors/wilson/protos/CMakeLists.linux.txt
@@ -0,0 +1,43 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(actors-wilson-protos)
+set_property(TARGET actors-wilson-protos PROPERTY
+ PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
+)
+target_link_libraries(actors-wilson-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-grpc
+ contrib-libs-protobuf
+)
+target_proto_messages(actors-wilson-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/common.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/resource.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/service.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/trace.proto
+)
+target_proto_addincls(actors-wilson-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(actors-wilson-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
+target_proto_plugin(actors-wilson-protos
+ grpc_cpp
+ grpc_cpp
+)
diff --git a/library/cpp/actors/wilson/protos/CMakeLists.txt b/library/cpp/actors/wilson/protos/CMakeLists.txt
index f61a5ee58d..3e0811fb22 100644
--- a/library/cpp/actors/wilson/protos/CMakeLists.txt
+++ b/library/cpp/actors/wilson/protos/CMakeLists.txt
@@ -6,37 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(actors-wilson-protos)
-set_property(TARGET actors-wilson-protos PROPERTY
- PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
-)
-target_link_libraries(actors-wilson-protos PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-grpc
- contrib-libs-protobuf
-)
-target_proto_messages(actors-wilson-protos PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/common.proto
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/resource.proto
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/service.proto
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/trace.proto
-)
-target_proto_addincls(actors-wilson-protos
- ./
- ${CMAKE_SOURCE_DIR}/
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(actors-wilson-protos
- --cpp_out=${CMAKE_BINARY_DIR}/
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
-)
-target_proto_plugin(actors-wilson-protos
- grpc_cpp
- grpc_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/archive/CMakeLists.darwin.txt b/library/cpp/archive/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..161dcb35f0
--- /dev/null
+++ b/library/cpp/archive/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(library-cpp-archive)
+target_link_libraries(library-cpp-archive PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-archive PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/archive/yarchive.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/archive/directory_models_archive_reader.cpp
+)
diff --git a/library/cpp/archive/CMakeLists.linux-aarch64.txt b/library/cpp/archive/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..3e060d55bc
--- /dev/null
+++ b/library/cpp/archive/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(library-cpp-archive)
+target_link_libraries(library-cpp-archive PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-archive PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/archive/yarchive.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/archive/directory_models_archive_reader.cpp
+)
diff --git a/library/cpp/archive/CMakeLists.linux.txt b/library/cpp/archive/CMakeLists.linux.txt
new file mode 100644
index 0000000000..3e060d55bc
--- /dev/null
+++ b/library/cpp/archive/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(library-cpp-archive)
+target_link_libraries(library-cpp-archive PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-archive PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/archive/yarchive.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/archive/directory_models_archive_reader.cpp
+)
diff --git a/library/cpp/archive/CMakeLists.txt b/library/cpp/archive/CMakeLists.txt
index 161dcb35f0..3e0811fb22 100644
--- a/library/cpp/archive/CMakeLists.txt
+++ b/library/cpp/archive/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-archive)
-target_link_libraries(library-cpp-archive PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-archive PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/archive/yarchive.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/archive/directory_models_archive_reader.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/balloc/CMakeLists.darwin.txt b/library/cpp/balloc/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..9f044845ba
--- /dev/null
+++ b/library/cpp/balloc/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_subdirectory(lib)
+add_subdirectory(setup)
+
+add_library(library-cpp-balloc)
+target_compile_options(library-cpp-balloc PRIVATE
+ -Wno-everything
+)
+target_link_libraries(library-cpp-balloc PUBLIC
+ contrib-libs-cxxsupp
+ cpp-balloc-lib
+)
+target_sources(library-cpp-balloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/balloc/balloc.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/balloc/malloc-info.cpp
+)
diff --git a/library/cpp/balloc/CMakeLists.linux-aarch64.txt b/library/cpp/balloc/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..912c679532
--- /dev/null
+++ b/library/cpp/balloc/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_subdirectory(lib)
+add_subdirectory(setup)
+
+add_library(library-cpp-balloc)
+target_compile_options(library-cpp-balloc PRIVATE
+ -Wno-everything
+)
+target_link_libraries(library-cpp-balloc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ cpp-balloc-lib
+)
+target_sources(library-cpp-balloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/balloc/balloc.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/balloc/malloc-info.cpp
+)
diff --git a/library/cpp/balloc/CMakeLists.linux.txt b/library/cpp/balloc/CMakeLists.linux.txt
new file mode 100644
index 0000000000..912c679532
--- /dev/null
+++ b/library/cpp/balloc/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_subdirectory(lib)
+add_subdirectory(setup)
+
+add_library(library-cpp-balloc)
+target_compile_options(library-cpp-balloc PRIVATE
+ -Wno-everything
+)
+target_link_libraries(library-cpp-balloc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ cpp-balloc-lib
+)
+target_sources(library-cpp-balloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/balloc/balloc.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/balloc/malloc-info.cpp
+)
diff --git a/library/cpp/balloc/CMakeLists.txt b/library/cpp/balloc/CMakeLists.txt
index 9f044845ba..3e0811fb22 100644
--- a/library/cpp/balloc/CMakeLists.txt
+++ b/library/cpp/balloc/CMakeLists.txt
@@ -6,18 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(lib)
-add_subdirectory(setup)
-
-add_library(library-cpp-balloc)
-target_compile_options(library-cpp-balloc PRIVATE
- -Wno-everything
-)
-target_link_libraries(library-cpp-balloc PUBLIC
- contrib-libs-cxxsupp
- cpp-balloc-lib
-)
-target_sources(library-cpp-balloc PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/balloc/balloc.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/balloc/malloc-info.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/balloc/lib/CMakeLists.linux-aarch64.txt b/library/cpp/balloc/lib/CMakeLists.linux-aarch64.txt
index 7cd6c1e33b..cc75248d9d 100644
--- a/library/cpp/balloc/lib/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/balloc/lib/CMakeLists.linux-aarch64.txt
@@ -12,6 +12,7 @@ target_compile_options(cpp-balloc-lib PRIVATE
-Wno-everything
)
target_link_libraries(cpp-balloc-lib PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
contrib-libs-linuxvdso
cpp-balloc-setup
diff --git a/library/cpp/balloc/lib/CMakeLists.linux.txt b/library/cpp/balloc/lib/CMakeLists.linux.txt
index 7cd6c1e33b..cc75248d9d 100644
--- a/library/cpp/balloc/lib/CMakeLists.linux.txt
+++ b/library/cpp/balloc/lib/CMakeLists.linux.txt
@@ -12,6 +12,7 @@ target_compile_options(cpp-balloc-lib PRIVATE
-Wno-everything
)
target_link_libraries(cpp-balloc-lib PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
contrib-libs-linuxvdso
cpp-balloc-setup
diff --git a/library/cpp/balloc/setup/CMakeLists.darwin.txt b/library/cpp/balloc/setup/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..82c9d69c0c
--- /dev/null
+++ b/library/cpp/balloc/setup/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-balloc-setup)
+target_link_libraries(cpp-balloc-setup PUBLIC
+ contrib-libs-cxxsupp
+)
+target_sources(cpp-balloc-setup PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/balloc/setup/alloc.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/balloc/setup/enable.cpp
+)
diff --git a/library/cpp/balloc/setup/CMakeLists.linux-aarch64.txt b/library/cpp/balloc/setup/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..e6b75f9983
--- /dev/null
+++ b/library/cpp/balloc/setup/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-balloc-setup)
+target_link_libraries(cpp-balloc-setup PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+)
+target_sources(cpp-balloc-setup PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/balloc/setup/alloc.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/balloc/setup/enable.cpp
+)
diff --git a/library/cpp/balloc/setup/CMakeLists.linux.txt b/library/cpp/balloc/setup/CMakeLists.linux.txt
new file mode 100644
index 0000000000..e6b75f9983
--- /dev/null
+++ b/library/cpp/balloc/setup/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-balloc-setup)
+target_link_libraries(cpp-balloc-setup PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+)
+target_sources(cpp-balloc-setup PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/balloc/setup/alloc.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/balloc/setup/enable.cpp
+)
diff --git a/library/cpp/balloc/setup/CMakeLists.txt b/library/cpp/balloc/setup/CMakeLists.txt
index 82c9d69c0c..3e0811fb22 100644
--- a/library/cpp/balloc/setup/CMakeLists.txt
+++ b/library/cpp/balloc/setup/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-balloc-setup)
-target_link_libraries(cpp-balloc-setup PUBLIC
- contrib-libs-cxxsupp
-)
-target_sources(cpp-balloc-setup PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/balloc/setup/alloc.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/balloc/setup/enable.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/binsaver/CMakeLists.darwin.txt b/library/cpp/binsaver/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..4ae1718e76
--- /dev/null
+++ b/library/cpp/binsaver/CMakeLists.darwin.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-binsaver)
+target_link_libraries(library-cpp-binsaver PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-2d_array
+)
+target_sources(library-cpp-binsaver PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/bin_saver.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/blob_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/buffered_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/mem_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/util_stream_io.cpp
+)
diff --git a/library/cpp/binsaver/CMakeLists.linux-aarch64.txt b/library/cpp/binsaver/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..2ba71f7408
--- /dev/null
+++ b/library/cpp/binsaver/CMakeLists.linux-aarch64.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(library-cpp-binsaver)
+target_link_libraries(library-cpp-binsaver PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-2d_array
+)
+target_sources(library-cpp-binsaver PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/bin_saver.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/blob_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/buffered_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/mem_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/util_stream_io.cpp
+)
diff --git a/library/cpp/binsaver/CMakeLists.linux.txt b/library/cpp/binsaver/CMakeLists.linux.txt
new file mode 100644
index 0000000000..2ba71f7408
--- /dev/null
+++ b/library/cpp/binsaver/CMakeLists.linux.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(library-cpp-binsaver)
+target_link_libraries(library-cpp-binsaver PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-2d_array
+)
+target_sources(library-cpp-binsaver PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/bin_saver.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/blob_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/buffered_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/mem_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/util_stream_io.cpp
+)
diff --git a/library/cpp/binsaver/CMakeLists.txt b/library/cpp/binsaver/CMakeLists.txt
index 4ae1718e76..3e0811fb22 100644
--- a/library/cpp/binsaver/CMakeLists.txt
+++ b/library/cpp/binsaver/CMakeLists.txt
@@ -6,17 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-binsaver)
-target_link_libraries(library-cpp-binsaver PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-containers-2d_array
-)
-target_sources(library-cpp-binsaver PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/bin_saver.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/blob_io.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/buffered_io.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/mem_io.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/util_stream_io.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/bit_io/CMakeLists.darwin.txt b/library/cpp/bit_io/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..63b4030bb2
--- /dev/null
+++ b/library/cpp/bit_io/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-bit_io)
+target_link_libraries(library-cpp-bit_io PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-accessors
+)
+target_sources(library-cpp-bit_io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitinput.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitinput_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitoutput.cpp
+)
diff --git a/library/cpp/bit_io/CMakeLists.linux-aarch64.txt b/library/cpp/bit_io/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..f5d238c88b
--- /dev/null
+++ b/library/cpp/bit_io/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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(library-cpp-bit_io)
+target_link_libraries(library-cpp-bit_io PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-accessors
+)
+target_sources(library-cpp-bit_io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitinput.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitinput_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitoutput.cpp
+)
diff --git a/library/cpp/bit_io/CMakeLists.linux.txt b/library/cpp/bit_io/CMakeLists.linux.txt
new file mode 100644
index 0000000000..f5d238c88b
--- /dev/null
+++ b/library/cpp/bit_io/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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(library-cpp-bit_io)
+target_link_libraries(library-cpp-bit_io PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-accessors
+)
+target_sources(library-cpp-bit_io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitinput.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitinput_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitoutput.cpp
+)
diff --git a/library/cpp/bit_io/CMakeLists.txt b/library/cpp/bit_io/CMakeLists.txt
index 63b4030bb2..3e0811fb22 100644
--- a/library/cpp/bit_io/CMakeLists.txt
+++ b/library/cpp/bit_io/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-bit_io)
-target_link_libraries(library-cpp-bit_io PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-accessors
-)
-target_sources(library-cpp-bit_io PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitinput.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitinput_impl.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitoutput.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/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()
diff --git a/library/cpp/bucket_quoter/CMakeLists.darwin.txt b/library/cpp/bucket_quoter/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..3f20798aed
--- /dev/null
+++ b/library/cpp/bucket_quoter/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(library-cpp-bucket_quoter)
+target_link_libraries(library-cpp-bucket_quoter PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-bucket_quoter PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/bucket_quoter/bucket_quoter.cpp
+)
diff --git a/library/cpp/bucket_quoter/CMakeLists.linux-aarch64.txt b/library/cpp/bucket_quoter/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..3513a3b6df
--- /dev/null
+++ b/library/cpp/bucket_quoter/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(library-cpp-bucket_quoter)
+target_link_libraries(library-cpp-bucket_quoter PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-bucket_quoter PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/bucket_quoter/bucket_quoter.cpp
+)
diff --git a/library/cpp/bucket_quoter/CMakeLists.linux.txt b/library/cpp/bucket_quoter/CMakeLists.linux.txt
new file mode 100644
index 0000000000..3513a3b6df
--- /dev/null
+++ b/library/cpp/bucket_quoter/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(library-cpp-bucket_quoter)
+target_link_libraries(library-cpp-bucket_quoter PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-bucket_quoter PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/bucket_quoter/bucket_quoter.cpp
+)
diff --git a/library/cpp/bucket_quoter/CMakeLists.txt b/library/cpp/bucket_quoter/CMakeLists.txt
index 3f20798aed..3e0811fb22 100644
--- a/library/cpp/bucket_quoter/CMakeLists.txt
+++ b/library/cpp/bucket_quoter/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-bucket_quoter)
-target_link_libraries(library-cpp-bucket_quoter PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
-)
-target_sources(library-cpp-bucket_quoter PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/bucket_quoter/bucket_quoter.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/build_info/CMakeLists.darwin.txt b/library/cpp/build_info/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..4e8b5bedca
--- /dev/null
+++ b/library/cpp/build_info/CMakeLists.darwin.txt
@@ -0,0 +1,57 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(Python2 REQUIRED)
+
+add_library(library-cpp-build_info)
+target_include_directories(library-cpp-build_info PUBLIC
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info
+)
+target_link_libraries(library-cpp-build_info PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-string_utils-base64
+)
+target_sources(library-cpp-build_info PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info_static.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
+)
+add_custom_command(
+ OUTPUT
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
+ DEPENDS
+ ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py
+ COMMAND
+ Python2::Interpreter
+ ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
+ \"${CMAKE_CXX_COMPILER}\"
+ \"${CMAKE_CXX_FLAGS}\"
+)
+set(
+ KOSHER_SVN_VERSION
+
+)
+set(
+ SANDBOX_TASK_ID
+ 0
+)
+configure_file(
+ ${CMAKE_SOURCE_DIR}/library/cpp/build_info/sandbox.cpp.in
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
+)
+set(
+ BUILD_TYPE
+ RELEASE
+)
+configure_file(
+ ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info.cpp.in
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
+)
diff --git a/library/cpp/build_info/CMakeLists.linux-aarch64.txt b/library/cpp/build_info/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..23ee073bb7
--- /dev/null
+++ b/library/cpp/build_info/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,58 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(Python2 REQUIRED)
+
+add_library(library-cpp-build_info)
+target_include_directories(library-cpp-build_info PUBLIC
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info
+)
+target_link_libraries(library-cpp-build_info PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-string_utils-base64
+)
+target_sources(library-cpp-build_info PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info_static.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
+)
+add_custom_command(
+ OUTPUT
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
+ DEPENDS
+ ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py
+ COMMAND
+ Python2::Interpreter
+ ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
+ \"${CMAKE_CXX_COMPILER}\"
+ \"${CMAKE_CXX_FLAGS}\"
+)
+set(
+ KOSHER_SVN_VERSION
+
+)
+set(
+ SANDBOX_TASK_ID
+ 0
+)
+configure_file(
+ ${CMAKE_SOURCE_DIR}/library/cpp/build_info/sandbox.cpp.in
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
+)
+set(
+ BUILD_TYPE
+ RELEASE
+)
+configure_file(
+ ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info.cpp.in
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
+)
diff --git a/library/cpp/build_info/CMakeLists.linux.txt b/library/cpp/build_info/CMakeLists.linux.txt
new file mode 100644
index 0000000000..23ee073bb7
--- /dev/null
+++ b/library/cpp/build_info/CMakeLists.linux.txt
@@ -0,0 +1,58 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(Python2 REQUIRED)
+
+add_library(library-cpp-build_info)
+target_include_directories(library-cpp-build_info PUBLIC
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info
+)
+target_link_libraries(library-cpp-build_info PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-string_utils-base64
+)
+target_sources(library-cpp-build_info PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info_static.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
+)
+add_custom_command(
+ OUTPUT
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
+ DEPENDS
+ ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py
+ COMMAND
+ Python2::Interpreter
+ ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
+ \"${CMAKE_CXX_COMPILER}\"
+ \"${CMAKE_CXX_FLAGS}\"
+)
+set(
+ KOSHER_SVN_VERSION
+
+)
+set(
+ SANDBOX_TASK_ID
+ 0
+)
+configure_file(
+ ${CMAKE_SOURCE_DIR}/library/cpp/build_info/sandbox.cpp.in
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
+)
+set(
+ BUILD_TYPE
+ RELEASE
+)
+configure_file(
+ ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info.cpp.in
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
+)
diff --git a/library/cpp/build_info/CMakeLists.txt b/library/cpp/build_info/CMakeLists.txt
index 4e8b5bedca..3e0811fb22 100644
--- a/library/cpp/build_info/CMakeLists.txt
+++ b/library/cpp/build_info/CMakeLists.txt
@@ -6,52 +6,10 @@
# original buildsystem will not be accepted.
-find_package(Python2 REQUIRED)
-
-add_library(library-cpp-build_info)
-target_include_directories(library-cpp-build_info PUBLIC
- ${CMAKE_BINARY_DIR}/library/cpp/build_info
-)
-target_link_libraries(library-cpp-build_info PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-string_utils-base64
-)
-target_sources(library-cpp-build_info PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info_static.cpp
- ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
- ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
- ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp
-)
-add_custom_command(
- OUTPUT
- ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
- DEPENDS
- ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py
- COMMAND
- Python2::Interpreter
- ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py
- ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
- \"${CMAKE_CXX_COMPILER}\"
- \"${CMAKE_CXX_FLAGS}\"
-)
-set(
- KOSHER_SVN_VERSION
-
-)
-set(
- SANDBOX_TASK_ID
- 0
-)
-configure_file(
- ${CMAKE_SOURCE_DIR}/library/cpp/build_info/sandbox.cpp.in
- ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp
-)
-set(
- BUILD_TYPE
- RELEASE
-)
-configure_file(
- ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info.cpp.in
- ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.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/cache/CMakeLists.darwin.txt b/library/cpp/cache/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..8b88a0562f
--- /dev/null
+++ b/library/cpp/cache/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(library-cpp-cache)
+target_link_libraries(library-cpp-cache PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-cache PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/cache/cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/cache/thread_safe_cache.cpp
+)
diff --git a/library/cpp/cache/CMakeLists.linux-aarch64.txt b/library/cpp/cache/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ae6d09f6bc
--- /dev/null
+++ b/library/cpp/cache/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(library-cpp-cache)
+target_link_libraries(library-cpp-cache PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-cache PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/cache/cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/cache/thread_safe_cache.cpp
+)
diff --git a/library/cpp/cache/CMakeLists.linux.txt b/library/cpp/cache/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ae6d09f6bc
--- /dev/null
+++ b/library/cpp/cache/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(library-cpp-cache)
+target_link_libraries(library-cpp-cache PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-cache PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/cache/cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/cache/thread_safe_cache.cpp
+)
diff --git a/library/cpp/cache/CMakeLists.txt b/library/cpp/cache/CMakeLists.txt
index 8b88a0562f..3e0811fb22 100644
--- a/library/cpp/cache/CMakeLists.txt
+++ b/library/cpp/cache/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-cache)
-target_link_libraries(library-cpp-cache PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-cache PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/cache/cache.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/cache/thread_safe_cache.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/case_insensitive_string/CMakeLists.darwin.txt b/library/cpp/case_insensitive_string/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..c7bbde9588
--- /dev/null
+++ b/library/cpp/case_insensitive_string/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-case_insensitive_string)
+target_link_libraries(library-cpp-case_insensitive_string PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libc_compat
+ cpp-digest-murmur
+)
+target_sources(library-cpp-case_insensitive_string PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/case_insensitive_string/case_insensitive_char_traits.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/case_insensitive_string/case_insensitive_string.cpp
+)
diff --git a/library/cpp/case_insensitive_string/CMakeLists.linux-aarch64.txt b/library/cpp/case_insensitive_string/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..bceb1c8cb7
--- /dev/null
+++ b/library/cpp/case_insensitive_string/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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(library-cpp-case_insensitive_string)
+target_link_libraries(library-cpp-case_insensitive_string PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libc_compat
+ cpp-digest-murmur
+)
+target_sources(library-cpp-case_insensitive_string PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/case_insensitive_string/case_insensitive_char_traits.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/case_insensitive_string/case_insensitive_string.cpp
+)
diff --git a/library/cpp/case_insensitive_string/CMakeLists.linux.txt b/library/cpp/case_insensitive_string/CMakeLists.linux.txt
new file mode 100644
index 0000000000..bceb1c8cb7
--- /dev/null
+++ b/library/cpp/case_insensitive_string/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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(library-cpp-case_insensitive_string)
+target_link_libraries(library-cpp-case_insensitive_string PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libc_compat
+ cpp-digest-murmur
+)
+target_sources(library-cpp-case_insensitive_string PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/case_insensitive_string/case_insensitive_char_traits.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/case_insensitive_string/case_insensitive_string.cpp
+)
diff --git a/library/cpp/case_insensitive_string/CMakeLists.txt b/library/cpp/case_insensitive_string/CMakeLists.txt
index c7bbde9588..3e0811fb22 100644
--- a/library/cpp/case_insensitive_string/CMakeLists.txt
+++ b/library/cpp/case_insensitive_string/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-case_insensitive_string)
-target_link_libraries(library-cpp-case_insensitive_string PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-libc_compat
- cpp-digest-murmur
-)
-target_sources(library-cpp-case_insensitive_string PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/case_insensitive_string/case_insensitive_char_traits.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/case_insensitive_string/case_insensitive_string.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/cgiparam/CMakeLists.darwin.txt b/library/cpp/cgiparam/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..2b360f82a1
--- /dev/null
+++ b/library/cpp/cgiparam/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-cgiparam)
+target_link_libraries(library-cpp-cgiparam PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-iterator
+ cpp-string_utils-quote
+ cpp-string_utils-scan
+)
+target_sources(library-cpp-cgiparam PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/cgiparam/cgiparam.cpp
+)
diff --git a/library/cpp/cgiparam/CMakeLists.linux-aarch64.txt b/library/cpp/cgiparam/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..cbd35ae798
--- /dev/null
+++ b/library/cpp/cgiparam/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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(library-cpp-cgiparam)
+target_link_libraries(library-cpp-cgiparam PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-iterator
+ cpp-string_utils-quote
+ cpp-string_utils-scan
+)
+target_sources(library-cpp-cgiparam PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/cgiparam/cgiparam.cpp
+)
diff --git a/library/cpp/cgiparam/CMakeLists.linux.txt b/library/cpp/cgiparam/CMakeLists.linux.txt
new file mode 100644
index 0000000000..cbd35ae798
--- /dev/null
+++ b/library/cpp/cgiparam/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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(library-cpp-cgiparam)
+target_link_libraries(library-cpp-cgiparam PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-iterator
+ cpp-string_utils-quote
+ cpp-string_utils-scan
+)
+target_sources(library-cpp-cgiparam PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/cgiparam/cgiparam.cpp
+)
diff --git a/library/cpp/cgiparam/CMakeLists.txt b/library/cpp/cgiparam/CMakeLists.txt
index 2b360f82a1..3e0811fb22 100644
--- a/library/cpp/cgiparam/CMakeLists.txt
+++ b/library/cpp/cgiparam/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-cgiparam)
-target_link_libraries(library-cpp-cgiparam PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-iterator
- cpp-string_utils-quote
- cpp-string_utils-scan
-)
-target_sources(library-cpp-cgiparam PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/cgiparam/cgiparam.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/charset/CMakeLists.darwin.txt b/library/cpp/charset/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..cb5c16891d
--- /dev/null
+++ b/library/cpp/charset/CMakeLists.darwin.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(Iconv REQUIRED)
+
+add_library(library-cpp-charset)
+target_link_libraries(library-cpp-charset PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ Iconv::Iconv
+)
+target_sources(library-cpp-charset PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/generated/cp_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/generated/encrec_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/codepage.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/cp_encrec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/doccodes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/iconv.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/ci_string.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/wide.cpp
+)
diff --git a/library/cpp/charset/CMakeLists.linux-aarch64.txt b/library/cpp/charset/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..03b01e7c69
--- /dev/null
+++ b/library/cpp/charset/CMakeLists.linux-aarch64.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.
+
+
+find_package(Iconv REQUIRED)
+
+add_library(library-cpp-charset)
+target_link_libraries(library-cpp-charset PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ Iconv::Iconv
+)
+target_sources(library-cpp-charset PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/generated/cp_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/generated/encrec_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/codepage.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/cp_encrec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/doccodes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/iconv.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/ci_string.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/wide.cpp
+)
diff --git a/library/cpp/charset/CMakeLists.linux.txt b/library/cpp/charset/CMakeLists.linux.txt
new file mode 100644
index 0000000000..03b01e7c69
--- /dev/null
+++ b/library/cpp/charset/CMakeLists.linux.txt
@@ -0,0 +1,27 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(Iconv REQUIRED)
+
+add_library(library-cpp-charset)
+target_link_libraries(library-cpp-charset PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ Iconv::Iconv
+)
+target_sources(library-cpp-charset PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/generated/cp_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/generated/encrec_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/codepage.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/cp_encrec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/doccodes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/iconv.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/ci_string.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/charset/wide.cpp
+)
diff --git a/library/cpp/charset/CMakeLists.txt b/library/cpp/charset/CMakeLists.txt
index cb5c16891d..3e0811fb22 100644
--- a/library/cpp/charset/CMakeLists.txt
+++ b/library/cpp/charset/CMakeLists.txt
@@ -6,21 +6,10 @@
# original buildsystem will not be accepted.
-find_package(Iconv REQUIRED)
-
-add_library(library-cpp-charset)
-target_link_libraries(library-cpp-charset PUBLIC
- contrib-libs-cxxsupp
- yutil
- Iconv::Iconv
-)
-target_sources(library-cpp-charset PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/charset/generated/cp_data.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/charset/generated/encrec_data.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/charset/codepage.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/charset/cp_encrec.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/charset/doccodes.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/charset/iconv.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/charset/ci_string.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/charset/wide.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/codecs/CMakeLists.darwin.txt b/library/cpp/codecs/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..776e37d335
--- /dev/null
+++ b/library/cpp/codecs/CMakeLists.darwin.txt
@@ -0,0 +1,36 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(greedy_dict)
+
+add_library(library-cpp-codecs)
+target_link_libraries(library-cpp-codecs PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd
+ library-cpp-bit_io
+ library-cpp-blockcodecs
+ cpp-codecs-greedy_dict
+ library-cpp-comptable
+ cpp-containers-comptrie
+ cpp-deprecated-accessors
+ library-cpp-packers
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(library-cpp-codecs PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/tls_cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/codecs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/codecs_registry.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/comptable_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/delta_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/float_huffman.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/huffman_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/pfor_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/solar_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/zstd_dict_codec.cpp
+)
diff --git a/library/cpp/codecs/CMakeLists.linux-aarch64.txt b/library/cpp/codecs/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..183a8c0739
--- /dev/null
+++ b/library/cpp/codecs/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,37 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(greedy_dict)
+
+add_library(library-cpp-codecs)
+target_link_libraries(library-cpp-codecs PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd
+ library-cpp-bit_io
+ library-cpp-blockcodecs
+ cpp-codecs-greedy_dict
+ library-cpp-comptable
+ cpp-containers-comptrie
+ cpp-deprecated-accessors
+ library-cpp-packers
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(library-cpp-codecs PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/tls_cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/codecs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/codecs_registry.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/comptable_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/delta_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/float_huffman.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/huffman_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/pfor_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/solar_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/zstd_dict_codec.cpp
+)
diff --git a/library/cpp/codecs/CMakeLists.linux.txt b/library/cpp/codecs/CMakeLists.linux.txt
new file mode 100644
index 0000000000..183a8c0739
--- /dev/null
+++ b/library/cpp/codecs/CMakeLists.linux.txt
@@ -0,0 +1,37 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(greedy_dict)
+
+add_library(library-cpp-codecs)
+target_link_libraries(library-cpp-codecs PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd
+ library-cpp-bit_io
+ library-cpp-blockcodecs
+ cpp-codecs-greedy_dict
+ library-cpp-comptable
+ cpp-containers-comptrie
+ cpp-deprecated-accessors
+ library-cpp-packers
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(library-cpp-codecs PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/tls_cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/codecs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/codecs_registry.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/comptable_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/delta_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/float_huffman.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/huffman_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/pfor_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/solar_codec.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/zstd_dict_codec.cpp
+)
diff --git a/library/cpp/codecs/CMakeLists.txt b/library/cpp/codecs/CMakeLists.txt
index 776e37d335..3e0811fb22 100644
--- a/library/cpp/codecs/CMakeLists.txt
+++ b/library/cpp/codecs/CMakeLists.txt
@@ -6,31 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(greedy_dict)
-
-add_library(library-cpp-codecs)
-target_link_libraries(library-cpp-codecs PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-zstd
- library-cpp-bit_io
- library-cpp-blockcodecs
- cpp-codecs-greedy_dict
- library-cpp-comptable
- cpp-containers-comptrie
- cpp-deprecated-accessors
- library-cpp-packers
- cpp-string_utils-relaxed_escaper
-)
-target_sources(library-cpp-codecs PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/codecs/tls_cache.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/codecs/codecs.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/codecs/codecs_registry.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/codecs/comptable_codec.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/codecs/delta_codec.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/codecs/float_huffman.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/codecs/huffman_codec.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/codecs/pfor_codec.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/codecs/solar_codec.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/codecs/zstd_dict_codec.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/codecs/greedy_dict/CMakeLists.darwin.txt b/library/cpp/codecs/greedy_dict/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..aee24f27e9
--- /dev/null
+++ b/library/cpp/codecs/greedy_dict/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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-codecs-greedy_dict)
+target_link_libraries(cpp-codecs-greedy_dict PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-comptrie
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(cpp-codecs-greedy_dict PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/greedy_dict/gd_builder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/greedy_dict/gd_entry.cpp
+)
diff --git a/library/cpp/codecs/greedy_dict/CMakeLists.linux-aarch64.txt b/library/cpp/codecs/greedy_dict/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ae35bfcfa2
--- /dev/null
+++ b/library/cpp/codecs/greedy_dict/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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-codecs-greedy_dict)
+target_link_libraries(cpp-codecs-greedy_dict PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-comptrie
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(cpp-codecs-greedy_dict PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/greedy_dict/gd_builder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/greedy_dict/gd_entry.cpp
+)
diff --git a/library/cpp/codecs/greedy_dict/CMakeLists.linux.txt b/library/cpp/codecs/greedy_dict/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ae35bfcfa2
--- /dev/null
+++ b/library/cpp/codecs/greedy_dict/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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-codecs-greedy_dict)
+target_link_libraries(cpp-codecs-greedy_dict PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-comptrie
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(cpp-codecs-greedy_dict PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/greedy_dict/gd_builder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/codecs/greedy_dict/gd_entry.cpp
+)
diff --git a/library/cpp/codecs/greedy_dict/CMakeLists.txt b/library/cpp/codecs/greedy_dict/CMakeLists.txt
index aee24f27e9..3e0811fb22 100644
--- a/library/cpp/codecs/greedy_dict/CMakeLists.txt
+++ b/library/cpp/codecs/greedy_dict/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-codecs-greedy_dict)
-target_link_libraries(cpp-codecs-greedy_dict PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-containers-comptrie
- cpp-string_utils-relaxed_escaper
-)
-target_sources(cpp-codecs-greedy_dict PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/codecs/greedy_dict/gd_builder.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/codecs/greedy_dict/gd_entry.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/colorizer/CMakeLists.darwin.txt b/library/cpp/colorizer/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..41068e8c8f
--- /dev/null
+++ b/library/cpp/colorizer/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(library-cpp-colorizer)
+target_link_libraries(library-cpp-colorizer PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-colorizer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/colorizer/colors.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/colorizer/output.cpp
+)
diff --git a/library/cpp/colorizer/CMakeLists.linux-aarch64.txt b/library/cpp/colorizer/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..da3f19cc78
--- /dev/null
+++ b/library/cpp/colorizer/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(library-cpp-colorizer)
+target_link_libraries(library-cpp-colorizer PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-colorizer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/colorizer/colors.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/colorizer/output.cpp
+)
diff --git a/library/cpp/colorizer/CMakeLists.linux.txt b/library/cpp/colorizer/CMakeLists.linux.txt
new file mode 100644
index 0000000000..da3f19cc78
--- /dev/null
+++ b/library/cpp/colorizer/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(library-cpp-colorizer)
+target_link_libraries(library-cpp-colorizer PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-colorizer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/colorizer/colors.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/colorizer/output.cpp
+)
diff --git a/library/cpp/colorizer/CMakeLists.txt b/library/cpp/colorizer/CMakeLists.txt
index 41068e8c8f..3e0811fb22 100644
--- a/library/cpp/colorizer/CMakeLists.txt
+++ b/library/cpp/colorizer/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-colorizer)
-target_link_libraries(library-cpp-colorizer PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-colorizer PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/colorizer/colors.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/colorizer/output.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/compproto/CMakeLists.darwin.txt b/library/cpp/compproto/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..efca6472a2
--- /dev/null
+++ b/library/cpp/compproto/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(library-cpp-compproto)
+target_link_libraries(library-cpp-compproto PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-compproto PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/compproto/lib.cpp
+)
diff --git a/library/cpp/compproto/CMakeLists.linux-aarch64.txt b/library/cpp/compproto/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..59bcdb195c
--- /dev/null
+++ b/library/cpp/compproto/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(library-cpp-compproto)
+target_link_libraries(library-cpp-compproto PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-compproto PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/compproto/lib.cpp
+)
diff --git a/library/cpp/compproto/CMakeLists.linux.txt b/library/cpp/compproto/CMakeLists.linux.txt
new file mode 100644
index 0000000000..59bcdb195c
--- /dev/null
+++ b/library/cpp/compproto/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(library-cpp-compproto)
+target_link_libraries(library-cpp-compproto PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-compproto PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/compproto/lib.cpp
+)
diff --git a/library/cpp/compproto/CMakeLists.txt b/library/cpp/compproto/CMakeLists.txt
index efca6472a2..3e0811fb22 100644
--- a/library/cpp/compproto/CMakeLists.txt
+++ b/library/cpp/compproto/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-compproto)
-target_link_libraries(library-cpp-compproto PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-compproto PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/compproto/lib.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/comptable/CMakeLists.darwin.txt b/library/cpp/comptable/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..e1c2fde855
--- /dev/null
+++ b/library/cpp/comptable/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(library-cpp-comptable)
+target_link_libraries(library-cpp-comptable PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-compproto
+)
+target_sources(library-cpp-comptable PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/comptable/comptable.cpp
+)
diff --git a/library/cpp/comptable/CMakeLists.linux-aarch64.txt b/library/cpp/comptable/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..e67292b425
--- /dev/null
+++ b/library/cpp/comptable/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(library-cpp-comptable)
+target_link_libraries(library-cpp-comptable PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-compproto
+)
+target_sources(library-cpp-comptable PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/comptable/comptable.cpp
+)
diff --git a/library/cpp/comptable/CMakeLists.linux.txt b/library/cpp/comptable/CMakeLists.linux.txt
new file mode 100644
index 0000000000..e67292b425
--- /dev/null
+++ b/library/cpp/comptable/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(library-cpp-comptable)
+target_link_libraries(library-cpp-comptable PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-compproto
+)
+target_sources(library-cpp-comptable PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/comptable/comptable.cpp
+)
diff --git a/library/cpp/comptable/CMakeLists.txt b/library/cpp/comptable/CMakeLists.txt
index e1c2fde855..3e0811fb22 100644
--- a/library/cpp/comptable/CMakeLists.txt
+++ b/library/cpp/comptable/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-comptable)
-target_link_libraries(library-cpp-comptable PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-compproto
-)
-target_sources(library-cpp-comptable PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/comptable/comptable.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/config/CMakeLists.darwin.txt b/library/cpp/config/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..ff3bb032ac
--- /dev/null
+++ b/library/cpp/config/CMakeLists.darwin.txt
@@ -0,0 +1,49 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-config)
+target_include_directories(library-cpp-config PUBLIC
+ ${CMAKE_BINARY_DIR}/library/cpp/config
+)
+target_link_libraries(library-cpp-config PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-archive
+ library-cpp-json
+ library-cpp-lua
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(library-cpp-config PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/config.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/sax.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/value.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/markup.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/ini.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/domscheme.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
+)
+add_custom_command(
+ OUTPUT
+ ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
+ DEPENDS
+ ${TOOLS_ROOT}/tools/archiver/archiver
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua
+ COMMAND
+ ${TOOLS_ROOT}/tools/archiver/archiver
+ -q
+ -x
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua:
+ -o
+ ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
+)
+target_ragel_lexers(library-cpp-config
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/markupfsm.h.rl6
+ -CG2
+)
diff --git a/library/cpp/config/CMakeLists.linux-aarch64.txt b/library/cpp/config/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..f86696046e
--- /dev/null
+++ b/library/cpp/config/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,50 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-config)
+target_include_directories(library-cpp-config PUBLIC
+ ${CMAKE_BINARY_DIR}/library/cpp/config
+)
+target_link_libraries(library-cpp-config PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-archive
+ library-cpp-json
+ library-cpp-lua
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(library-cpp-config PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/config.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/sax.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/value.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/markup.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/ini.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/domscheme.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
+)
+add_custom_command(
+ OUTPUT
+ ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
+ DEPENDS
+ ${TOOLS_ROOT}/tools/archiver/archiver
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua
+ COMMAND
+ ${TOOLS_ROOT}/tools/archiver/archiver
+ -q
+ -x
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua:
+ -o
+ ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
+)
+target_ragel_lexers(library-cpp-config
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/markupfsm.h.rl6
+ -CG2
+)
diff --git a/library/cpp/config/CMakeLists.linux.txt b/library/cpp/config/CMakeLists.linux.txt
new file mode 100644
index 0000000000..f86696046e
--- /dev/null
+++ b/library/cpp/config/CMakeLists.linux.txt
@@ -0,0 +1,50 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-config)
+target_include_directories(library-cpp-config PUBLIC
+ ${CMAKE_BINARY_DIR}/library/cpp/config
+)
+target_link_libraries(library-cpp-config PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-archive
+ library-cpp-json
+ library-cpp-lua
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(library-cpp-config PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/config.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/sax.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/value.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/markup.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/ini.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/domscheme.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
+)
+add_custom_command(
+ OUTPUT
+ ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
+ DEPENDS
+ ${TOOLS_ROOT}/tools/archiver/archiver
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua
+ COMMAND
+ ${TOOLS_ROOT}/tools/archiver/archiver
+ -q
+ -x
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua:
+ -o
+ ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
+)
+target_ragel_lexers(library-cpp-config
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/config/markupfsm.h.rl6
+ -CG2
+)
diff --git a/library/cpp/config/CMakeLists.txt b/library/cpp/config/CMakeLists.txt
index ff3bb032ac..3e0811fb22 100644
--- a/library/cpp/config/CMakeLists.txt
+++ b/library/cpp/config/CMakeLists.txt
@@ -6,44 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-config)
-target_include_directories(library-cpp-config PUBLIC
- ${CMAKE_BINARY_DIR}/library/cpp/config
-)
-target_link_libraries(library-cpp-config PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-archive
- library-cpp-json
- library-cpp-lua
- cpp-string_utils-relaxed_escaper
-)
-target_sources(library-cpp-config PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/config/config.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/config/sax.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/config/value.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/config/markup.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/config/ini.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/config/domscheme.cpp
- ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
-)
-add_custom_command(
- OUTPUT
- ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
- DEPENDS
- ${TOOLS_ROOT}/tools/archiver/archiver
- ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua
- COMMAND
- ${TOOLS_ROOT}/tools/archiver/archiver
- -q
- -x
- ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua:
- -o
- ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc
-)
-target_ragel_lexers(library-cpp-config
- PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/config/markupfsm.h.rl6
- -CG2
-)
+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/containers/2d_array/CMakeLists.darwin.txt b/library/cpp/containers/2d_array/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..cd7339a2fb
--- /dev/null
+++ b/library/cpp/containers/2d_array/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-containers-2d_array)
+target_link_libraries(cpp-containers-2d_array PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-2d_array PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/2d_array/2d_array.cpp
+)
diff --git a/library/cpp/containers/2d_array/CMakeLists.linux-aarch64.txt b/library/cpp/containers/2d_array/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ed411391b7
--- /dev/null
+++ b/library/cpp/containers/2d_array/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-containers-2d_array)
+target_link_libraries(cpp-containers-2d_array PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-2d_array PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/2d_array/2d_array.cpp
+)
diff --git a/library/cpp/containers/2d_array/CMakeLists.linux.txt b/library/cpp/containers/2d_array/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ed411391b7
--- /dev/null
+++ b/library/cpp/containers/2d_array/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-containers-2d_array)
+target_link_libraries(cpp-containers-2d_array PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-2d_array PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/2d_array/2d_array.cpp
+)
diff --git a/library/cpp/containers/2d_array/CMakeLists.txt b/library/cpp/containers/2d_array/CMakeLists.txt
index cd7339a2fb..3e0811fb22 100644
--- a/library/cpp/containers/2d_array/CMakeLists.txt
+++ b/library/cpp/containers/2d_array/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-2d_array)
-target_link_libraries(cpp-containers-2d_array PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-2d_array PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/2d_array/2d_array.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/containers/absl_flat_hash/CMakeLists.darwin.txt b/library/cpp/containers/absl_flat_hash/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..aeed1a3f3d
--- /dev/null
+++ b/library/cpp/containers/absl_flat_hash/CMakeLists.darwin.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-containers-absl_flat_hash)
+target_include_directories(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
+)
+target_link_libraries(cpp-containers-absl_flat_hash PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ abseil-cpp-absl-container
+)
+target_sources(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_map.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_set.cpp
+)
diff --git a/library/cpp/containers/absl_flat_hash/CMakeLists.linux-aarch64.txt b/library/cpp/containers/absl_flat_hash/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..fe55f4aef7
--- /dev/null
+++ b/library/cpp/containers/absl_flat_hash/CMakeLists.linux-aarch64.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-containers-absl_flat_hash)
+target_include_directories(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
+)
+target_link_libraries(cpp-containers-absl_flat_hash PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ abseil-cpp-absl-container
+)
+target_sources(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_map.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_set.cpp
+)
diff --git a/library/cpp/containers/absl_flat_hash/CMakeLists.linux.txt b/library/cpp/containers/absl_flat_hash/CMakeLists.linux.txt
new file mode 100644
index 0000000000..fe55f4aef7
--- /dev/null
+++ b/library/cpp/containers/absl_flat_hash/CMakeLists.linux.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-containers-absl_flat_hash)
+target_include_directories(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
+)
+target_link_libraries(cpp-containers-absl_flat_hash PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ abseil-cpp-absl-container
+)
+target_sources(cpp-containers-absl_flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_map.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_set.cpp
+)
diff --git a/library/cpp/containers/absl_flat_hash/CMakeLists.txt b/library/cpp/containers/absl_flat_hash/CMakeLists.txt
index aeed1a3f3d..3e0811fb22 100644
--- a/library/cpp/containers/absl_flat_hash/CMakeLists.txt
+++ b/library/cpp/containers/absl_flat_hash/CMakeLists.txt
@@ -6,17 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-absl_flat_hash)
-target_include_directories(cpp-containers-absl_flat_hash PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp
-)
-target_link_libraries(cpp-containers-absl_flat_hash PUBLIC
- contrib-libs-cxxsupp
- yutil
- abseil-cpp-absl-container
-)
-target_sources(cpp-containers-absl_flat_hash PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_map.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_set.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/containers/atomizer/CMakeLists.darwin.txt b/library/cpp/containers/atomizer/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..296d4292ad
--- /dev/null
+++ b/library/cpp/containers/atomizer/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-containers-atomizer)
+target_link_libraries(cpp-containers-atomizer PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-str_map
+)
+target_sources(cpp-containers-atomizer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/atomizer/atomizer.cpp
+)
diff --git a/library/cpp/containers/atomizer/CMakeLists.linux-aarch64.txt b/library/cpp/containers/atomizer/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..dabe644416
--- /dev/null
+++ b/library/cpp/containers/atomizer/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-containers-atomizer)
+target_link_libraries(cpp-containers-atomizer PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-str_map
+)
+target_sources(cpp-containers-atomizer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/atomizer/atomizer.cpp
+)
diff --git a/library/cpp/containers/atomizer/CMakeLists.linux.txt b/library/cpp/containers/atomizer/CMakeLists.linux.txt
new file mode 100644
index 0000000000..dabe644416
--- /dev/null
+++ b/library/cpp/containers/atomizer/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-containers-atomizer)
+target_link_libraries(cpp-containers-atomizer PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-str_map
+)
+target_sources(cpp-containers-atomizer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/atomizer/atomizer.cpp
+)
diff --git a/library/cpp/containers/atomizer/CMakeLists.txt b/library/cpp/containers/atomizer/CMakeLists.txt
index 296d4292ad..3e0811fb22 100644
--- a/library/cpp/containers/atomizer/CMakeLists.txt
+++ b/library/cpp/containers/atomizer/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-atomizer)
-target_link_libraries(cpp-containers-atomizer PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-containers-str_map
-)
-target_sources(cpp-containers-atomizer PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/atomizer/atomizer.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/containers/bitseq/CMakeLists.darwin.txt b/library/cpp/containers/bitseq/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..1d730a2627
--- /dev/null
+++ b/library/cpp/containers/bitseq/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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-containers-bitseq)
+target_link_libraries(cpp-containers-bitseq PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ util-draft
+ library-cpp-pop_count
+)
+target_sources(cpp-containers-bitseq PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/bitvector.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/readonly_bitvector.cpp
+)
diff --git a/library/cpp/containers/bitseq/CMakeLists.linux-aarch64.txt b/library/cpp/containers/bitseq/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..8b9cc5e039
--- /dev/null
+++ b/library/cpp/containers/bitseq/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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-containers-bitseq)
+target_link_libraries(cpp-containers-bitseq PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ util-draft
+ library-cpp-pop_count
+)
+target_sources(cpp-containers-bitseq PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/bitvector.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/readonly_bitvector.cpp
+)
diff --git a/library/cpp/containers/bitseq/CMakeLists.linux.txt b/library/cpp/containers/bitseq/CMakeLists.linux.txt
new file mode 100644
index 0000000000..8b9cc5e039
--- /dev/null
+++ b/library/cpp/containers/bitseq/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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-containers-bitseq)
+target_link_libraries(cpp-containers-bitseq PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ util-draft
+ library-cpp-pop_count
+)
+target_sources(cpp-containers-bitseq PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/bitvector.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/readonly_bitvector.cpp
+)
diff --git a/library/cpp/containers/bitseq/CMakeLists.txt b/library/cpp/containers/bitseq/CMakeLists.txt
index 1d730a2627..3e0811fb22 100644
--- a/library/cpp/containers/bitseq/CMakeLists.txt
+++ b/library/cpp/containers/bitseq/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-bitseq)
-target_link_libraries(cpp-containers-bitseq PUBLIC
- contrib-libs-cxxsupp
- yutil
- util-draft
- library-cpp-pop_count
-)
-target_sources(cpp-containers-bitseq PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/bitvector.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/readonly_bitvector.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/containers/compact_vector/CMakeLists.darwin.txt b/library/cpp/containers/compact_vector/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..f5e51e3fb6
--- /dev/null
+++ b/library/cpp/containers/compact_vector/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-containers-compact_vector)
+target_link_libraries(cpp-containers-compact_vector PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-compact_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/compact_vector/compact_vector.cpp
+)
diff --git a/library/cpp/containers/compact_vector/CMakeLists.linux-aarch64.txt b/library/cpp/containers/compact_vector/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..705b18ee37
--- /dev/null
+++ b/library/cpp/containers/compact_vector/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-containers-compact_vector)
+target_link_libraries(cpp-containers-compact_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-compact_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/compact_vector/compact_vector.cpp
+)
diff --git a/library/cpp/containers/compact_vector/CMakeLists.linux.txt b/library/cpp/containers/compact_vector/CMakeLists.linux.txt
new file mode 100644
index 0000000000..705b18ee37
--- /dev/null
+++ b/library/cpp/containers/compact_vector/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-containers-compact_vector)
+target_link_libraries(cpp-containers-compact_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-compact_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/compact_vector/compact_vector.cpp
+)
diff --git a/library/cpp/containers/compact_vector/CMakeLists.txt b/library/cpp/containers/compact_vector/CMakeLists.txt
index f5e51e3fb6..3e0811fb22 100644
--- a/library/cpp/containers/compact_vector/CMakeLists.txt
+++ b/library/cpp/containers/compact_vector/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-compact_vector)
-target_link_libraries(cpp-containers-compact_vector PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-compact_vector PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/compact_vector/compact_vector.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/containers/comptrie/CMakeLists.darwin.txt b/library/cpp/containers/comptrie/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..b1a1259c3a
--- /dev/null
+++ b/library/cpp/containers/comptrie/CMakeLists.darwin.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(cpp-containers-comptrie)
+target_link_libraries(cpp-containers-comptrie PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-packers
+ cpp-containers-compact_vector
+ cpp-on_disk-chunks
+ util-draft
+)
+target_sources(cpp-containers-comptrie PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_builder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/make_fast_layout.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/minimize.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/node.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/opaque_trie_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/prefix_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/search_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/write_trie_backwards.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/writeable_node.cpp
+)
diff --git a/library/cpp/containers/comptrie/CMakeLists.linux-aarch64.txt b/library/cpp/containers/comptrie/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..cb761f4ab0
--- /dev/null
+++ b/library/cpp/containers/comptrie/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-containers-comptrie)
+target_link_libraries(cpp-containers-comptrie PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-packers
+ cpp-containers-compact_vector
+ cpp-on_disk-chunks
+ util-draft
+)
+target_sources(cpp-containers-comptrie PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_builder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/make_fast_layout.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/minimize.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/node.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/opaque_trie_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/prefix_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/search_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/write_trie_backwards.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/writeable_node.cpp
+)
diff --git a/library/cpp/containers/comptrie/CMakeLists.linux.txt b/library/cpp/containers/comptrie/CMakeLists.linux.txt
new file mode 100644
index 0000000000..cb761f4ab0
--- /dev/null
+++ b/library/cpp/containers/comptrie/CMakeLists.linux.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-containers-comptrie)
+target_link_libraries(cpp-containers-comptrie PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-packers
+ cpp-containers-compact_vector
+ cpp-on_disk-chunks
+ util-draft
+)
+target_sources(cpp-containers-comptrie PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_builder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/make_fast_layout.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/minimize.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/node.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/opaque_trie_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/prefix_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/search_iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/write_trie_backwards.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/writeable_node.cpp
+)
diff --git a/library/cpp/containers/comptrie/CMakeLists.txt b/library/cpp/containers/comptrie/CMakeLists.txt
index b1a1259c3a..3e0811fb22 100644
--- a/library/cpp/containers/comptrie/CMakeLists.txt
+++ b/library/cpp/containers/comptrie/CMakeLists.txt
@@ -6,26 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-comptrie)
-target_link_libraries(cpp-containers-comptrie PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-packers
- cpp-containers-compact_vector
- cpp-on_disk-chunks
- util-draft
-)
-target_sources(cpp-containers-comptrie PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_builder.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_impl.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/make_fast_layout.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/minimize.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/node.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/opaque_trie_iterator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/prefix_iterator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/search_iterator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/write_trie_backwards.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/writeable_node.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/containers/disjoint_interval_tree/CMakeLists.darwin.txt b/library/cpp/containers/disjoint_interval_tree/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..88d6b886b3
--- /dev/null
+++ b/library/cpp/containers/disjoint_interval_tree/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-containers-disjoint_interval_tree)
+target_link_libraries(cpp-containers-disjoint_interval_tree PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-disjoint_interval_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/disjoint_interval_tree/disjoint_interval_tree.cpp
+)
diff --git a/library/cpp/containers/disjoint_interval_tree/CMakeLists.linux-aarch64.txt b/library/cpp/containers/disjoint_interval_tree/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..5a00fb808f
--- /dev/null
+++ b/library/cpp/containers/disjoint_interval_tree/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-containers-disjoint_interval_tree)
+target_link_libraries(cpp-containers-disjoint_interval_tree PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-disjoint_interval_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/disjoint_interval_tree/disjoint_interval_tree.cpp
+)
diff --git a/library/cpp/containers/disjoint_interval_tree/CMakeLists.linux.txt b/library/cpp/containers/disjoint_interval_tree/CMakeLists.linux.txt
new file mode 100644
index 0000000000..5a00fb808f
--- /dev/null
+++ b/library/cpp/containers/disjoint_interval_tree/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-containers-disjoint_interval_tree)
+target_link_libraries(cpp-containers-disjoint_interval_tree PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-disjoint_interval_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/disjoint_interval_tree/disjoint_interval_tree.cpp
+)
diff --git a/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt b/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt
index 88d6b886b3..3e0811fb22 100644
--- a/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt
+++ b/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-disjoint_interval_tree)
-target_link_libraries(cpp-containers-disjoint_interval_tree PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-disjoint_interval_tree PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/disjoint_interval_tree/disjoint_interval_tree.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/containers/flat_hash/CMakeLists.darwin.txt b/library/cpp/containers/flat_hash/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..11e1864b0a
--- /dev/null
+++ b/library/cpp/containers/flat_hash/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_library(cpp-containers-flat_hash)
+target_link_libraries(cpp-containers-flat_hash PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/flat_hash.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/container.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/size_fitter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/value_marker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/containers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/expanders.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/map.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/probings.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/size_fitters.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/table.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/value_markers.cpp
+)
diff --git a/library/cpp/containers/flat_hash/CMakeLists.linux-aarch64.txt b/library/cpp/containers/flat_hash/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..89b7265143
--- /dev/null
+++ b/library/cpp/containers/flat_hash/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(cpp-containers-flat_hash)
+target_link_libraries(cpp-containers-flat_hash PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/flat_hash.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/container.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/size_fitter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/value_marker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/containers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/expanders.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/map.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/probings.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/size_fitters.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/table.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/value_markers.cpp
+)
diff --git a/library/cpp/containers/flat_hash/CMakeLists.linux.txt b/library/cpp/containers/flat_hash/CMakeLists.linux.txt
new file mode 100644
index 0000000000..89b7265143
--- /dev/null
+++ b/library/cpp/containers/flat_hash/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(cpp-containers-flat_hash)
+target_link_libraries(cpp-containers-flat_hash PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/flat_hash.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/container.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/size_fitter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/value_marker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/containers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/expanders.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/iterator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/map.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/probings.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/size_fitters.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/table.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/value_markers.cpp
+)
diff --git a/library/cpp/containers/flat_hash/CMakeLists.txt b/library/cpp/containers/flat_hash/CMakeLists.txt
index 11e1864b0a..3e0811fb22 100644
--- a/library/cpp/containers/flat_hash/CMakeLists.txt
+++ b/library/cpp/containers/flat_hash/CMakeLists.txt
@@ -6,25 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-flat_hash)
-target_link_libraries(cpp-containers-flat_hash PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-flat_hash PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/flat_hash.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/container.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/iterator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/size_fitter.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/value_marker.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/containers.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/expanders.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/iterator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/map.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/probings.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/set.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/size_fitters.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/table.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/value_markers.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/containers/intrusive_avl_tree/CMakeLists.darwin.txt b/library/cpp/containers/intrusive_avl_tree/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..58f8367088
--- /dev/null
+++ b/library/cpp/containers/intrusive_avl_tree/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-containers-intrusive_avl_tree)
+target_link_libraries(cpp-containers-intrusive_avl_tree PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-intrusive_avl_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_avl_tree/avltree.cpp
+)
diff --git a/library/cpp/containers/intrusive_avl_tree/CMakeLists.linux-aarch64.txt b/library/cpp/containers/intrusive_avl_tree/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..8ac656ad60
--- /dev/null
+++ b/library/cpp/containers/intrusive_avl_tree/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-containers-intrusive_avl_tree)
+target_link_libraries(cpp-containers-intrusive_avl_tree PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-intrusive_avl_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_avl_tree/avltree.cpp
+)
diff --git a/library/cpp/containers/intrusive_avl_tree/CMakeLists.linux.txt b/library/cpp/containers/intrusive_avl_tree/CMakeLists.linux.txt
new file mode 100644
index 0000000000..8ac656ad60
--- /dev/null
+++ b/library/cpp/containers/intrusive_avl_tree/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-containers-intrusive_avl_tree)
+target_link_libraries(cpp-containers-intrusive_avl_tree PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-intrusive_avl_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_avl_tree/avltree.cpp
+)
diff --git a/library/cpp/containers/intrusive_avl_tree/CMakeLists.txt b/library/cpp/containers/intrusive_avl_tree/CMakeLists.txt
index 58f8367088..3e0811fb22 100644
--- a/library/cpp/containers/intrusive_avl_tree/CMakeLists.txt
+++ b/library/cpp/containers/intrusive_avl_tree/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-intrusive_avl_tree)
-target_link_libraries(cpp-containers-intrusive_avl_tree PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-intrusive_avl_tree PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_avl_tree/avltree.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/containers/intrusive_rb_tree/CMakeLists.darwin.txt b/library/cpp/containers/intrusive_rb_tree/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..0c626f6cba
--- /dev/null
+++ b/library/cpp/containers/intrusive_rb_tree/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-containers-intrusive_rb_tree)
+target_link_libraries(cpp-containers-intrusive_rb_tree PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-intrusive_rb_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_rb_tree/rb_tree.cpp
+)
diff --git a/library/cpp/containers/intrusive_rb_tree/CMakeLists.linux-aarch64.txt b/library/cpp/containers/intrusive_rb_tree/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..8a46ac4ef0
--- /dev/null
+++ b/library/cpp/containers/intrusive_rb_tree/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-containers-intrusive_rb_tree)
+target_link_libraries(cpp-containers-intrusive_rb_tree PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-intrusive_rb_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_rb_tree/rb_tree.cpp
+)
diff --git a/library/cpp/containers/intrusive_rb_tree/CMakeLists.linux.txt b/library/cpp/containers/intrusive_rb_tree/CMakeLists.linux.txt
new file mode 100644
index 0000000000..8a46ac4ef0
--- /dev/null
+++ b/library/cpp/containers/intrusive_rb_tree/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-containers-intrusive_rb_tree)
+target_link_libraries(cpp-containers-intrusive_rb_tree PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-intrusive_rb_tree PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_rb_tree/rb_tree.cpp
+)
diff --git a/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt b/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt
index 0c626f6cba..3e0811fb22 100644
--- a/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt
+++ b/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-intrusive_rb_tree)
-target_link_libraries(cpp-containers-intrusive_rb_tree PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-intrusive_rb_tree PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_rb_tree/rb_tree.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/containers/paged_vector/CMakeLists.darwin.txt b/library/cpp/containers/paged_vector/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..8a88a59482
--- /dev/null
+++ b/library/cpp/containers/paged_vector/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-containers-paged_vector)
+target_link_libraries(cpp-containers-paged_vector PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-paged_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/paged_vector/paged_vector.cpp
+)
diff --git a/library/cpp/containers/paged_vector/CMakeLists.linux-aarch64.txt b/library/cpp/containers/paged_vector/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..31e11d56f9
--- /dev/null
+++ b/library/cpp/containers/paged_vector/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-containers-paged_vector)
+target_link_libraries(cpp-containers-paged_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-paged_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/paged_vector/paged_vector.cpp
+)
diff --git a/library/cpp/containers/paged_vector/CMakeLists.linux.txt b/library/cpp/containers/paged_vector/CMakeLists.linux.txt
new file mode 100644
index 0000000000..31e11d56f9
--- /dev/null
+++ b/library/cpp/containers/paged_vector/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-containers-paged_vector)
+target_link_libraries(cpp-containers-paged_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-paged_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/paged_vector/paged_vector.cpp
+)
diff --git a/library/cpp/containers/paged_vector/CMakeLists.txt b/library/cpp/containers/paged_vector/CMakeLists.txt
index 8a88a59482..3e0811fb22 100644
--- a/library/cpp/containers/paged_vector/CMakeLists.txt
+++ b/library/cpp/containers/paged_vector/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-paged_vector)
-target_link_libraries(cpp-containers-paged_vector PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-paged_vector PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/paged_vector/paged_vector.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/containers/ring_buffer/CMakeLists.darwin.txt b/library/cpp/containers/ring_buffer/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..b59b1af604
--- /dev/null
+++ b/library/cpp/containers/ring_buffer/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-containers-ring_buffer)
+target_link_libraries(cpp-containers-ring_buffer PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-ring_buffer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/ring_buffer/ring_buffer.cpp
+)
diff --git a/library/cpp/containers/ring_buffer/CMakeLists.linux-aarch64.txt b/library/cpp/containers/ring_buffer/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..f0cd02503c
--- /dev/null
+++ b/library/cpp/containers/ring_buffer/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-containers-ring_buffer)
+target_link_libraries(cpp-containers-ring_buffer PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-ring_buffer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/ring_buffer/ring_buffer.cpp
+)
diff --git a/library/cpp/containers/ring_buffer/CMakeLists.linux.txt b/library/cpp/containers/ring_buffer/CMakeLists.linux.txt
new file mode 100644
index 0000000000..f0cd02503c
--- /dev/null
+++ b/library/cpp/containers/ring_buffer/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-containers-ring_buffer)
+target_link_libraries(cpp-containers-ring_buffer PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-ring_buffer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/ring_buffer/ring_buffer.cpp
+)
diff --git a/library/cpp/containers/ring_buffer/CMakeLists.txt b/library/cpp/containers/ring_buffer/CMakeLists.txt
index b59b1af604..3e0811fb22 100644
--- a/library/cpp/containers/ring_buffer/CMakeLists.txt
+++ b/library/cpp/containers/ring_buffer/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-ring_buffer)
-target_link_libraries(cpp-containers-ring_buffer PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-ring_buffer PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/ring_buffer/ring_buffer.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/containers/sorted_vector/CMakeLists.darwin.txt b/library/cpp/containers/sorted_vector/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..26b0a47688
--- /dev/null
+++ b/library/cpp/containers/sorted_vector/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-containers-sorted_vector)
+target_link_libraries(cpp-containers-sorted_vector PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-sorted_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/sorted_vector/sorted_vector.cpp
+)
diff --git a/library/cpp/containers/sorted_vector/CMakeLists.linux-aarch64.txt b/library/cpp/containers/sorted_vector/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..5333cc9b7a
--- /dev/null
+++ b/library/cpp/containers/sorted_vector/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-containers-sorted_vector)
+target_link_libraries(cpp-containers-sorted_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-sorted_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/sorted_vector/sorted_vector.cpp
+)
diff --git a/library/cpp/containers/sorted_vector/CMakeLists.linux.txt b/library/cpp/containers/sorted_vector/CMakeLists.linux.txt
new file mode 100644
index 0000000000..5333cc9b7a
--- /dev/null
+++ b/library/cpp/containers/sorted_vector/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-containers-sorted_vector)
+target_link_libraries(cpp-containers-sorted_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-sorted_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/sorted_vector/sorted_vector.cpp
+)
diff --git a/library/cpp/containers/sorted_vector/CMakeLists.txt b/library/cpp/containers/sorted_vector/CMakeLists.txt
index 26b0a47688..3e0811fb22 100644
--- a/library/cpp/containers/sorted_vector/CMakeLists.txt
+++ b/library/cpp/containers/sorted_vector/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-sorted_vector)
-target_link_libraries(cpp-containers-sorted_vector PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-sorted_vector PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/sorted_vector/sorted_vector.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/containers/stack_array/CMakeLists.darwin.txt b/library/cpp/containers/stack_array/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..6062e296aa
--- /dev/null
+++ b/library/cpp/containers/stack_array/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-containers-stack_array)
+target_link_libraries(cpp-containers-stack_array PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-stack_array PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/range_ops.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/stack_array.cpp
+)
diff --git a/library/cpp/containers/stack_array/CMakeLists.linux-aarch64.txt b/library/cpp/containers/stack_array/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..2efefec797
--- /dev/null
+++ b/library/cpp/containers/stack_array/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-containers-stack_array)
+target_link_libraries(cpp-containers-stack_array PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-stack_array PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/range_ops.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/stack_array.cpp
+)
diff --git a/library/cpp/containers/stack_array/CMakeLists.linux.txt b/library/cpp/containers/stack_array/CMakeLists.linux.txt
new file mode 100644
index 0000000000..2efefec797
--- /dev/null
+++ b/library/cpp/containers/stack_array/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-containers-stack_array)
+target_link_libraries(cpp-containers-stack_array PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-stack_array PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/range_ops.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/stack_array.cpp
+)
diff --git a/library/cpp/containers/stack_array/CMakeLists.txt b/library/cpp/containers/stack_array/CMakeLists.txt
index 6062e296aa..3e0811fb22 100644
--- a/library/cpp/containers/stack_array/CMakeLists.txt
+++ b/library/cpp/containers/stack_array/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-stack_array)
-target_link_libraries(cpp-containers-stack_array PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-stack_array PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/range_ops.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/stack_array.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/containers/stack_vector/CMakeLists.darwin.txt b/library/cpp/containers/stack_vector/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..89a2a0aca8
--- /dev/null
+++ b/library/cpp/containers/stack_vector/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-containers-stack_vector)
+target_link_libraries(cpp-containers-stack_vector PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-stack_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_vector/stack_vec.cpp
+)
diff --git a/library/cpp/containers/stack_vector/CMakeLists.linux-aarch64.txt b/library/cpp/containers/stack_vector/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..370a7e0d44
--- /dev/null
+++ b/library/cpp/containers/stack_vector/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-containers-stack_vector)
+target_link_libraries(cpp-containers-stack_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-stack_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_vector/stack_vec.cpp
+)
diff --git a/library/cpp/containers/stack_vector/CMakeLists.linux.txt b/library/cpp/containers/stack_vector/CMakeLists.linux.txt
new file mode 100644
index 0000000000..370a7e0d44
--- /dev/null
+++ b/library/cpp/containers/stack_vector/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-containers-stack_vector)
+target_link_libraries(cpp-containers-stack_vector PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-stack_vector PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_vector/stack_vec.cpp
+)
diff --git a/library/cpp/containers/stack_vector/CMakeLists.txt b/library/cpp/containers/stack_vector/CMakeLists.txt
index 89a2a0aca8..3e0811fb22 100644
--- a/library/cpp/containers/stack_vector/CMakeLists.txt
+++ b/library/cpp/containers/stack_vector/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-stack_vector)
-target_link_libraries(cpp-containers-stack_vector PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-stack_vector PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_vector/stack_vec.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/containers/str_map/CMakeLists.darwin.txt b/library/cpp/containers/str_map/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..24888fd3a4
--- /dev/null
+++ b/library/cpp/containers/str_map/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-containers-str_map)
+target_link_libraries(cpp-containers-str_map PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-str_map PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/str_map/str_map.cpp
+)
diff --git a/library/cpp/containers/str_map/CMakeLists.linux-aarch64.txt b/library/cpp/containers/str_map/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..2669acee3d
--- /dev/null
+++ b/library/cpp/containers/str_map/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-containers-str_map)
+target_link_libraries(cpp-containers-str_map PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-str_map PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/str_map/str_map.cpp
+)
diff --git a/library/cpp/containers/str_map/CMakeLists.linux.txt b/library/cpp/containers/str_map/CMakeLists.linux.txt
new file mode 100644
index 0000000000..2669acee3d
--- /dev/null
+++ b/library/cpp/containers/str_map/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-containers-str_map)
+target_link_libraries(cpp-containers-str_map PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-str_map PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/str_map/str_map.cpp
+)
diff --git a/library/cpp/containers/str_map/CMakeLists.txt b/library/cpp/containers/str_map/CMakeLists.txt
index 24888fd3a4..3e0811fb22 100644
--- a/library/cpp/containers/str_map/CMakeLists.txt
+++ b/library/cpp/containers/str_map/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-str_map)
-target_link_libraries(cpp-containers-str_map PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-str_map PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/str_map/str_map.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/containers/top_keeper/CMakeLists.darwin.txt b/library/cpp/containers/top_keeper/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..a3f6fac500
--- /dev/null
+++ b/library/cpp/containers/top_keeper/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-containers-top_keeper)
+target_link_libraries(cpp-containers-top_keeper PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-top_keeper PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/top_keeper/top_keeper.cpp
+)
diff --git a/library/cpp/containers/top_keeper/CMakeLists.linux-aarch64.txt b/library/cpp/containers/top_keeper/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a150f56fdd
--- /dev/null
+++ b/library/cpp/containers/top_keeper/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-containers-top_keeper)
+target_link_libraries(cpp-containers-top_keeper PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-top_keeper PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/top_keeper/top_keeper.cpp
+)
diff --git a/library/cpp/containers/top_keeper/CMakeLists.linux.txt b/library/cpp/containers/top_keeper/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a150f56fdd
--- /dev/null
+++ b/library/cpp/containers/top_keeper/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-containers-top_keeper)
+target_link_libraries(cpp-containers-top_keeper PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-containers-top_keeper PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/top_keeper/top_keeper.cpp
+)
diff --git a/library/cpp/containers/top_keeper/CMakeLists.txt b/library/cpp/containers/top_keeper/CMakeLists.txt
index a3f6fac500..3e0811fb22 100644
--- a/library/cpp/containers/top_keeper/CMakeLists.txt
+++ b/library/cpp/containers/top_keeper/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-containers-top_keeper)
-target_link_libraries(cpp-containers-top_keeper PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-containers-top_keeper PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/containers/top_keeper/top_keeper.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/coroutine/engine/CMakeLists.darwin.txt b/library/cpp/coroutine/engine/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..da424f72d7
--- /dev/null
+++ b/library/cpp/coroutine/engine/CMakeLists.darwin.txt
@@ -0,0 +1,43 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-coroutine-engine)
+target_link_libraries(cpp-coroutine-engine PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ contrib-libs-libc_compat
+ cpp-containers-intrusive_rb_tree
+ cpp-deprecated-atomic
+)
+target_sources(cpp-coroutine-engine PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/cont_poller.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/helper.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/iostatus.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/network.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/poller.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/sockpool.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_allocator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_guards.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_storage.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_utils.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/trampoline.cpp
+)
+generate_enum_serilization(cpp-coroutine-engine
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/poller.h
+ INCLUDE_HEADERS
+ library/cpp/coroutine/engine/poller.h
+)
+generate_enum_serilization(cpp-coroutine-engine
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_common.h
+ INCLUDE_HEADERS
+ library/cpp/coroutine/engine/stack/stack_common.h
+)
diff --git a/library/cpp/coroutine/engine/CMakeLists.linux-aarch64.txt b/library/cpp/coroutine/engine/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..61e7371d82
--- /dev/null
+++ b/library/cpp/coroutine/engine/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,44 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-coroutine-engine)
+target_link_libraries(cpp-coroutine-engine PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ contrib-libs-libc_compat
+ cpp-containers-intrusive_rb_tree
+ cpp-deprecated-atomic
+)
+target_sources(cpp-coroutine-engine PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/cont_poller.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/helper.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/iostatus.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/network.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/poller.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/sockpool.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_allocator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_guards.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_storage.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_utils.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/trampoline.cpp
+)
+generate_enum_serilization(cpp-coroutine-engine
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/poller.h
+ INCLUDE_HEADERS
+ library/cpp/coroutine/engine/poller.h
+)
+generate_enum_serilization(cpp-coroutine-engine
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_common.h
+ INCLUDE_HEADERS
+ library/cpp/coroutine/engine/stack/stack_common.h
+)
diff --git a/library/cpp/coroutine/engine/CMakeLists.linux.txt b/library/cpp/coroutine/engine/CMakeLists.linux.txt
new file mode 100644
index 0000000000..61e7371d82
--- /dev/null
+++ b/library/cpp/coroutine/engine/CMakeLists.linux.txt
@@ -0,0 +1,44 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-coroutine-engine)
+target_link_libraries(cpp-coroutine-engine PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ contrib-libs-libc_compat
+ cpp-containers-intrusive_rb_tree
+ cpp-deprecated-atomic
+)
+target_sources(cpp-coroutine-engine PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/cont_poller.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/helper.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/iostatus.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/network.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/poller.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/sockpool.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_allocator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_guards.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_storage.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_utils.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/trampoline.cpp
+)
+generate_enum_serilization(cpp-coroutine-engine
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/poller.h
+ INCLUDE_HEADERS
+ library/cpp/coroutine/engine/poller.h
+)
+generate_enum_serilization(cpp-coroutine-engine
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_common.h
+ INCLUDE_HEADERS
+ library/cpp/coroutine/engine/stack/stack_common.h
+)
diff --git a/library/cpp/coroutine/engine/CMakeLists.txt b/library/cpp/coroutine/engine/CMakeLists.txt
index da424f72d7..3e0811fb22 100644
--- a/library/cpp/coroutine/engine/CMakeLists.txt
+++ b/library/cpp/coroutine/engine/CMakeLists.txt
@@ -6,38 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-coroutine-engine)
-target_link_libraries(cpp-coroutine-engine PUBLIC
- contrib-libs-cxxsupp
- yutil
- tools-enum_parser-enum_serialization_runtime
- contrib-libs-libc_compat
- cpp-containers-intrusive_rb_tree
- cpp-deprecated-atomic
-)
-target_sources(cpp-coroutine-engine PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/cont_poller.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/helper.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/impl.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/iostatus.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/network.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/poller.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/sockpool.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_allocator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_guards.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_storage.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_utils.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/trampoline.cpp
-)
-generate_enum_serilization(cpp-coroutine-engine
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/poller.h
- INCLUDE_HEADERS
- library/cpp/coroutine/engine/poller.h
-)
-generate_enum_serilization(cpp-coroutine-engine
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_common.h
- INCLUDE_HEADERS
- library/cpp/coroutine/engine/stack/stack_common.h
-)
+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/coroutine/listener/CMakeLists.darwin.txt b/library/cpp/coroutine/listener/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..585aa89816
--- /dev/null
+++ b/library/cpp/coroutine/listener/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-coroutine-listener)
+target_link_libraries(cpp-coroutine-listener PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-coroutine-engine
+)
+target_sources(cpp-coroutine-listener PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/listener/listen.cpp
+)
diff --git a/library/cpp/coroutine/listener/CMakeLists.linux-aarch64.txt b/library/cpp/coroutine/listener/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a9494fef75
--- /dev/null
+++ b/library/cpp/coroutine/listener/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-coroutine-listener)
+target_link_libraries(cpp-coroutine-listener PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-coroutine-engine
+)
+target_sources(cpp-coroutine-listener PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/listener/listen.cpp
+)
diff --git a/library/cpp/coroutine/listener/CMakeLists.linux.txt b/library/cpp/coroutine/listener/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a9494fef75
--- /dev/null
+++ b/library/cpp/coroutine/listener/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-coroutine-listener)
+target_link_libraries(cpp-coroutine-listener PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-coroutine-engine
+)
+target_sources(cpp-coroutine-listener PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/listener/listen.cpp
+)
diff --git a/library/cpp/coroutine/listener/CMakeLists.txt b/library/cpp/coroutine/listener/CMakeLists.txt
index 585aa89816..3e0811fb22 100644
--- a/library/cpp/coroutine/listener/CMakeLists.txt
+++ b/library/cpp/coroutine/listener/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-coroutine-listener)
-target_link_libraries(cpp-coroutine-listener PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-coroutine-engine
-)
-target_sources(cpp-coroutine-listener PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/listener/listen.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/cppparser/CMakeLists.darwin.txt b/library/cpp/cppparser/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..d77f7e725d
--- /dev/null
+++ b/library/cpp/cppparser/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(library-cpp-cppparser)
+target_link_libraries(library-cpp-cppparser PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-cppparser PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/cppparser/parser.cpp
+)
diff --git a/library/cpp/cppparser/CMakeLists.linux-aarch64.txt b/library/cpp/cppparser/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..bd38bb85e3
--- /dev/null
+++ b/library/cpp/cppparser/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(library-cpp-cppparser)
+target_link_libraries(library-cpp-cppparser PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-cppparser PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/cppparser/parser.cpp
+)
diff --git a/library/cpp/cppparser/CMakeLists.linux.txt b/library/cpp/cppparser/CMakeLists.linux.txt
new file mode 100644
index 0000000000..bd38bb85e3
--- /dev/null
+++ b/library/cpp/cppparser/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(library-cpp-cppparser)
+target_link_libraries(library-cpp-cppparser PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-cppparser PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/cppparser/parser.cpp
+)
diff --git a/library/cpp/cppparser/CMakeLists.txt b/library/cpp/cppparser/CMakeLists.txt
index d77f7e725d..3e0811fb22 100644
--- a/library/cpp/cppparser/CMakeLists.txt
+++ b/library/cpp/cppparser/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-cppparser)
-target_link_libraries(library-cpp-cppparser PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-cppparser PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/cppparser/parser.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/cpuid_check/CMakeLists.linux.txt b/library/cpp/cpuid_check/CMakeLists.linux.txt
index 4e9fc0d5d4..abca0f5e94 100644
--- a/library/cpp/cpuid_check/CMakeLists.linux.txt
+++ b/library/cpp/cpuid_check/CMakeLists.linux.txt
@@ -9,12 +9,14 @@
add_library(library-cpp-cpuid_check INTERFACE)
target_link_libraries(library-cpp-cpuid_check INTERFACE
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
)
add_global_library_for(library-cpp-cpuid_check.global library-cpp-cpuid_check)
target_link_libraries(library-cpp-cpuid_check.global PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
)
diff --git a/library/cpp/dbg_output/CMakeLists.darwin.txt b/library/cpp/dbg_output/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..13652632f6
--- /dev/null
+++ b/library/cpp/dbg_output/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-dbg_output)
+target_link_libraries(library-cpp-dbg_output PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-colorizer
+)
+target_sources(library-cpp-dbg_output PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/dump.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/dumpers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/engine.cpp
+)
diff --git a/library/cpp/dbg_output/CMakeLists.linux-aarch64.txt b/library/cpp/dbg_output/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..09a29146d4
--- /dev/null
+++ b/library/cpp/dbg_output/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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(library-cpp-dbg_output)
+target_link_libraries(library-cpp-dbg_output PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-colorizer
+)
+target_sources(library-cpp-dbg_output PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/dump.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/dumpers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/engine.cpp
+)
diff --git a/library/cpp/dbg_output/CMakeLists.linux.txt b/library/cpp/dbg_output/CMakeLists.linux.txt
new file mode 100644
index 0000000000..09a29146d4
--- /dev/null
+++ b/library/cpp/dbg_output/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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(library-cpp-dbg_output)
+target_link_libraries(library-cpp-dbg_output PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-colorizer
+)
+target_sources(library-cpp-dbg_output PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/dump.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/dumpers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/engine.cpp
+)
diff --git a/library/cpp/dbg_output/CMakeLists.txt b/library/cpp/dbg_output/CMakeLists.txt
index 13652632f6..3e0811fb22 100644
--- a/library/cpp/dbg_output/CMakeLists.txt
+++ b/library/cpp/dbg_output/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-dbg_output)
-target_link_libraries(library-cpp-dbg_output PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-colorizer
-)
-target_sources(library-cpp-dbg_output PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/dump.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/dumpers.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/engine.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/deprecated/accessors/CMakeLists.darwin.txt b/library/cpp/deprecated/accessors/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..d7056aa5d6
--- /dev/null
+++ b/library/cpp/deprecated/accessors/CMakeLists.darwin.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-deprecated-accessors)
+target_link_libraries(cpp-deprecated-accessors PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-deprecated-accessors PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/accessors.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/accessors_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/memory_traits.cpp
+)
diff --git a/library/cpp/deprecated/accessors/CMakeLists.linux-aarch64.txt b/library/cpp/deprecated/accessors/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..56eaadf643
--- /dev/null
+++ b/library/cpp/deprecated/accessors/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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-deprecated-accessors)
+target_link_libraries(cpp-deprecated-accessors PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-deprecated-accessors PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/accessors.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/accessors_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/memory_traits.cpp
+)
diff --git a/library/cpp/deprecated/accessors/CMakeLists.linux.txt b/library/cpp/deprecated/accessors/CMakeLists.linux.txt
new file mode 100644
index 0000000000..56eaadf643
--- /dev/null
+++ b/library/cpp/deprecated/accessors/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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-deprecated-accessors)
+target_link_libraries(cpp-deprecated-accessors PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-deprecated-accessors PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/accessors.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/accessors_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/memory_traits.cpp
+)
diff --git a/library/cpp/deprecated/accessors/CMakeLists.txt b/library/cpp/deprecated/accessors/CMakeLists.txt
index d7056aa5d6..3e0811fb22 100644
--- a/library/cpp/deprecated/accessors/CMakeLists.txt
+++ b/library/cpp/deprecated/accessors/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-deprecated-accessors)
-target_link_libraries(cpp-deprecated-accessors PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-deprecated-accessors PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/accessors.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/accessors_impl.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/memory_traits.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/deprecated/atomic/CMakeLists.darwin.txt b/library/cpp/deprecated/atomic/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..7afcd3565d
--- /dev/null
+++ b/library/cpp/deprecated/atomic/CMakeLists.darwin.txt
@@ -0,0 +1,14 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-deprecated-atomic INTERFACE)
+target_link_libraries(cpp-deprecated-atomic INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/deprecated/atomic/CMakeLists.linux-aarch64.txt b/library/cpp/deprecated/atomic/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..706127dd15
--- /dev/null
+++ b/library/cpp/deprecated/atomic/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,15 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-deprecated-atomic INTERFACE)
+target_link_libraries(cpp-deprecated-atomic INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/deprecated/atomic/CMakeLists.linux.txt b/library/cpp/deprecated/atomic/CMakeLists.linux.txt
new file mode 100644
index 0000000000..706127dd15
--- /dev/null
+++ b/library/cpp/deprecated/atomic/CMakeLists.linux.txt
@@ -0,0 +1,15 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-deprecated-atomic INTERFACE)
+target_link_libraries(cpp-deprecated-atomic INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/deprecated/atomic/CMakeLists.txt b/library/cpp/deprecated/atomic/CMakeLists.txt
index 7afcd3565d..3e0811fb22 100644
--- a/library/cpp/deprecated/atomic/CMakeLists.txt
+++ b/library/cpp/deprecated/atomic/CMakeLists.txt
@@ -6,9 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-deprecated-atomic INTERFACE)
-target_link_libraries(cpp-deprecated-atomic INTERFACE
- contrib-libs-cxxsupp
- yutil
-)
+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/deprecated/enum_codegen/CMakeLists.darwin.txt b/library/cpp/deprecated/enum_codegen/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..a35b336170
--- /dev/null
+++ b/library/cpp/deprecated/enum_codegen/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-deprecated-enum_codegen)
+target_link_libraries(cpp-deprecated-enum_codegen PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-deprecated-enum_codegen PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/enum_codegen/enum_codegen.cpp
+)
diff --git a/library/cpp/deprecated/enum_codegen/CMakeLists.linux-aarch64.txt b/library/cpp/deprecated/enum_codegen/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..0855fdce8d
--- /dev/null
+++ b/library/cpp/deprecated/enum_codegen/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-deprecated-enum_codegen)
+target_link_libraries(cpp-deprecated-enum_codegen PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-deprecated-enum_codegen PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/enum_codegen/enum_codegen.cpp
+)
diff --git a/library/cpp/deprecated/enum_codegen/CMakeLists.linux.txt b/library/cpp/deprecated/enum_codegen/CMakeLists.linux.txt
new file mode 100644
index 0000000000..0855fdce8d
--- /dev/null
+++ b/library/cpp/deprecated/enum_codegen/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-deprecated-enum_codegen)
+target_link_libraries(cpp-deprecated-enum_codegen PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-deprecated-enum_codegen PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/enum_codegen/enum_codegen.cpp
+)
diff --git a/library/cpp/deprecated/enum_codegen/CMakeLists.txt b/library/cpp/deprecated/enum_codegen/CMakeLists.txt
index a35b336170..3e0811fb22 100644
--- a/library/cpp/deprecated/enum_codegen/CMakeLists.txt
+++ b/library/cpp/deprecated/enum_codegen/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-deprecated-enum_codegen)
-target_link_libraries(cpp-deprecated-enum_codegen PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-deprecated-enum_codegen PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/enum_codegen/enum_codegen.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/deprecated/kmp/CMakeLists.darwin.txt b/library/cpp/deprecated/kmp/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..71f0b8fd1a
--- /dev/null
+++ b/library/cpp/deprecated/kmp/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-deprecated-kmp)
+target_link_libraries(cpp-deprecated-kmp PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-deprecated-kmp PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/kmp/kmp.cpp
+)
diff --git a/library/cpp/deprecated/kmp/CMakeLists.linux-aarch64.txt b/library/cpp/deprecated/kmp/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..9f105605ae
--- /dev/null
+++ b/library/cpp/deprecated/kmp/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-deprecated-kmp)
+target_link_libraries(cpp-deprecated-kmp PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-deprecated-kmp PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/kmp/kmp.cpp
+)
diff --git a/library/cpp/deprecated/kmp/CMakeLists.linux.txt b/library/cpp/deprecated/kmp/CMakeLists.linux.txt
new file mode 100644
index 0000000000..9f105605ae
--- /dev/null
+++ b/library/cpp/deprecated/kmp/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-deprecated-kmp)
+target_link_libraries(cpp-deprecated-kmp PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-deprecated-kmp PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/kmp/kmp.cpp
+)
diff --git a/library/cpp/deprecated/kmp/CMakeLists.txt b/library/cpp/deprecated/kmp/CMakeLists.txt
index 71f0b8fd1a..3e0811fb22 100644
--- a/library/cpp/deprecated/kmp/CMakeLists.txt
+++ b/library/cpp/deprecated/kmp/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-deprecated-kmp)
-target_link_libraries(cpp-deprecated-kmp PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-deprecated-kmp PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/kmp/kmp.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/deprecated/split/CMakeLists.darwin.txt b/library/cpp/deprecated/split/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..d2a9fd7309
--- /dev/null
+++ b/library/cpp/deprecated/split/CMakeLists.darwin.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-deprecated-split)
+target_link_libraries(cpp-deprecated-split PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-kmp
+)
+target_sources(cpp-deprecated-split PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/split/delim_string_iter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/split/split_iterator.cpp
+)
diff --git a/library/cpp/deprecated/split/CMakeLists.linux-aarch64.txt b/library/cpp/deprecated/split/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..f858c1775f
--- /dev/null
+++ b/library/cpp/deprecated/split/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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-deprecated-split)
+target_link_libraries(cpp-deprecated-split PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-kmp
+)
+target_sources(cpp-deprecated-split PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/split/delim_string_iter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/split/split_iterator.cpp
+)
diff --git a/library/cpp/deprecated/split/CMakeLists.linux.txt b/library/cpp/deprecated/split/CMakeLists.linux.txt
new file mode 100644
index 0000000000..f858c1775f
--- /dev/null
+++ b/library/cpp/deprecated/split/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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-deprecated-split)
+target_link_libraries(cpp-deprecated-split PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-kmp
+)
+target_sources(cpp-deprecated-split PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/split/delim_string_iter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/split/split_iterator.cpp
+)
diff --git a/library/cpp/deprecated/split/CMakeLists.txt b/library/cpp/deprecated/split/CMakeLists.txt
index d2a9fd7309..3e0811fb22 100644
--- a/library/cpp/deprecated/split/CMakeLists.txt
+++ b/library/cpp/deprecated/split/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-deprecated-split)
-target_link_libraries(cpp-deprecated-split PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-kmp
-)
-target_sources(cpp-deprecated-split PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/split/delim_string_iter.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/split/split_iterator.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/diff/CMakeLists.darwin.txt b/library/cpp/diff/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..53785b9c0d
--- /dev/null
+++ b/library/cpp/diff/CMakeLists.darwin.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(library-cpp-diff)
+target_link_libraries(library-cpp-diff PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-lcs
+ cpp-containers-stack_array
+)
+target_sources(library-cpp-diff PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/diff/diff.cpp
+)
diff --git a/library/cpp/diff/CMakeLists.linux-aarch64.txt b/library/cpp/diff/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..36d694a9a4
--- /dev/null
+++ b/library/cpp/diff/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-diff)
+target_link_libraries(library-cpp-diff PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-lcs
+ cpp-containers-stack_array
+)
+target_sources(library-cpp-diff PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/diff/diff.cpp
+)
diff --git a/library/cpp/diff/CMakeLists.linux.txt b/library/cpp/diff/CMakeLists.linux.txt
new file mode 100644
index 0000000000..36d694a9a4
--- /dev/null
+++ b/library/cpp/diff/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-diff)
+target_link_libraries(library-cpp-diff PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-lcs
+ cpp-containers-stack_array
+)
+target_sources(library-cpp-diff PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/diff/diff.cpp
+)
diff --git a/library/cpp/diff/CMakeLists.txt b/library/cpp/diff/CMakeLists.txt
index 53785b9c0d..3e0811fb22 100644
--- a/library/cpp/diff/CMakeLists.txt
+++ b/library/cpp/diff/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-diff)
-target_link_libraries(library-cpp-diff PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-lcs
- cpp-containers-stack_array
-)
-target_sources(library-cpp-diff PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/diff/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/digest/argonish/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/CMakeLists.linux-aarch64.txt
index 8e26c0e02b..66ab4d61ce 100644
--- a/library/cpp/digest/argonish/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/digest/argonish/CMakeLists.linux-aarch64.txt
@@ -10,6 +10,7 @@ add_subdirectory(internal)
add_library(cpp-digest-argonish)
target_link_libraries(cpp-digest-argonish PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
cpp-threading-poor_man_openmp
diff --git a/library/cpp/digest/argonish/CMakeLists.linux.txt b/library/cpp/digest/argonish/CMakeLists.linux.txt
index 617cc9aa13..5da6d6e49c 100644
--- a/library/cpp/digest/argonish/CMakeLists.linux.txt
+++ b/library/cpp/digest/argonish/CMakeLists.linux.txt
@@ -10,6 +10,7 @@ add_subdirectory(internal)
add_library(cpp-digest-argonish)
target_link_libraries(cpp-digest-argonish PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
cpp-threading-poor_man_openmp
diff --git a/library/cpp/digest/argonish/internal/argon2/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/argon2/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..cded958216
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/argon2/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(argonish-internal-argon2 INTERFACE)
+target_link_libraries(argonish-internal-argon2 INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-blamka
+ argonish-internal-blake2b
+ cpp-threading-poor_man_openmp
+)
diff --git a/library/cpp/digest/argonish/internal/argon2/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/internal/argon2/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ffa2bb1146
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/argon2/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(argonish-internal-argon2 INTERFACE)
+target_link_libraries(argonish-internal-argon2 INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-blamka
+ argonish-internal-blake2b
+ cpp-threading-poor_man_openmp
+)
diff --git a/library/cpp/digest/argonish/internal/argon2/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/argon2/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ffa2bb1146
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/argon2/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(argonish-internal-argon2 INTERFACE)
+target_link_libraries(argonish-internal-argon2 INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-blamka
+ argonish-internal-blake2b
+ cpp-threading-poor_man_openmp
+)
diff --git a/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt b/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt
index cded958216..3e0811fb22 100644
--- a/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt
+++ b/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(argonish-internal-argon2 INTERFACE)
-target_link_libraries(argonish-internal-argon2 INTERFACE
- contrib-libs-cxxsupp
- yutil
- argonish-internal-blamka
- argonish-internal-blake2b
- cpp-threading-poor_man_openmp
-)
+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/digest/argonish/internal/blake2b/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..3b3ff75316
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.darwin.txt
@@ -0,0 +1,15 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(argonish-internal-blake2b INTERFACE)
+target_link_libraries(argonish-internal-blake2b INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-rotations
+)
diff --git a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b33e219cd5
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,16 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(argonish-internal-blake2b INTERFACE)
+target_link_libraries(argonish-internal-blake2b INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-rotations
+)
diff --git a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b33e219cd5
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.linux.txt
@@ -0,0 +1,16 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(argonish-internal-blake2b INTERFACE)
+target_link_libraries(argonish-internal-blake2b INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-rotations
+)
diff --git a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt
index 3b3ff75316..3e0811fb22 100644
--- a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt
+++ b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt
@@ -6,10 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(argonish-internal-blake2b INTERFACE)
-target_link_libraries(argonish-internal-blake2b INTERFACE
- contrib-libs-cxxsupp
- yutil
- argonish-internal-rotations
-)
+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/digest/argonish/internal/blamka/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/blamka/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..61d5ee7284
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blamka/CMakeLists.darwin.txt
@@ -0,0 +1,15 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(argonish-internal-blamka INTERFACE)
+target_link_libraries(argonish-internal-blamka INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-rotations
+)
diff --git a/library/cpp/digest/argonish/internal/blamka/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/internal/blamka/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..9faf79895e
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blamka/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,16 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(argonish-internal-blamka INTERFACE)
+target_link_libraries(argonish-internal-blamka INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-rotations
+)
diff --git a/library/cpp/digest/argonish/internal/blamka/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/blamka/CMakeLists.linux.txt
new file mode 100644
index 0000000000..9faf79895e
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blamka/CMakeLists.linux.txt
@@ -0,0 +1,16 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(argonish-internal-blamka INTERFACE)
+target_link_libraries(argonish-internal-blamka INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-rotations
+)
diff --git a/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt b/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt
index 61d5ee7284..3e0811fb22 100644
--- a/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt
+++ b/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt
@@ -6,10 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(argonish-internal-blamka INTERFACE)
-target_link_libraries(argonish-internal-blamka INTERFACE
- contrib-libs-cxxsupp
- yutil
- argonish-internal-rotations
-)
+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/digest/argonish/internal/proxies/avx2/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.linux.txt
index 4b8bb68b72..1abe77ffed 100644
--- a/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.linux.txt
+++ b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.linux.txt
@@ -9,6 +9,7 @@
add_library(internal-proxies-avx2)
target_link_libraries(internal-proxies-avx2 PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
internal-proxies-macro
argonish-internal-argon2
diff --git a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..804d6035e6
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.darwin.txt
@@ -0,0 +1,14 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(internal-proxies-macro INTERFACE)
+target_link_libraries(internal-proxies-macro INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..c20224ddd6
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,15 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(internal-proxies-macro INTERFACE)
+target_link_libraries(internal-proxies-macro INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux.txt
new file mode 100644
index 0000000000..c20224ddd6
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.linux.txt
@@ -0,0 +1,15 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(internal-proxies-macro INTERFACE)
+target_link_libraries(internal-proxies-macro INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt
index 804d6035e6..3e0811fb22 100644
--- a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt
+++ b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt
@@ -6,9 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(internal-proxies-macro INTERFACE)
-target_link_libraries(internal-proxies-macro INTERFACE
- contrib-libs-cxxsupp
- yutil
-)
+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/digest/argonish/internal/proxies/ref/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..86f8c18d61
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.darwin.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(internal-proxies-ref)
+target_link_libraries(internal-proxies-ref PUBLIC
+ contrib-libs-cxxsupp
+ internal-proxies-macro
+ argonish-internal-argon2
+ argonish-internal-blake2b
+)
+target_sources(internal-proxies-ref PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/ref/proxy_ref.cpp
+)
diff --git a/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a19f8b6157
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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(internal-proxies-ref)
+target_link_libraries(internal-proxies-ref PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ internal-proxies-macro
+ argonish-internal-argon2
+ argonish-internal-blake2b
+)
+target_sources(internal-proxies-ref PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/ref/proxy_ref.cpp
+)
diff --git a/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a19f8b6157
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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(internal-proxies-ref)
+target_link_libraries(internal-proxies-ref PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ internal-proxies-macro
+ argonish-internal-argon2
+ argonish-internal-blake2b
+)
+target_sources(internal-proxies-ref PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/ref/proxy_ref.cpp
+)
diff --git a/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt
index 86f8c18d61..3e0811fb22 100644
--- a/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt
+++ b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(internal-proxies-ref)
-target_link_libraries(internal-proxies-ref PUBLIC
- contrib-libs-cxxsupp
- internal-proxies-macro
- argonish-internal-argon2
- argonish-internal-blake2b
-)
-target_sources(internal-proxies-ref PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/ref/proxy_ref.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/digest/argonish/internal/proxies/sse2/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.linux.txt
index 353f9e487e..23f190dfb3 100644
--- a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.linux.txt
+++ b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.linux.txt
@@ -9,6 +9,7 @@
add_library(internal-proxies-sse2)
target_link_libraries(internal-proxies-sse2 PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
internal-proxies-macro
argonish-internal-argon2
diff --git a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.linux.txt
index 004aaa1e52..b96cac18a2 100644
--- a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.linux.txt
+++ b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.linux.txt
@@ -9,6 +9,7 @@
add_library(internal-proxies-sse41)
target_link_libraries(internal-proxies-sse41 PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
internal-proxies-macro
argonish-internal-argon2
diff --git a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.linux.txt
index 1a30e0e974..e3320f059b 100644
--- a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.linux.txt
+++ b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.linux.txt
@@ -9,6 +9,7 @@
add_library(internal-proxies-ssse3)
target_link_libraries(internal-proxies-ssse3 PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
internal-proxies-macro
argonish-internal-argon2
diff --git a/library/cpp/digest/argonish/internal/rotations/CMakeLists.darwin.txt b/library/cpp/digest/argonish/internal/rotations/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..ebaa6579db
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/rotations/CMakeLists.darwin.txt
@@ -0,0 +1,14 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(argonish-internal-rotations INTERFACE)
+target_link_libraries(argonish-internal-rotations INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/digest/argonish/internal/rotations/CMakeLists.linux-aarch64.txt b/library/cpp/digest/argonish/internal/rotations/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..55cea73177
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/rotations/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,15 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(argonish-internal-rotations INTERFACE)
+target_link_libraries(argonish-internal-rotations INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/digest/argonish/internal/rotations/CMakeLists.linux.txt b/library/cpp/digest/argonish/internal/rotations/CMakeLists.linux.txt
new file mode 100644
index 0000000000..55cea73177
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/rotations/CMakeLists.linux.txt
@@ -0,0 +1,15 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(argonish-internal-rotations INTERFACE)
+target_link_libraries(argonish-internal-rotations INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt b/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt
index ebaa6579db..3e0811fb22 100644
--- a/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt
+++ b/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt
@@ -6,9 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(argonish-internal-rotations INTERFACE)
-target_link_libraries(argonish-internal-rotations INTERFACE
- contrib-libs-cxxsupp
- yutil
-)
+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/digest/crc32c/CMakeLists.darwin.txt b/library/cpp/digest/crc32c/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..cfdceca99c
--- /dev/null
+++ b/library/cpp/digest/crc32c/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-digest-crc32c)
+target_link_libraries(cpp-digest-crc32c PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-crcutil
+)
+target_sources(cpp-digest-crc32c PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/crc32c/crc32c.cpp
+)
diff --git a/library/cpp/digest/crc32c/CMakeLists.linux-aarch64.txt b/library/cpp/digest/crc32c/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a1d009dc27
--- /dev/null
+++ b/library/cpp/digest/crc32c/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-digest-crc32c)
+target_link_libraries(cpp-digest-crc32c PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-crcutil
+)
+target_sources(cpp-digest-crc32c PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/crc32c/crc32c.cpp
+)
diff --git a/library/cpp/digest/crc32c/CMakeLists.linux.txt b/library/cpp/digest/crc32c/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a1d009dc27
--- /dev/null
+++ b/library/cpp/digest/crc32c/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-digest-crc32c)
+target_link_libraries(cpp-digest-crc32c PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-crcutil
+)
+target_sources(cpp-digest-crc32c PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/crc32c/crc32c.cpp
+)
diff --git a/library/cpp/digest/crc32c/CMakeLists.txt b/library/cpp/digest/crc32c/CMakeLists.txt
index cfdceca99c..3e0811fb22 100644
--- a/library/cpp/digest/crc32c/CMakeLists.txt
+++ b/library/cpp/digest/crc32c/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-digest-crc32c)
-target_link_libraries(cpp-digest-crc32c PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-crcutil
-)
-target_sources(cpp-digest-crc32c PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/digest/crc32c/crc32c.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/digest/lower_case/CMakeLists.darwin.txt b/library/cpp/digest/lower_case/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..bb63566e83
--- /dev/null
+++ b/library/cpp/digest/lower_case/CMakeLists.darwin.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-digest-lower_case)
+target_link_libraries(cpp-digest-lower_case PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-digest-lower_case PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/lciter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/lchash.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/hash_ops.cpp
+)
diff --git a/library/cpp/digest/lower_case/CMakeLists.linux-aarch64.txt b/library/cpp/digest/lower_case/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..e14001d041
--- /dev/null
+++ b/library/cpp/digest/lower_case/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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-digest-lower_case)
+target_link_libraries(cpp-digest-lower_case PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-digest-lower_case PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/lciter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/lchash.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/hash_ops.cpp
+)
diff --git a/library/cpp/digest/lower_case/CMakeLists.linux.txt b/library/cpp/digest/lower_case/CMakeLists.linux.txt
new file mode 100644
index 0000000000..e14001d041
--- /dev/null
+++ b/library/cpp/digest/lower_case/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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-digest-lower_case)
+target_link_libraries(cpp-digest-lower_case PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-digest-lower_case PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/lciter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/lchash.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/hash_ops.cpp
+)
diff --git a/library/cpp/digest/lower_case/CMakeLists.txt b/library/cpp/digest/lower_case/CMakeLists.txt
index bb63566e83..3e0811fb22 100644
--- a/library/cpp/digest/lower_case/CMakeLists.txt
+++ b/library/cpp/digest/lower_case/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-digest-lower_case)
-target_link_libraries(cpp-digest-lower_case PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-digest-lower_case PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/lciter.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/lchash.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/hash_ops.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/digest/md5/CMakeLists.darwin.txt b/library/cpp/digest/md5/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..e143da452b
--- /dev/null
+++ b/library/cpp/digest/md5/CMakeLists.darwin.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-digest-md5)
+target_link_libraries(cpp-digest-md5 PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-nayuki_md5
+ cpp-string_utils-base64
+)
+target_sources(cpp-digest-md5 PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/md5/md5.cpp
+)
diff --git a/library/cpp/digest/md5/CMakeLists.linux-aarch64.txt b/library/cpp/digest/md5/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..dbfb1dc72e
--- /dev/null
+++ b/library/cpp/digest/md5/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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-digest-md5)
+target_link_libraries(cpp-digest-md5 PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-nayuki_md5
+ cpp-string_utils-base64
+)
+target_sources(cpp-digest-md5 PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/md5/md5.cpp
+)
diff --git a/library/cpp/digest/md5/CMakeLists.linux.txt b/library/cpp/digest/md5/CMakeLists.linux.txt
new file mode 100644
index 0000000000..dbfb1dc72e
--- /dev/null
+++ b/library/cpp/digest/md5/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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-digest-md5)
+target_link_libraries(cpp-digest-md5 PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-nayuki_md5
+ cpp-string_utils-base64
+)
+target_sources(cpp-digest-md5 PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/md5/md5.cpp
+)
diff --git a/library/cpp/digest/md5/CMakeLists.txt b/library/cpp/digest/md5/CMakeLists.txt
index e143da452b..3e0811fb22 100644
--- a/library/cpp/digest/md5/CMakeLists.txt
+++ b/library/cpp/digest/md5/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-digest-md5)
-target_link_libraries(cpp-digest-md5 PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-nayuki_md5
- cpp-string_utils-base64
-)
-target_sources(cpp-digest-md5 PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/digest/md5/md5.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/digest/murmur/CMakeLists.darwin.txt b/library/cpp/digest/murmur/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..ad4f1ed021
--- /dev/null
+++ b/library/cpp/digest/murmur/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-digest-murmur)
+target_link_libraries(cpp-digest-murmur PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-digest-murmur PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/murmur/murmur.cpp
+)
diff --git a/library/cpp/digest/murmur/CMakeLists.linux-aarch64.txt b/library/cpp/digest/murmur/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..c291d6c8ad
--- /dev/null
+++ b/library/cpp/digest/murmur/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-digest-murmur)
+target_link_libraries(cpp-digest-murmur PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-digest-murmur PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/murmur/murmur.cpp
+)
diff --git a/library/cpp/digest/murmur/CMakeLists.linux.txt b/library/cpp/digest/murmur/CMakeLists.linux.txt
new file mode 100644
index 0000000000..c291d6c8ad
--- /dev/null
+++ b/library/cpp/digest/murmur/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-digest-murmur)
+target_link_libraries(cpp-digest-murmur PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-digest-murmur PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/murmur/murmur.cpp
+)
diff --git a/library/cpp/digest/murmur/CMakeLists.txt b/library/cpp/digest/murmur/CMakeLists.txt
index ad4f1ed021..3e0811fb22 100644
--- a/library/cpp/digest/murmur/CMakeLists.txt
+++ b/library/cpp/digest/murmur/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-digest-murmur)
-target_link_libraries(cpp-digest-murmur PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-digest-murmur PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/digest/murmur/murmur.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/digest/old_crc/CMakeLists.darwin.txt b/library/cpp/digest/old_crc/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..c764aa0ff7
--- /dev/null
+++ b/library/cpp/digest/old_crc/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_subdirectory(gencrc)
+
+add_library(cpp-digest-old_crc)
+target_link_libraries(cpp-digest-old_crc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-digest-old_crc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/crc.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
+)
+add_custom_command(
+ OUTPUT
+ ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
+ DEPENDS
+ ${TOOLS_ROOT}/library/cpp/digest/old_crc/gencrc/gencrc
+ COMMAND
+ ${TOOLS_ROOT}/library/cpp/digest/old_crc/gencrc/gencrc
+ >
+ crc.inc
+)
diff --git a/library/cpp/digest/old_crc/CMakeLists.linux-aarch64.txt b/library/cpp/digest/old_crc/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b59fc0cdfe
--- /dev/null
+++ b/library/cpp/digest/old_crc/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.
+
+
+add_subdirectory(gencrc)
+
+add_library(cpp-digest-old_crc)
+target_link_libraries(cpp-digest-old_crc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-digest-old_crc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/crc.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
+)
+add_custom_command(
+ OUTPUT
+ ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
+ DEPENDS
+ ${TOOLS_ROOT}/library/cpp/digest/old_crc/gencrc/gencrc
+ COMMAND
+ ${TOOLS_ROOT}/library/cpp/digest/old_crc/gencrc/gencrc
+ >
+ crc.inc
+)
diff --git a/library/cpp/digest/old_crc/CMakeLists.linux.txt b/library/cpp/digest/old_crc/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b59fc0cdfe
--- /dev/null
+++ b/library/cpp/digest/old_crc/CMakeLists.linux.txt
@@ -0,0 +1,30 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(gencrc)
+
+add_library(cpp-digest-old_crc)
+target_link_libraries(cpp-digest-old_crc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-digest-old_crc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/crc.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
+)
+add_custom_command(
+ OUTPUT
+ ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
+ DEPENDS
+ ${TOOLS_ROOT}/library/cpp/digest/old_crc/gencrc/gencrc
+ COMMAND
+ ${TOOLS_ROOT}/library/cpp/digest/old_crc/gencrc/gencrc
+ >
+ crc.inc
+)
diff --git a/library/cpp/digest/old_crc/CMakeLists.txt b/library/cpp/digest/old_crc/CMakeLists.txt
index c764aa0ff7..3e0811fb22 100644
--- a/library/cpp/digest/old_crc/CMakeLists.txt
+++ b/library/cpp/digest/old_crc/CMakeLists.txt
@@ -6,24 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(gencrc)
-
-add_library(cpp-digest-old_crc)
-target_link_libraries(cpp-digest-old_crc PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-digest-old_crc PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/crc.cpp
- ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
-)
-add_custom_command(
- OUTPUT
- ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
- DEPENDS
- ${TOOLS_ROOT}/library/cpp/digest/old_crc/gencrc/gencrc
- COMMAND
- ${TOOLS_ROOT}/library/cpp/digest/old_crc/gencrc/gencrc
- >
- crc.inc
-)
+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/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt
index 592c03d0be..0b8d0683e4 100644
--- a/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt
@@ -9,6 +9,7 @@
add_executable(gencrc)
target_link_libraries(gencrc PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
library-cpp-lfalloc
diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt
index 40816c5559..69cf325c8b 100644
--- a/library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt
+++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux.txt
@@ -9,6 +9,7 @@
add_executable(gencrc)
target_link_libraries(gencrc PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
cpp-malloc-tcmalloc
diff --git a/library/cpp/digest/sfh/CMakeLists.darwin.txt b/library/cpp/digest/sfh/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..7dd856c395
--- /dev/null
+++ b/library/cpp/digest/sfh/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-digest-sfh)
+target_link_libraries(cpp-digest-sfh PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-digest-sfh PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/sfh/sfh.cpp
+)
diff --git a/library/cpp/digest/sfh/CMakeLists.linux-aarch64.txt b/library/cpp/digest/sfh/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..f9d9053447
--- /dev/null
+++ b/library/cpp/digest/sfh/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-digest-sfh)
+target_link_libraries(cpp-digest-sfh PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-digest-sfh PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/sfh/sfh.cpp
+)
diff --git a/library/cpp/digest/sfh/CMakeLists.linux.txt b/library/cpp/digest/sfh/CMakeLists.linux.txt
new file mode 100644
index 0000000000..f9d9053447
--- /dev/null
+++ b/library/cpp/digest/sfh/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-digest-sfh)
+target_link_libraries(cpp-digest-sfh PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-digest-sfh PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/sfh/sfh.cpp
+)
diff --git a/library/cpp/digest/sfh/CMakeLists.txt b/library/cpp/digest/sfh/CMakeLists.txt
index 7dd856c395..3e0811fb22 100644
--- a/library/cpp/digest/sfh/CMakeLists.txt
+++ b/library/cpp/digest/sfh/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-digest-sfh)
-target_link_libraries(cpp-digest-sfh PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-digest-sfh PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/digest/sfh/sfh.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/dns/CMakeLists.darwin.txt b/library/cpp/dns/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..08f2d57a33
--- /dev/null
+++ b/library/cpp/dns/CMakeLists.darwin.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(library-cpp-dns)
+target_link_libraries(library-cpp-dns PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-dns PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/dns/cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/dns/thread.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/dns/magic.cpp
+)
diff --git a/library/cpp/dns/CMakeLists.linux-aarch64.txt b/library/cpp/dns/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..c5c0bd1db7
--- /dev/null
+++ b/library/cpp/dns/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-dns)
+target_link_libraries(library-cpp-dns PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-dns PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/dns/cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/dns/thread.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/dns/magic.cpp
+)
diff --git a/library/cpp/dns/CMakeLists.linux.txt b/library/cpp/dns/CMakeLists.linux.txt
new file mode 100644
index 0000000000..c5c0bd1db7
--- /dev/null
+++ b/library/cpp/dns/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-dns)
+target_link_libraries(library-cpp-dns PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-dns PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/dns/cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/dns/thread.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/dns/magic.cpp
+)
diff --git a/library/cpp/dns/CMakeLists.txt b/library/cpp/dns/CMakeLists.txt
index 08f2d57a33..3e0811fb22 100644
--- a/library/cpp/dns/CMakeLists.txt
+++ b/library/cpp/dns/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-dns)
-target_link_libraries(library-cpp-dns PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-dns PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/dns/cache.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/dns/thread.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/dns/magic.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/enumbitset/CMakeLists.darwin.txt b/library/cpp/enumbitset/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..c7ea00792d
--- /dev/null
+++ b/library/cpp/enumbitset/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(library-cpp-enumbitset)
+target_link_libraries(library-cpp-enumbitset PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-enumbitset PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/enumbitset/enumbitset.cpp
+)
diff --git a/library/cpp/enumbitset/CMakeLists.linux-aarch64.txt b/library/cpp/enumbitset/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..650d03c435
--- /dev/null
+++ b/library/cpp/enumbitset/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(library-cpp-enumbitset)
+target_link_libraries(library-cpp-enumbitset PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-enumbitset PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/enumbitset/enumbitset.cpp
+)
diff --git a/library/cpp/enumbitset/CMakeLists.linux.txt b/library/cpp/enumbitset/CMakeLists.linux.txt
new file mode 100644
index 0000000000..650d03c435
--- /dev/null
+++ b/library/cpp/enumbitset/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(library-cpp-enumbitset)
+target_link_libraries(library-cpp-enumbitset PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-enumbitset PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/enumbitset/enumbitset.cpp
+)
diff --git a/library/cpp/enumbitset/CMakeLists.txt b/library/cpp/enumbitset/CMakeLists.txt
index c7ea00792d..3e0811fb22 100644
--- a/library/cpp/enumbitset/CMakeLists.txt
+++ b/library/cpp/enumbitset/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-enumbitset)
-target_link_libraries(library-cpp-enumbitset PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-enumbitset PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/enumbitset/enumbitset.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/execprofile/CMakeLists.darwin.txt b/library/cpp/execprofile/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..0b8326bda5
--- /dev/null
+++ b/library/cpp/execprofile/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(library-cpp-execprofile)
+target_link_libraries(library-cpp-execprofile PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-execprofile PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/execprofile/profile.cpp
+)
diff --git a/library/cpp/execprofile/CMakeLists.linux-aarch64.txt b/library/cpp/execprofile/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a5f75fd015
--- /dev/null
+++ b/library/cpp/execprofile/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(library-cpp-execprofile)
+target_link_libraries(library-cpp-execprofile PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-execprofile PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/execprofile/profile.cpp
+)
diff --git a/library/cpp/execprofile/CMakeLists.linux.txt b/library/cpp/execprofile/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a5f75fd015
--- /dev/null
+++ b/library/cpp/execprofile/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(library-cpp-execprofile)
+target_link_libraries(library-cpp-execprofile PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-execprofile PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/execprofile/profile.cpp
+)
diff --git a/library/cpp/execprofile/CMakeLists.txt b/library/cpp/execprofile/CMakeLists.txt
index 0b8326bda5..3e0811fb22 100644
--- a/library/cpp/execprofile/CMakeLists.txt
+++ b/library/cpp/execprofile/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-execprofile)
-target_link_libraries(library-cpp-execprofile PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
-)
-target_sources(library-cpp-execprofile PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/execprofile/profile.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/getopt/CMakeLists.darwin.txt b/library/cpp/getopt/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..7c366f9a33
--- /dev/null
+++ b/library/cpp/getopt/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(small)
+
+add_library(library-cpp-getopt INTERFACE)
+target_link_libraries(library-cpp-getopt INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ cpp-getopt-small
+ library-cpp-svnversion
+ library-cpp-build_info
+)
+
+add_global_library_for(library-cpp-getopt.global library-cpp-getopt)
+target_link_libraries(library-cpp-getopt.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-getopt-small
+ library-cpp-svnversion
+ library-cpp-build_info
+)
+target_sources(library-cpp-getopt.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/print.cpp
+)
diff --git a/library/cpp/getopt/CMakeLists.linux-aarch64.txt b/library/cpp/getopt/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..80253dd5d7
--- /dev/null
+++ b/library/cpp/getopt/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(small)
+
+add_library(library-cpp-getopt INTERFACE)
+target_link_libraries(library-cpp-getopt INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-getopt-small
+ library-cpp-svnversion
+ library-cpp-build_info
+)
+
+add_global_library_for(library-cpp-getopt.global library-cpp-getopt)
+target_link_libraries(library-cpp-getopt.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-getopt-small
+ library-cpp-svnversion
+ library-cpp-build_info
+)
+target_sources(library-cpp-getopt.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/print.cpp
+)
diff --git a/library/cpp/getopt/CMakeLists.linux.txt b/library/cpp/getopt/CMakeLists.linux.txt
new file mode 100644
index 0000000000..80253dd5d7
--- /dev/null
+++ b/library/cpp/getopt/CMakeLists.linux.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(small)
+
+add_library(library-cpp-getopt INTERFACE)
+target_link_libraries(library-cpp-getopt INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-getopt-small
+ library-cpp-svnversion
+ library-cpp-build_info
+)
+
+add_global_library_for(library-cpp-getopt.global library-cpp-getopt)
+target_link_libraries(library-cpp-getopt.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-getopt-small
+ library-cpp-svnversion
+ library-cpp-build_info
+)
+target_sources(library-cpp-getopt.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/print.cpp
+)
diff --git a/library/cpp/getopt/CMakeLists.txt b/library/cpp/getopt/CMakeLists.txt
index 7c366f9a33..3e0811fb22 100644
--- a/library/cpp/getopt/CMakeLists.txt
+++ b/library/cpp/getopt/CMakeLists.txt
@@ -6,25 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(small)
-
-add_library(library-cpp-getopt INTERFACE)
-target_link_libraries(library-cpp-getopt INTERFACE
- contrib-libs-cxxsupp
- yutil
- cpp-getopt-small
- library-cpp-svnversion
- library-cpp-build_info
-)
-
-add_global_library_for(library-cpp-getopt.global library-cpp-getopt)
-target_link_libraries(library-cpp-getopt.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-getopt-small
- library-cpp-svnversion
- library-cpp-build_info
-)
-target_sources(library-cpp-getopt.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/print.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/getopt/small/CMakeLists.darwin.txt b/library/cpp/getopt/small/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..8f823feaa5
--- /dev/null
+++ b/library/cpp/getopt/small/CMakeLists.darwin.txt
@@ -0,0 +1,33 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-getopt-small)
+target_link_libraries(cpp-getopt-small PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-colorizer
+)
+target_sources(cpp-getopt-small PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completer_command.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completion_generator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/formatted_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_easy_setup.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_opt.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_opts.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_parser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_parse_result.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/modchooser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/opt.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/opt2.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/posix_getopt.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/wrap.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/ygetopt.cpp
+)
diff --git a/library/cpp/getopt/small/CMakeLists.linux-aarch64.txt b/library/cpp/getopt/small/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..cf45ee5d27
--- /dev/null
+++ b/library/cpp/getopt/small/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-getopt-small)
+target_link_libraries(cpp-getopt-small PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-colorizer
+)
+target_sources(cpp-getopt-small PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completer_command.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completion_generator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/formatted_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_easy_setup.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_opt.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_opts.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_parser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_parse_result.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/modchooser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/opt.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/opt2.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/posix_getopt.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/wrap.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/ygetopt.cpp
+)
diff --git a/library/cpp/getopt/small/CMakeLists.linux.txt b/library/cpp/getopt/small/CMakeLists.linux.txt
new file mode 100644
index 0000000000..cf45ee5d27
--- /dev/null
+++ b/library/cpp/getopt/small/CMakeLists.linux.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-getopt-small)
+target_link_libraries(cpp-getopt-small PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-colorizer
+)
+target_sources(cpp-getopt-small PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completer_command.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completion_generator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/formatted_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_easy_setup.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_opt.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_opts.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_parser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_parse_result.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/modchooser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/opt.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/opt2.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/posix_getopt.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/wrap.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/ygetopt.cpp
+)
diff --git a/library/cpp/getopt/small/CMakeLists.txt b/library/cpp/getopt/small/CMakeLists.txt
index 8f823feaa5..3e0811fb22 100644
--- a/library/cpp/getopt/small/CMakeLists.txt
+++ b/library/cpp/getopt/small/CMakeLists.txt
@@ -6,28 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-getopt-small)
-target_link_libraries(cpp-getopt-small PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-colorizer
-)
-target_sources(cpp-getopt-small PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completer_command.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completion_generator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/formatted_output.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_easy_setup.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_opt.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_opts.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_parser.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_parse_result.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/modchooser.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/opt.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/opt2.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/posix_getopt.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/wrap.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/ygetopt.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/grpc/client/CMakeLists.darwin.txt b/library/cpp/grpc/client/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..a356f8f6bd
--- /dev/null
+++ b/library/cpp/grpc/client/CMakeLists.darwin.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-grpc-client)
+target_link_libraries(cpp-grpc-client PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-grpc
+ cpp-deprecated-atomic
+)
+target_sources(cpp-grpc-client PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/client/grpc_client_low.cpp
+)
diff --git a/library/cpp/grpc/client/CMakeLists.linux-aarch64.txt b/library/cpp/grpc/client/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..921c7d716c
--- /dev/null
+++ b/library/cpp/grpc/client/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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-grpc-client)
+target_link_libraries(cpp-grpc-client PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-grpc
+ cpp-deprecated-atomic
+)
+target_sources(cpp-grpc-client PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/client/grpc_client_low.cpp
+)
diff --git a/library/cpp/grpc/client/CMakeLists.linux.txt b/library/cpp/grpc/client/CMakeLists.linux.txt
new file mode 100644
index 0000000000..921c7d716c
--- /dev/null
+++ b/library/cpp/grpc/client/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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-grpc-client)
+target_link_libraries(cpp-grpc-client PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-grpc
+ cpp-deprecated-atomic
+)
+target_sources(cpp-grpc-client PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/client/grpc_client_low.cpp
+)
diff --git a/library/cpp/grpc/client/CMakeLists.txt b/library/cpp/grpc/client/CMakeLists.txt
index a356f8f6bd..3e0811fb22 100644
--- a/library/cpp/grpc/client/CMakeLists.txt
+++ b/library/cpp/grpc/client/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-grpc-client)
-target_link_libraries(cpp-grpc-client PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-grpc
- cpp-deprecated-atomic
-)
-target_sources(cpp-grpc-client PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/grpc/client/grpc_client_low.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/grpc/server/CMakeLists.darwin.txt b/library/cpp/grpc/server/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..0f7e4f6a93
--- /dev/null
+++ b/library/cpp/grpc/server/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_subdirectory(actors)
+
+add_library(cpp-grpc-server)
+target_link_libraries(cpp-grpc-server PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ contrib-libs-grpc
+ monlib-dynamic_counters-percentile
+)
+target_sources(cpp-grpc-server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/event_callback.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_request.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_server.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_counters.cpp
+)
+generate_enum_serilization(cpp-grpc-server
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_request_base.h
+ INCLUDE_HEADERS
+ library/cpp/grpc/server/grpc_request_base.h
+)
diff --git a/library/cpp/grpc/server/CMakeLists.linux-aarch64.txt b/library/cpp/grpc/server/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..354b89707b
--- /dev/null
+++ b/library/cpp/grpc/server/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.
+
+
+add_subdirectory(actors)
+
+add_library(cpp-grpc-server)
+target_link_libraries(cpp-grpc-server PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ contrib-libs-grpc
+ monlib-dynamic_counters-percentile
+)
+target_sources(cpp-grpc-server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/event_callback.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_request.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_server.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_counters.cpp
+)
+generate_enum_serilization(cpp-grpc-server
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_request_base.h
+ INCLUDE_HEADERS
+ library/cpp/grpc/server/grpc_request_base.h
+)
diff --git a/library/cpp/grpc/server/CMakeLists.linux.txt b/library/cpp/grpc/server/CMakeLists.linux.txt
new file mode 100644
index 0000000000..354b89707b
--- /dev/null
+++ b/library/cpp/grpc/server/CMakeLists.linux.txt
@@ -0,0 +1,30 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(actors)
+
+add_library(cpp-grpc-server)
+target_link_libraries(cpp-grpc-server PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ contrib-libs-grpc
+ monlib-dynamic_counters-percentile
+)
+target_sources(cpp-grpc-server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/event_callback.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_request.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_server.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_counters.cpp
+)
+generate_enum_serilization(cpp-grpc-server
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_request_base.h
+ INCLUDE_HEADERS
+ library/cpp/grpc/server/grpc_request_base.h
+)
diff --git a/library/cpp/grpc/server/CMakeLists.txt b/library/cpp/grpc/server/CMakeLists.txt
index 0f7e4f6a93..3e0811fb22 100644
--- a/library/cpp/grpc/server/CMakeLists.txt
+++ b/library/cpp/grpc/server/CMakeLists.txt
@@ -6,24 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(actors)
-
-add_library(cpp-grpc-server)
-target_link_libraries(cpp-grpc-server PUBLIC
- contrib-libs-cxxsupp
- yutil
- tools-enum_parser-enum_serialization_runtime
- contrib-libs-grpc
- monlib-dynamic_counters-percentile
-)
-target_sources(cpp-grpc-server PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/event_callback.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_request.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_server.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_counters.cpp
-)
-generate_enum_serilization(cpp-grpc-server
- ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_request_base.h
- INCLUDE_HEADERS
- library/cpp/grpc/server/grpc_request_base.h
-)
+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/grpc/server/actors/CMakeLists.darwin.txt b/library/cpp/grpc/server/actors/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..f35352acc1
--- /dev/null
+++ b/library/cpp/grpc/server/actors/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(grpc-server-actors)
+target_link_libraries(grpc-server-actors PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+)
+target_sources(grpc-server-actors PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/actors/logger.cpp
+)
diff --git a/library/cpp/grpc/server/actors/CMakeLists.linux-aarch64.txt b/library/cpp/grpc/server/actors/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..08a0a5b891
--- /dev/null
+++ b/library/cpp/grpc/server/actors/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(grpc-server-actors)
+target_link_libraries(grpc-server-actors PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+)
+target_sources(grpc-server-actors PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/actors/logger.cpp
+)
diff --git a/library/cpp/grpc/server/actors/CMakeLists.linux.txt b/library/cpp/grpc/server/actors/CMakeLists.linux.txt
new file mode 100644
index 0000000000..08a0a5b891
--- /dev/null
+++ b/library/cpp/grpc/server/actors/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(grpc-server-actors)
+target_link_libraries(grpc-server-actors PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+)
+target_sources(grpc-server-actors PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/actors/logger.cpp
+)
diff --git a/library/cpp/grpc/server/actors/CMakeLists.txt b/library/cpp/grpc/server/actors/CMakeLists.txt
index f35352acc1..3e0811fb22 100644
--- a/library/cpp/grpc/server/actors/CMakeLists.txt
+++ b/library/cpp/grpc/server/actors/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(grpc-server-actors)
-target_link_libraries(grpc-server-actors PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-actors-core
-)
-target_sources(grpc-server-actors PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/actors/logger.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/histogram/adaptive/CMakeLists.darwin.txt b/library/cpp/histogram/adaptive/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..4b8b25ac3f
--- /dev/null
+++ b/library/cpp/histogram/adaptive/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_subdirectory(protos)
+
+add_library(cpp-histogram-adaptive)
+target_link_libraries(cpp-histogram-adaptive PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ histogram-adaptive-protos
+)
+target_sources(cpp-histogram-adaptive PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/common.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/adaptive_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/block_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/fixed_bin_histogram.cpp
+)
diff --git a/library/cpp/histogram/adaptive/CMakeLists.linux-aarch64.txt b/library/cpp/histogram/adaptive/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..0bd42021ec
--- /dev/null
+++ b/library/cpp/histogram/adaptive/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_subdirectory(protos)
+
+add_library(cpp-histogram-adaptive)
+target_link_libraries(cpp-histogram-adaptive PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ histogram-adaptive-protos
+)
+target_sources(cpp-histogram-adaptive PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/common.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/adaptive_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/block_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/fixed_bin_histogram.cpp
+)
diff --git a/library/cpp/histogram/adaptive/CMakeLists.linux.txt b/library/cpp/histogram/adaptive/CMakeLists.linux.txt
new file mode 100644
index 0000000000..0bd42021ec
--- /dev/null
+++ b/library/cpp/histogram/adaptive/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_subdirectory(protos)
+
+add_library(cpp-histogram-adaptive)
+target_link_libraries(cpp-histogram-adaptive PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ histogram-adaptive-protos
+)
+target_sources(cpp-histogram-adaptive PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/common.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/adaptive_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/block_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/fixed_bin_histogram.cpp
+)
diff --git a/library/cpp/histogram/adaptive/CMakeLists.txt b/library/cpp/histogram/adaptive/CMakeLists.txt
index 4b8b25ac3f..3e0811fb22 100644
--- a/library/cpp/histogram/adaptive/CMakeLists.txt
+++ b/library/cpp/histogram/adaptive/CMakeLists.txt
@@ -6,18 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(protos)
-
-add_library(cpp-histogram-adaptive)
-target_link_libraries(cpp-histogram-adaptive PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
- histogram-adaptive-protos
-)
-target_sources(cpp-histogram-adaptive PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/common.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/adaptive_histogram.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/block_histogram.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/fixed_bin_histogram.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/histogram/adaptive/protos/CMakeLists.darwin.txt b/library/cpp/histogram/adaptive/protos/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..5047c52591
--- /dev/null
+++ b/library/cpp/histogram/adaptive/protos/CMakeLists.darwin.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(histogram-adaptive-protos)
+target_link_libraries(histogram-adaptive-protos PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(histogram-adaptive-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/protos/histo.proto
+)
+target_proto_addincls(histogram-adaptive-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(histogram-adaptive-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/histogram/adaptive/protos/CMakeLists.linux-aarch64.txt b/library/cpp/histogram/adaptive/protos/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..d1701dad75
--- /dev/null
+++ b/library/cpp/histogram/adaptive/protos/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(histogram-adaptive-protos)
+target_link_libraries(histogram-adaptive-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(histogram-adaptive-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/protos/histo.proto
+)
+target_proto_addincls(histogram-adaptive-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(histogram-adaptive-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/histogram/adaptive/protos/CMakeLists.linux.txt b/library/cpp/histogram/adaptive/protos/CMakeLists.linux.txt
new file mode 100644
index 0000000000..d1701dad75
--- /dev/null
+++ b/library/cpp/histogram/adaptive/protos/CMakeLists.linux.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(histogram-adaptive-protos)
+target_link_libraries(histogram-adaptive-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(histogram-adaptive-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/protos/histo.proto
+)
+target_proto_addincls(histogram-adaptive-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(histogram-adaptive-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/histogram/adaptive/protos/CMakeLists.txt b/library/cpp/histogram/adaptive/protos/CMakeLists.txt
index 5047c52591..3e0811fb22 100644
--- a/library/cpp/histogram/adaptive/protos/CMakeLists.txt
+++ b/library/cpp/histogram/adaptive/protos/CMakeLists.txt
@@ -6,26 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(histogram-adaptive-protos)
-target_link_libraries(histogram-adaptive-protos PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
-)
-target_proto_messages(histogram-adaptive-protos PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/protos/histo.proto
-)
-target_proto_addincls(histogram-adaptive-protos
- ./
- ${CMAKE_SOURCE_DIR}/
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(histogram-adaptive-protos
- --cpp_out=${CMAKE_BINARY_DIR}/
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
-)
+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/histogram/hdr/CMakeLists.darwin.txt b/library/cpp/histogram/hdr/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..68c1139af6
--- /dev/null
+++ b/library/cpp/histogram/hdr/CMakeLists.darwin.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-histogram-hdr)
+target_link_libraries(cpp-histogram-hdr PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-hdr_histogram
+)
+target_sources(cpp-histogram-hdr PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/hdr/histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/hdr/histogram_iter.cpp
+)
diff --git a/library/cpp/histogram/hdr/CMakeLists.linux-aarch64.txt b/library/cpp/histogram/hdr/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..741271ddfe
--- /dev/null
+++ b/library/cpp/histogram/hdr/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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-histogram-hdr)
+target_link_libraries(cpp-histogram-hdr PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-hdr_histogram
+)
+target_sources(cpp-histogram-hdr PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/hdr/histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/hdr/histogram_iter.cpp
+)
diff --git a/library/cpp/histogram/hdr/CMakeLists.linux.txt b/library/cpp/histogram/hdr/CMakeLists.linux.txt
new file mode 100644
index 0000000000..741271ddfe
--- /dev/null
+++ b/library/cpp/histogram/hdr/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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-histogram-hdr)
+target_link_libraries(cpp-histogram-hdr PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-hdr_histogram
+)
+target_sources(cpp-histogram-hdr PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/hdr/histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/histogram/hdr/histogram_iter.cpp
+)
diff --git a/library/cpp/histogram/hdr/CMakeLists.txt b/library/cpp/histogram/hdr/CMakeLists.txt
index 68c1139af6..3e0811fb22 100644
--- a/library/cpp/histogram/hdr/CMakeLists.txt
+++ b/library/cpp/histogram/hdr/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-histogram-hdr)
-target_link_libraries(cpp-histogram-hdr PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-hdr_histogram
-)
-target_sources(cpp-histogram-hdr PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/histogram/hdr/histogram.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/histogram/hdr/histogram_iter.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/html/escape/CMakeLists.darwin.txt b/library/cpp/html/escape/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..459ccd0cef
--- /dev/null
+++ b/library/cpp/html/escape/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-html-escape)
+target_link_libraries(cpp-html-escape PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-html-escape PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/html/escape/escape.cpp
+)
diff --git a/library/cpp/html/escape/CMakeLists.linux-aarch64.txt b/library/cpp/html/escape/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..222711bf25
--- /dev/null
+++ b/library/cpp/html/escape/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-html-escape)
+target_link_libraries(cpp-html-escape PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-html-escape PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/html/escape/escape.cpp
+)
diff --git a/library/cpp/html/escape/CMakeLists.linux.txt b/library/cpp/html/escape/CMakeLists.linux.txt
new file mode 100644
index 0000000000..222711bf25
--- /dev/null
+++ b/library/cpp/html/escape/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-html-escape)
+target_link_libraries(cpp-html-escape PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-html-escape PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/html/escape/escape.cpp
+)
diff --git a/library/cpp/html/escape/CMakeLists.txt b/library/cpp/html/escape/CMakeLists.txt
index 459ccd0cef..3e0811fb22 100644
--- a/library/cpp/html/escape/CMakeLists.txt
+++ b/library/cpp/html/escape/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-html-escape)
-target_link_libraries(cpp-html-escape PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-html-escape PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/html/escape/escape.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/html/pcdata/CMakeLists.darwin.txt b/library/cpp/html/pcdata/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..a6d32066c2
--- /dev/null
+++ b/library/cpp/html/pcdata/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-html-pcdata)
+target_link_libraries(cpp-html-pcdata PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-html-pcdata PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/html/pcdata/pcdata.cpp
+)
diff --git a/library/cpp/html/pcdata/CMakeLists.linux-aarch64.txt b/library/cpp/html/pcdata/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..6bd8d8d350
--- /dev/null
+++ b/library/cpp/html/pcdata/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-html-pcdata)
+target_link_libraries(cpp-html-pcdata PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-html-pcdata PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/html/pcdata/pcdata.cpp
+)
diff --git a/library/cpp/html/pcdata/CMakeLists.linux.txt b/library/cpp/html/pcdata/CMakeLists.linux.txt
new file mode 100644
index 0000000000..6bd8d8d350
--- /dev/null
+++ b/library/cpp/html/pcdata/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-html-pcdata)
+target_link_libraries(cpp-html-pcdata PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-html-pcdata PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/html/pcdata/pcdata.cpp
+)
diff --git a/library/cpp/html/pcdata/CMakeLists.txt b/library/cpp/html/pcdata/CMakeLists.txt
index a6d32066c2..3e0811fb22 100644
--- a/library/cpp/html/pcdata/CMakeLists.txt
+++ b/library/cpp/html/pcdata/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-html-pcdata)
-target_link_libraries(cpp-html-pcdata PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-html-pcdata PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/html/pcdata/pcdata.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/http/fetch/CMakeLists.darwin.txt b/library/cpp/http/fetch/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..eb8cdf251a
--- /dev/null
+++ b/library/cpp/http/fetch/CMakeLists.darwin.txt
@@ -0,0 +1,40 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(ZLIB REQUIRED)
+
+add_library(cpp-http-fetch)
+target_link_libraries(cpp-http-fetch PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ ZLIB::ZLIB
+ library-cpp-charset
+ cpp-digest-md5
+ cpp-http-misc
+ library-cpp-logger
+ cpp-mime-types
+ library-cpp-uri
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-http-fetch PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_digest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_socket.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpload.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/exthttpcodes.cpp
+)
+generate_enum_serilization(cpp-http-fetch
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.h
+ INCLUDE_HEADERS
+ library/cpp/http/fetch/httpheader.h
+)
+target_ragel_lexers(cpp-http-fetch
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpfsm.rl6
+ -CG1
+)
diff --git a/library/cpp/http/fetch/CMakeLists.linux-aarch64.txt b/library/cpp/http/fetch/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..639b821e70
--- /dev/null
+++ b/library/cpp/http/fetch/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,41 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(ZLIB REQUIRED)
+
+add_library(cpp-http-fetch)
+target_link_libraries(cpp-http-fetch PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ ZLIB::ZLIB
+ library-cpp-charset
+ cpp-digest-md5
+ cpp-http-misc
+ library-cpp-logger
+ cpp-mime-types
+ library-cpp-uri
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-http-fetch PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_digest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_socket.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpload.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/exthttpcodes.cpp
+)
+generate_enum_serilization(cpp-http-fetch
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.h
+ INCLUDE_HEADERS
+ library/cpp/http/fetch/httpheader.h
+)
+target_ragel_lexers(cpp-http-fetch
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpfsm.rl6
+ -CG1
+)
diff --git a/library/cpp/http/fetch/CMakeLists.linux.txt b/library/cpp/http/fetch/CMakeLists.linux.txt
new file mode 100644
index 0000000000..639b821e70
--- /dev/null
+++ b/library/cpp/http/fetch/CMakeLists.linux.txt
@@ -0,0 +1,41 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(ZLIB REQUIRED)
+
+add_library(cpp-http-fetch)
+target_link_libraries(cpp-http-fetch PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ ZLIB::ZLIB
+ library-cpp-charset
+ cpp-digest-md5
+ cpp-http-misc
+ library-cpp-logger
+ cpp-mime-types
+ library-cpp-uri
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-http-fetch PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_digest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_socket.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpload.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/exthttpcodes.cpp
+)
+generate_enum_serilization(cpp-http-fetch
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.h
+ INCLUDE_HEADERS
+ library/cpp/http/fetch/httpheader.h
+)
+target_ragel_lexers(cpp-http-fetch
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpfsm.rl6
+ -CG1
+)
diff --git a/library/cpp/http/fetch/CMakeLists.txt b/library/cpp/http/fetch/CMakeLists.txt
index eb8cdf251a..3e0811fb22 100644
--- a/library/cpp/http/fetch/CMakeLists.txt
+++ b/library/cpp/http/fetch/CMakeLists.txt
@@ -6,35 +6,10 @@
# original buildsystem will not be accepted.
-find_package(ZLIB REQUIRED)
-
-add_library(cpp-http-fetch)
-target_link_libraries(cpp-http-fetch PUBLIC
- contrib-libs-cxxsupp
- yutil
- ZLIB::ZLIB
- library-cpp-charset
- cpp-digest-md5
- cpp-http-misc
- library-cpp-logger
- cpp-mime-types
- library-cpp-uri
- tools-enum_parser-enum_serialization_runtime
-)
-target_sources(cpp-http-fetch PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_digest.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_socket.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpload.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/exthttpcodes.cpp
-)
-generate_enum_serilization(cpp-http-fetch
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.h
- INCLUDE_HEADERS
- library/cpp/http/fetch/httpheader.h
-)
-target_ragel_lexers(cpp-http-fetch
- PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpfsm.rl6
- -CG1
-)
+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/http/io/CMakeLists.darwin.txt b/library/cpp/http/io/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..b8e477b6b7
--- /dev/null
+++ b/library/cpp/http/io/CMakeLists.darwin.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-http-io)
+target_link_libraries(cpp-http-io PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-blockcodecs
+ cpp-streams-brotli
+ cpp-streams-bzip2
+ cpp-streams-lzma
+)
+target_sources(cpp-http-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/chunk.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/compression.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/headers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/stream.cpp
+)
diff --git a/library/cpp/http/io/CMakeLists.linux-aarch64.txt b/library/cpp/http/io/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..7ff56c321d
--- /dev/null
+++ b/library/cpp/http/io/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-http-io)
+target_link_libraries(cpp-http-io PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-blockcodecs
+ cpp-streams-brotli
+ cpp-streams-bzip2
+ cpp-streams-lzma
+)
+target_sources(cpp-http-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/chunk.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/compression.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/headers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/stream.cpp
+)
diff --git a/library/cpp/http/io/CMakeLists.linux.txt b/library/cpp/http/io/CMakeLists.linux.txt
new file mode 100644
index 0000000000..7ff56c321d
--- /dev/null
+++ b/library/cpp/http/io/CMakeLists.linux.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-http-io)
+target_link_libraries(cpp-http-io PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-blockcodecs
+ cpp-streams-brotli
+ cpp-streams-bzip2
+ cpp-streams-lzma
+)
+target_sources(cpp-http-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/chunk.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/compression.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/headers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/stream.cpp
+)
diff --git a/library/cpp/http/io/CMakeLists.txt b/library/cpp/http/io/CMakeLists.txt
index b8e477b6b7..3e0811fb22 100644
--- a/library/cpp/http/io/CMakeLists.txt
+++ b/library/cpp/http/io/CMakeLists.txt
@@ -6,19 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-http-io)
-target_link_libraries(cpp-http-io PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-blockcodecs
- cpp-streams-brotli
- cpp-streams-bzip2
- cpp-streams-lzma
-)
-target_sources(cpp-http-io PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/http/io/chunk.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/io/compression.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/io/headers.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/io/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/http/misc/CMakeLists.darwin.txt b/library/cpp/http/misc/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..e787e14a91
--- /dev/null
+++ b/library/cpp/http/misc/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(cpp-http-misc)
+target_link_libraries(cpp-http-misc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-case_insensitive_string
+ library-cpp-cgiparam
+ cpp-digest-lower_case
+)
+target_sources(cpp-http-misc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpdate.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpreqdata.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/parsed_request.cpp
+)
+generate_enum_serilization(cpp-http-misc
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.h
+ INCLUDE_HEADERS
+ library/cpp/http/misc/httpcodes.h
+)
diff --git a/library/cpp/http/misc/CMakeLists.linux-aarch64.txt b/library/cpp/http/misc/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..94a8527883
--- /dev/null
+++ b/library/cpp/http/misc/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.
+
+
+
+add_library(cpp-http-misc)
+target_link_libraries(cpp-http-misc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-case_insensitive_string
+ library-cpp-cgiparam
+ cpp-digest-lower_case
+)
+target_sources(cpp-http-misc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpdate.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpreqdata.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/parsed_request.cpp
+)
+generate_enum_serilization(cpp-http-misc
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.h
+ INCLUDE_HEADERS
+ library/cpp/http/misc/httpcodes.h
+)
diff --git a/library/cpp/http/misc/CMakeLists.linux.txt b/library/cpp/http/misc/CMakeLists.linux.txt
new file mode 100644
index 0000000000..94a8527883
--- /dev/null
+++ b/library/cpp/http/misc/CMakeLists.linux.txt
@@ -0,0 +1,30 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-http-misc)
+target_link_libraries(cpp-http-misc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-case_insensitive_string
+ library-cpp-cgiparam
+ cpp-digest-lower_case
+)
+target_sources(cpp-http-misc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpdate.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpreqdata.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/parsed_request.cpp
+)
+generate_enum_serilization(cpp-http-misc
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.h
+ INCLUDE_HEADERS
+ library/cpp/http/misc/httpcodes.h
+)
diff --git a/library/cpp/http/misc/CMakeLists.txt b/library/cpp/http/misc/CMakeLists.txt
index e787e14a91..3e0811fb22 100644
--- a/library/cpp/http/misc/CMakeLists.txt
+++ b/library/cpp/http/misc/CMakeLists.txt
@@ -6,24 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-http-misc)
-target_link_libraries(cpp-http-misc PUBLIC
- contrib-libs-cxxsupp
- yutil
- tools-enum_parser-enum_serialization_runtime
- library-cpp-case_insensitive_string
- library-cpp-cgiparam
- cpp-digest-lower_case
-)
-target_sources(cpp-http-misc PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpdate.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpreqdata.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/parsed_request.cpp
-)
-generate_enum_serilization(cpp-http-misc
- ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.h
- INCLUDE_HEADERS
- library/cpp/http/misc/httpcodes.h
-)
+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/http/server/CMakeLists.darwin.txt b/library/cpp/http/server/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..34cba14043
--- /dev/null
+++ b/library/cpp/http/server/CMakeLists.darwin.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-http-server)
+target_link_libraries(cpp-http-server PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-misc
+ cpp-http-io
+ cpp-threading-equeue
+ cpp-deprecated-atomic
+)
+target_sources(cpp-http-server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/conn.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http_ex.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/options.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/response.cpp
+)
diff --git a/library/cpp/http/server/CMakeLists.linux-aarch64.txt b/library/cpp/http/server/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..90cc9685a6
--- /dev/null
+++ b/library/cpp/http/server/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-http-server)
+target_link_libraries(cpp-http-server PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-misc
+ cpp-http-io
+ cpp-threading-equeue
+ cpp-deprecated-atomic
+)
+target_sources(cpp-http-server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/conn.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http_ex.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/options.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/response.cpp
+)
diff --git a/library/cpp/http/server/CMakeLists.linux.txt b/library/cpp/http/server/CMakeLists.linux.txt
new file mode 100644
index 0000000000..90cc9685a6
--- /dev/null
+++ b/library/cpp/http/server/CMakeLists.linux.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-http-server)
+target_link_libraries(cpp-http-server PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-misc
+ cpp-http-io
+ cpp-threading-equeue
+ cpp-deprecated-atomic
+)
+target_sources(cpp-http-server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/conn.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http_ex.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/options.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/response.cpp
+)
diff --git a/library/cpp/http/server/CMakeLists.txt b/library/cpp/http/server/CMakeLists.txt
index 34cba14043..3e0811fb22 100644
--- a/library/cpp/http/server/CMakeLists.txt
+++ b/library/cpp/http/server/CMakeLists.txt
@@ -6,20 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-http-server)
-target_link_libraries(cpp-http-server PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-http-misc
- cpp-http-io
- cpp-threading-equeue
- cpp-deprecated-atomic
-)
-target_sources(cpp-http-server PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/http/server/conn.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http_ex.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/server/options.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/server/response.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/http/simple/CMakeLists.darwin.txt b/library/cpp/http/simple/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..317a748a89
--- /dev/null
+++ b/library/cpp/http/simple/CMakeLists.darwin.txt
@@ -0,0 +1,21 @@
+
+# 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-http-simple)
+target_link_libraries(cpp-http-simple PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-io
+ cpp-openssl-io
+ cpp-string_utils-url
+ library-cpp-uri
+)
+target_sources(cpp-http-simple PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/simple/http_client.cpp
+)
diff --git a/library/cpp/http/simple/CMakeLists.linux-aarch64.txt b/library/cpp/http/simple/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..30a15dbd77
--- /dev/null
+++ b/library/cpp/http/simple/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-http-simple)
+target_link_libraries(cpp-http-simple PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-io
+ cpp-openssl-io
+ cpp-string_utils-url
+ library-cpp-uri
+)
+target_sources(cpp-http-simple PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/simple/http_client.cpp
+)
diff --git a/library/cpp/http/simple/CMakeLists.linux.txt b/library/cpp/http/simple/CMakeLists.linux.txt
new file mode 100644
index 0000000000..30a15dbd77
--- /dev/null
+++ b/library/cpp/http/simple/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-http-simple)
+target_link_libraries(cpp-http-simple PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-io
+ cpp-openssl-io
+ cpp-string_utils-url
+ library-cpp-uri
+)
+target_sources(cpp-http-simple PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/simple/http_client.cpp
+)
diff --git a/library/cpp/http/simple/CMakeLists.txt b/library/cpp/http/simple/CMakeLists.txt
index 317a748a89..3e0811fb22 100644
--- a/library/cpp/http/simple/CMakeLists.txt
+++ b/library/cpp/http/simple/CMakeLists.txt
@@ -6,16 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-http-simple)
-target_link_libraries(cpp-http-simple PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-http-io
- cpp-openssl-io
- cpp-string_utils-url
- library-cpp-uri
-)
-target_sources(cpp-http-simple PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/http/simple/http_client.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/hyperloglog/CMakeLists.darwin.txt b/library/cpp/hyperloglog/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..74a57d407b
--- /dev/null
+++ b/library/cpp/hyperloglog/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(library-cpp-hyperloglog)
+target_link_libraries(library-cpp-hyperloglog PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-hyperloglog PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/hyperloglog/hyperloglog.cpp
+)
diff --git a/library/cpp/hyperloglog/CMakeLists.linux-aarch64.txt b/library/cpp/hyperloglog/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..0d941118a9
--- /dev/null
+++ b/library/cpp/hyperloglog/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(library-cpp-hyperloglog)
+target_link_libraries(library-cpp-hyperloglog PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-hyperloglog PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/hyperloglog/hyperloglog.cpp
+)
diff --git a/library/cpp/hyperloglog/CMakeLists.linux.txt b/library/cpp/hyperloglog/CMakeLists.linux.txt
new file mode 100644
index 0000000000..0d941118a9
--- /dev/null
+++ b/library/cpp/hyperloglog/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(library-cpp-hyperloglog)
+target_link_libraries(library-cpp-hyperloglog PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-hyperloglog PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/hyperloglog/hyperloglog.cpp
+)
diff --git a/library/cpp/hyperloglog/CMakeLists.txt b/library/cpp/hyperloglog/CMakeLists.txt
index 74a57d407b..3e0811fb22 100644
--- a/library/cpp/hyperloglog/CMakeLists.txt
+++ b/library/cpp/hyperloglog/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-hyperloglog)
-target_link_libraries(library-cpp-hyperloglog PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-hyperloglog PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/hyperloglog/hyperloglog.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/int128/CMakeLists.darwin.txt b/library/cpp/int128/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..b4b24d8673
--- /dev/null
+++ b/library/cpp/int128/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(library-cpp-int128)
+target_link_libraries(library-cpp-int128 PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-int128 PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/int128/int128.cpp
+)
diff --git a/library/cpp/int128/CMakeLists.linux-aarch64.txt b/library/cpp/int128/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a4d9f81e3a
--- /dev/null
+++ b/library/cpp/int128/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(library-cpp-int128)
+target_link_libraries(library-cpp-int128 PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-int128 PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/int128/int128.cpp
+)
diff --git a/library/cpp/int128/CMakeLists.linux.txt b/library/cpp/int128/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a4d9f81e3a
--- /dev/null
+++ b/library/cpp/int128/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(library-cpp-int128)
+target_link_libraries(library-cpp-int128 PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-int128 PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/int128/int128.cpp
+)
diff --git a/library/cpp/int128/CMakeLists.txt b/library/cpp/int128/CMakeLists.txt
index b4b24d8673..3e0811fb22 100644
--- a/library/cpp/int128/CMakeLists.txt
+++ b/library/cpp/int128/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-int128)
-target_link_libraries(library-cpp-int128 PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-int128 PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/int128/int128.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/ipmath/CMakeLists.darwin.txt b/library/cpp/ipmath/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..2fd6ddd5cd
--- /dev/null
+++ b/library/cpp/ipmath/CMakeLists.darwin.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(library-cpp-ipmath)
+target_link_libraries(library-cpp-ipmath PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-ipv6_address
+)
+target_sources(library-cpp-ipmath PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/ipmath/ipmath.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/ipmath/range_set.cpp
+)
diff --git a/library/cpp/ipmath/CMakeLists.linux-aarch64.txt b/library/cpp/ipmath/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..7efc3656dc
--- /dev/null
+++ b/library/cpp/ipmath/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-ipmath)
+target_link_libraries(library-cpp-ipmath PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-ipv6_address
+)
+target_sources(library-cpp-ipmath PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/ipmath/ipmath.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/ipmath/range_set.cpp
+)
diff --git a/library/cpp/ipmath/CMakeLists.linux.txt b/library/cpp/ipmath/CMakeLists.linux.txt
new file mode 100644
index 0000000000..7efc3656dc
--- /dev/null
+++ b/library/cpp/ipmath/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-ipmath)
+target_link_libraries(library-cpp-ipmath PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-ipv6_address
+)
+target_sources(library-cpp-ipmath PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/ipmath/ipmath.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/ipmath/range_set.cpp
+)
diff --git a/library/cpp/ipmath/CMakeLists.txt b/library/cpp/ipmath/CMakeLists.txt
index 2fd6ddd5cd..3e0811fb22 100644
--- a/library/cpp/ipmath/CMakeLists.txt
+++ b/library/cpp/ipmath/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-ipmath)
-target_link_libraries(library-cpp-ipmath PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-ipv6_address
-)
-target_sources(library-cpp-ipmath PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/ipmath/ipmath.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/ipmath/range_set.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/ipv6_address/CMakeLists.darwin.txt b/library/cpp/ipv6_address/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..d05d9abc33
--- /dev/null
+++ b/library/cpp/ipv6_address/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(library-cpp-ipv6_address)
+target_link_libraries(library-cpp-ipv6_address PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-int128
+)
+target_sources(library-cpp-ipv6_address PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/ipv6_address/ipv6_address.cpp
+)
diff --git a/library/cpp/ipv6_address/CMakeLists.linux-aarch64.txt b/library/cpp/ipv6_address/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..3cef51b5fb
--- /dev/null
+++ b/library/cpp/ipv6_address/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(library-cpp-ipv6_address)
+target_link_libraries(library-cpp-ipv6_address PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-int128
+)
+target_sources(library-cpp-ipv6_address PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/ipv6_address/ipv6_address.cpp
+)
diff --git a/library/cpp/ipv6_address/CMakeLists.linux.txt b/library/cpp/ipv6_address/CMakeLists.linux.txt
new file mode 100644
index 0000000000..3cef51b5fb
--- /dev/null
+++ b/library/cpp/ipv6_address/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(library-cpp-ipv6_address)
+target_link_libraries(library-cpp-ipv6_address PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-int128
+)
+target_sources(library-cpp-ipv6_address PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/ipv6_address/ipv6_address.cpp
+)
diff --git a/library/cpp/ipv6_address/CMakeLists.txt b/library/cpp/ipv6_address/CMakeLists.txt
index d05d9abc33..3e0811fb22 100644
--- a/library/cpp/ipv6_address/CMakeLists.txt
+++ b/library/cpp/ipv6_address/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-ipv6_address)
-target_link_libraries(library-cpp-ipv6_address PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-int128
-)
-target_sources(library-cpp-ipv6_address PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/ipv6_address/ipv6_address.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/iterator/CMakeLists.darwin.txt b/library/cpp/iterator/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..c360c953f2
--- /dev/null
+++ b/library/cpp/iterator/CMakeLists.darwin.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-iterator)
+target_link_libraries(library-cpp-iterator PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-iterator PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/cartesian_product.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/concatenate.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/enumerate.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/iterate_keys.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/iterate_values.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/filtering.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/functools.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/mapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/zip.cpp
+)
diff --git a/library/cpp/iterator/CMakeLists.linux-aarch64.txt b/library/cpp/iterator/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..dbd8c37974
--- /dev/null
+++ b/library/cpp/iterator/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-iterator)
+target_link_libraries(library-cpp-iterator PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-iterator PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/cartesian_product.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/concatenate.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/enumerate.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/iterate_keys.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/iterate_values.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/filtering.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/functools.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/mapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/zip.cpp
+)
diff --git a/library/cpp/iterator/CMakeLists.linux.txt b/library/cpp/iterator/CMakeLists.linux.txt
new file mode 100644
index 0000000000..dbd8c37974
--- /dev/null
+++ b/library/cpp/iterator/CMakeLists.linux.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-iterator)
+target_link_libraries(library-cpp-iterator PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-iterator PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/cartesian_product.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/concatenate.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/enumerate.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/iterate_keys.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/iterate_values.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/filtering.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/functools.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/mapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/iterator/zip.cpp
+)
diff --git a/library/cpp/iterator/CMakeLists.txt b/library/cpp/iterator/CMakeLists.txt
index c360c953f2..3e0811fb22 100644
--- a/library/cpp/iterator/CMakeLists.txt
+++ b/library/cpp/iterator/CMakeLists.txt
@@ -6,20 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-iterator)
-target_link_libraries(library-cpp-iterator PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-iterator PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/iterator/cartesian_product.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/iterator/concatenate.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/iterator/enumerate.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/iterator/iterate_keys.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/iterator/iterate_values.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/iterator/filtering.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/iterator/functools.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/iterator/mapped.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/iterator/zip.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/json/CMakeLists.darwin.txt b/library/cpp/json/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..7b11a2bf41
--- /dev/null
+++ b/library/cpp/json/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(common)
+add_subdirectory(easy_parse)
+add_subdirectory(fast_sax)
+add_subdirectory(writer)
+add_subdirectory(yson)
+
+add_library(library-cpp-json)
+target_link_libraries(library-cpp-json PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-rapidjson
+ cpp-json-common
+ cpp-json-fast_sax
+ cpp-json-writer
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(library-cpp-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/json_writer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/json_reader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/json_prettifier.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/rapidjson_helpers.cpp
+)
diff --git a/library/cpp/json/CMakeLists.linux-aarch64.txt b/library/cpp/json/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..06ee88b57c
--- /dev/null
+++ b/library/cpp/json/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(common)
+add_subdirectory(easy_parse)
+add_subdirectory(fast_sax)
+add_subdirectory(writer)
+add_subdirectory(yson)
+
+add_library(library-cpp-json)
+target_link_libraries(library-cpp-json PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-rapidjson
+ cpp-json-common
+ cpp-json-fast_sax
+ cpp-json-writer
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(library-cpp-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/json_writer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/json_reader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/json_prettifier.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/rapidjson_helpers.cpp
+)
diff --git a/library/cpp/json/CMakeLists.linux.txt b/library/cpp/json/CMakeLists.linux.txt
new file mode 100644
index 0000000000..06ee88b57c
--- /dev/null
+++ b/library/cpp/json/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(common)
+add_subdirectory(easy_parse)
+add_subdirectory(fast_sax)
+add_subdirectory(writer)
+add_subdirectory(yson)
+
+add_library(library-cpp-json)
+target_link_libraries(library-cpp-json PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-rapidjson
+ cpp-json-common
+ cpp-json-fast_sax
+ cpp-json-writer
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(library-cpp-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/json_writer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/json_reader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/json_prettifier.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/rapidjson_helpers.cpp
+)
diff --git a/library/cpp/json/CMakeLists.txt b/library/cpp/json/CMakeLists.txt
index 7b11a2bf41..3e0811fb22 100644
--- a/library/cpp/json/CMakeLists.txt
+++ b/library/cpp/json/CMakeLists.txt
@@ -6,25 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(common)
-add_subdirectory(easy_parse)
-add_subdirectory(fast_sax)
-add_subdirectory(writer)
-add_subdirectory(yson)
-
-add_library(library-cpp-json)
-target_link_libraries(library-cpp-json PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-rapidjson
- cpp-json-common
- cpp-json-fast_sax
- cpp-json-writer
- cpp-string_utils-relaxed_escaper
-)
-target_sources(library-cpp-json PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/json/json_writer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/json/json_reader.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/json/json_prettifier.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/json/rapidjson_helpers.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/json/common/CMakeLists.darwin.txt b/library/cpp/json/common/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..59aa8f9da7
--- /dev/null
+++ b/library/cpp/json/common/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-json-common)
+target_link_libraries(cpp-json-common PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-json-common PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/common/defs.cpp
+)
diff --git a/library/cpp/json/common/CMakeLists.linux-aarch64.txt b/library/cpp/json/common/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..2434cd2cbc
--- /dev/null
+++ b/library/cpp/json/common/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-json-common)
+target_link_libraries(cpp-json-common PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-json-common PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/common/defs.cpp
+)
diff --git a/library/cpp/json/common/CMakeLists.linux.txt b/library/cpp/json/common/CMakeLists.linux.txt
new file mode 100644
index 0000000000..2434cd2cbc
--- /dev/null
+++ b/library/cpp/json/common/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-json-common)
+target_link_libraries(cpp-json-common PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-json-common PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/common/defs.cpp
+)
diff --git a/library/cpp/json/common/CMakeLists.txt b/library/cpp/json/common/CMakeLists.txt
index 59aa8f9da7..3e0811fb22 100644
--- a/library/cpp/json/common/CMakeLists.txt
+++ b/library/cpp/json/common/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-json-common)
-target_link_libraries(cpp-json-common PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-json-common PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/json/common/defs.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/json/easy_parse/CMakeLists.darwin.txt b/library/cpp/json/easy_parse/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..bcca8e35ca
--- /dev/null
+++ b/library/cpp/json/easy_parse/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-json-easy_parse)
+target_link_libraries(cpp-json-easy_parse PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+)
+target_sources(cpp-json-easy_parse PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/easy_parse/json_easy_parser.cpp
+)
diff --git a/library/cpp/json/easy_parse/CMakeLists.linux-aarch64.txt b/library/cpp/json/easy_parse/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..e3f9bfd31e
--- /dev/null
+++ b/library/cpp/json/easy_parse/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-json-easy_parse)
+target_link_libraries(cpp-json-easy_parse PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+)
+target_sources(cpp-json-easy_parse PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/easy_parse/json_easy_parser.cpp
+)
diff --git a/library/cpp/json/easy_parse/CMakeLists.linux.txt b/library/cpp/json/easy_parse/CMakeLists.linux.txt
new file mode 100644
index 0000000000..e3f9bfd31e
--- /dev/null
+++ b/library/cpp/json/easy_parse/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-json-easy_parse)
+target_link_libraries(cpp-json-easy_parse PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+)
+target_sources(cpp-json-easy_parse PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/easy_parse/json_easy_parser.cpp
+)
diff --git a/library/cpp/json/easy_parse/CMakeLists.txt b/library/cpp/json/easy_parse/CMakeLists.txt
index bcca8e35ca..3e0811fb22 100644
--- a/library/cpp/json/easy_parse/CMakeLists.txt
+++ b/library/cpp/json/easy_parse/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-json-easy_parse)
-target_link_libraries(cpp-json-easy_parse PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-json
-)
-target_sources(cpp-json-easy_parse PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/json/easy_parse/json_easy_parser.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/json/fast_sax/CMakeLists.darwin.txt b/library/cpp/json/fast_sax/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..9561ffc2ac
--- /dev/null
+++ b/library/cpp/json/fast_sax/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-json-fast_sax)
+target_link_libraries(cpp-json-fast_sax PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-json-common
+)
+target_sources(cpp-json-fast_sax PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/fast_sax/unescape.cpp
+)
+target_ragel_lexers(cpp-json-fast_sax
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/fast_sax/parser.rl6
+ -CG2
+)
diff --git a/library/cpp/json/fast_sax/CMakeLists.linux-aarch64.txt b/library/cpp/json/fast_sax/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b49f1a8238
--- /dev/null
+++ b/library/cpp/json/fast_sax/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-json-fast_sax)
+target_link_libraries(cpp-json-fast_sax PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-json-common
+)
+target_sources(cpp-json-fast_sax PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/fast_sax/unescape.cpp
+)
+target_ragel_lexers(cpp-json-fast_sax
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/fast_sax/parser.rl6
+ -CG2
+)
diff --git a/library/cpp/json/fast_sax/CMakeLists.linux.txt b/library/cpp/json/fast_sax/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b49f1a8238
--- /dev/null
+++ b/library/cpp/json/fast_sax/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-json-fast_sax)
+target_link_libraries(cpp-json-fast_sax PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-json-common
+)
+target_sources(cpp-json-fast_sax PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/fast_sax/unescape.cpp
+)
+target_ragel_lexers(cpp-json-fast_sax
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/fast_sax/parser.rl6
+ -CG2
+)
diff --git a/library/cpp/json/fast_sax/CMakeLists.txt b/library/cpp/json/fast_sax/CMakeLists.txt
index 9561ffc2ac..3e0811fb22 100644
--- a/library/cpp/json/fast_sax/CMakeLists.txt
+++ b/library/cpp/json/fast_sax/CMakeLists.txt
@@ -6,18 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-json-fast_sax)
-target_link_libraries(cpp-json-fast_sax PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-json-common
-)
-target_sources(cpp-json-fast_sax PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/json/fast_sax/unescape.cpp
-)
-target_ragel_lexers(cpp-json-fast_sax
- PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/json/fast_sax/parser.rl6
- -CG2
-)
+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/json/writer/CMakeLists.darwin.txt b/library/cpp/json/writer/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..722b40fd49
--- /dev/null
+++ b/library/cpp/json/writer/CMakeLists.darwin.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-json-writer)
+target_link_libraries(cpp-json-writer PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-json-common
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-json-writer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json_value.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json.cpp
+)
+generate_enum_serilization(cpp-json-writer
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json_value.h
+ INCLUDE_HEADERS
+ library/cpp/json/writer/json_value.h
+)
diff --git a/library/cpp/json/writer/CMakeLists.linux-aarch64.txt b/library/cpp/json/writer/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..67c81d8e70
--- /dev/null
+++ b/library/cpp/json/writer/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-json-writer)
+target_link_libraries(cpp-json-writer PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-json-common
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-json-writer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json_value.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json.cpp
+)
+generate_enum_serilization(cpp-json-writer
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json_value.h
+ INCLUDE_HEADERS
+ library/cpp/json/writer/json_value.h
+)
diff --git a/library/cpp/json/writer/CMakeLists.linux.txt b/library/cpp/json/writer/CMakeLists.linux.txt
new file mode 100644
index 0000000000..67c81d8e70
--- /dev/null
+++ b/library/cpp/json/writer/CMakeLists.linux.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-json-writer)
+target_link_libraries(cpp-json-writer PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-json-common
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-json-writer PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json_value.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json.cpp
+)
+generate_enum_serilization(cpp-json-writer
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json_value.h
+ INCLUDE_HEADERS
+ library/cpp/json/writer/json_value.h
+)
diff --git a/library/cpp/json/writer/CMakeLists.txt b/library/cpp/json/writer/CMakeLists.txt
index 722b40fd49..3e0811fb22 100644
--- a/library/cpp/json/writer/CMakeLists.txt
+++ b/library/cpp/json/writer/CMakeLists.txt
@@ -6,20 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-json-writer)
-target_link_libraries(cpp-json-writer PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-json-common
- tools-enum_parser-enum_serialization_runtime
-)
-target_sources(cpp-json-writer PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json_value.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json.cpp
-)
-generate_enum_serilization(cpp-json-writer
- ${CMAKE_SOURCE_DIR}/library/cpp/json/writer/json_value.h
- INCLUDE_HEADERS
- library/cpp/json/writer/json_value.h
-)
+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/json/yson/CMakeLists.darwin.txt b/library/cpp/json/yson/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..6418ceacba
--- /dev/null
+++ b/library/cpp/json/yson/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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-json-yson)
+target_link_libraries(cpp-json-yson PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+ library-cpp-yson
+ cpp-yson-json
+)
+target_sources(cpp-json-yson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/yson/json2yson.cpp
+)
diff --git a/library/cpp/json/yson/CMakeLists.linux-aarch64.txt b/library/cpp/json/yson/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..151fb4312d
--- /dev/null
+++ b/library/cpp/json/yson/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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-json-yson)
+target_link_libraries(cpp-json-yson PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+ library-cpp-yson
+ cpp-yson-json
+)
+target_sources(cpp-json-yson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/yson/json2yson.cpp
+)
diff --git a/library/cpp/json/yson/CMakeLists.linux.txt b/library/cpp/json/yson/CMakeLists.linux.txt
new file mode 100644
index 0000000000..151fb4312d
--- /dev/null
+++ b/library/cpp/json/yson/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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-json-yson)
+target_link_libraries(cpp-json-yson PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+ library-cpp-yson
+ cpp-yson-json
+)
+target_sources(cpp-json-yson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/json/yson/json2yson.cpp
+)
diff --git a/library/cpp/json/yson/CMakeLists.txt b/library/cpp/json/yson/CMakeLists.txt
index 6418ceacba..3e0811fb22 100644
--- a/library/cpp/json/yson/CMakeLists.txt
+++ b/library/cpp/json/yson/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-json-yson)
-target_link_libraries(cpp-json-yson PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-json
- library-cpp-yson
- cpp-yson-json
-)
-target_sources(cpp-json-yson PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/json/yson/json2yson.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/lcs/CMakeLists.darwin.txt b/library/cpp/lcs/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..505559a06c
--- /dev/null
+++ b/library/cpp/lcs/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(library-cpp-lcs)
+target_link_libraries(library-cpp-lcs PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-paged_vector
+)
+target_sources(library-cpp-lcs PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lcs/lcs_via_lis.cpp
+)
diff --git a/library/cpp/lcs/CMakeLists.linux-aarch64.txt b/library/cpp/lcs/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..58447ed41f
--- /dev/null
+++ b/library/cpp/lcs/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(library-cpp-lcs)
+target_link_libraries(library-cpp-lcs PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-paged_vector
+)
+target_sources(library-cpp-lcs PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lcs/lcs_via_lis.cpp
+)
diff --git a/library/cpp/lcs/CMakeLists.linux.txt b/library/cpp/lcs/CMakeLists.linux.txt
new file mode 100644
index 0000000000..58447ed41f
--- /dev/null
+++ b/library/cpp/lcs/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(library-cpp-lcs)
+target_link_libraries(library-cpp-lcs PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-paged_vector
+)
+target_sources(library-cpp-lcs PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lcs/lcs_via_lis.cpp
+)
diff --git a/library/cpp/lcs/CMakeLists.txt b/library/cpp/lcs/CMakeLists.txt
index 505559a06c..3e0811fb22 100644
--- a/library/cpp/lcs/CMakeLists.txt
+++ b/library/cpp/lcs/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-lcs)
-target_link_libraries(library-cpp-lcs PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-containers-paged_vector
-)
-target_sources(library-cpp-lcs PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/lcs/lcs_via_lis.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/lfalloc/CMakeLists.linux-aarch64.txt b/library/cpp/lfalloc/CMakeLists.linux-aarch64.txt
index 4f81170611..230ec04d20 100644
--- a/library/cpp/lfalloc/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/lfalloc/CMakeLists.linux-aarch64.txt
@@ -11,6 +11,7 @@ add_subdirectory(dbg_info)
add_library(library-cpp-lfalloc INTERFACE)
target_link_libraries(library-cpp-lfalloc INTERFACE
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
cpp-malloc-jemalloc
cpp-malloc-api
diff --git a/library/cpp/lfalloc/CMakeLists.linux.txt b/library/cpp/lfalloc/CMakeLists.linux.txt
index d3171b42df..a6e4dba389 100644
--- a/library/cpp/lfalloc/CMakeLists.linux.txt
+++ b/library/cpp/lfalloc/CMakeLists.linux.txt
@@ -14,6 +14,7 @@ target_compile_options(library-cpp-lfalloc PRIVATE
-Wno-everything
)
target_link_libraries(library-cpp-lfalloc PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
cpp-malloc-api
)
diff --git a/library/cpp/lfalloc/alloc_profiler/CMakeLists.darwin.txt b/library/cpp/lfalloc/alloc_profiler/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..5d7e418e56
--- /dev/null
+++ b/library/cpp/lfalloc/alloc_profiler/CMakeLists.darwin.txt
@@ -0,0 +1,21 @@
+
+# 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-lfalloc-alloc_profiler)
+target_link_libraries(cpp-lfalloc-alloc_profiler PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-lfalloc-dbg_info
+ library-cpp-cache
+ cpp-deprecated-atomic
+)
+target_sources(cpp-lfalloc-alloc_profiler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/alloc_profiler/profiler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/alloc_profiler/stackcollect.cpp
+)
diff --git a/library/cpp/lfalloc/alloc_profiler/CMakeLists.linux-aarch64.txt b/library/cpp/lfalloc/alloc_profiler/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a16eb2230f
--- /dev/null
+++ b/library/cpp/lfalloc/alloc_profiler/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-lfalloc-alloc_profiler)
+target_link_libraries(cpp-lfalloc-alloc_profiler PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-lfalloc-dbg_info
+ library-cpp-cache
+ cpp-deprecated-atomic
+)
+target_sources(cpp-lfalloc-alloc_profiler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/alloc_profiler/profiler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/alloc_profiler/stackcollect.cpp
+)
diff --git a/library/cpp/lfalloc/alloc_profiler/CMakeLists.linux.txt b/library/cpp/lfalloc/alloc_profiler/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a16eb2230f
--- /dev/null
+++ b/library/cpp/lfalloc/alloc_profiler/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-lfalloc-alloc_profiler)
+target_link_libraries(cpp-lfalloc-alloc_profiler PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-lfalloc-dbg_info
+ library-cpp-cache
+ cpp-deprecated-atomic
+)
+target_sources(cpp-lfalloc-alloc_profiler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/alloc_profiler/profiler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/alloc_profiler/stackcollect.cpp
+)
diff --git a/library/cpp/lfalloc/alloc_profiler/CMakeLists.txt b/library/cpp/lfalloc/alloc_profiler/CMakeLists.txt
index 5d7e418e56..3e0811fb22 100644
--- a/library/cpp/lfalloc/alloc_profiler/CMakeLists.txt
+++ b/library/cpp/lfalloc/alloc_profiler/CMakeLists.txt
@@ -6,16 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-lfalloc-alloc_profiler)
-target_link_libraries(cpp-lfalloc-alloc_profiler PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-lfalloc-dbg_info
- library-cpp-cache
- cpp-deprecated-atomic
-)
-target_sources(cpp-lfalloc-alloc_profiler PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/alloc_profiler/profiler.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/alloc_profiler/stackcollect.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/lfalloc/dbg_info/CMakeLists.darwin.txt b/library/cpp/lfalloc/dbg_info/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..93fbda5aa0
--- /dev/null
+++ b/library/cpp/lfalloc/dbg_info/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-lfalloc-dbg_info)
+target_link_libraries(cpp-lfalloc-dbg_info PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-malloc-api
+)
+target_sources(cpp-lfalloc-dbg_info PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/dbg_info/dbg_info.cpp
+)
diff --git a/library/cpp/lfalloc/dbg_info/CMakeLists.linux-aarch64.txt b/library/cpp/lfalloc/dbg_info/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..6a17f3a51c
--- /dev/null
+++ b/library/cpp/lfalloc/dbg_info/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-lfalloc-dbg_info)
+target_link_libraries(cpp-lfalloc-dbg_info PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-malloc-api
+)
+target_sources(cpp-lfalloc-dbg_info PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/dbg_info/dbg_info.cpp
+)
diff --git a/library/cpp/lfalloc/dbg_info/CMakeLists.linux.txt b/library/cpp/lfalloc/dbg_info/CMakeLists.linux.txt
new file mode 100644
index 0000000000..6a17f3a51c
--- /dev/null
+++ b/library/cpp/lfalloc/dbg_info/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-lfalloc-dbg_info)
+target_link_libraries(cpp-lfalloc-dbg_info PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-malloc-api
+)
+target_sources(cpp-lfalloc-dbg_info PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/dbg_info/dbg_info.cpp
+)
diff --git a/library/cpp/lfalloc/dbg_info/CMakeLists.txt b/library/cpp/lfalloc/dbg_info/CMakeLists.txt
index 93fbda5aa0..3e0811fb22 100644
--- a/library/cpp/lfalloc/dbg_info/CMakeLists.txt
+++ b/library/cpp/lfalloc/dbg_info/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-lfalloc-dbg_info)
-target_link_libraries(cpp-lfalloc-dbg_info PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-malloc-api
-)
-target_sources(cpp-lfalloc-dbg_info PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/dbg_info/dbg_info.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/linear_regression/CMakeLists.darwin.txt b/library/cpp/linear_regression/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..4d62e3876c
--- /dev/null
+++ b/library/cpp/linear_regression/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-linear_regression)
+target_link_libraries(library-cpp-linear_regression PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-accurate_accumulate
+)
+target_sources(library-cpp-linear_regression PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/linear_regression.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/unimodal.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/welford.cpp
+)
diff --git a/library/cpp/linear_regression/CMakeLists.linux-aarch64.txt b/library/cpp/linear_regression/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..1e5b46b9d0
--- /dev/null
+++ b/library/cpp/linear_regression/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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(library-cpp-linear_regression)
+target_link_libraries(library-cpp-linear_regression PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-accurate_accumulate
+)
+target_sources(library-cpp-linear_regression PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/linear_regression.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/unimodal.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/welford.cpp
+)
diff --git a/library/cpp/linear_regression/CMakeLists.linux.txt b/library/cpp/linear_regression/CMakeLists.linux.txt
new file mode 100644
index 0000000000..1e5b46b9d0
--- /dev/null
+++ b/library/cpp/linear_regression/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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(library-cpp-linear_regression)
+target_link_libraries(library-cpp-linear_regression PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-accurate_accumulate
+)
+target_sources(library-cpp-linear_regression PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/linear_regression.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/unimodal.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/welford.cpp
+)
diff --git a/library/cpp/linear_regression/CMakeLists.txt b/library/cpp/linear_regression/CMakeLists.txt
index 4d62e3876c..3e0811fb22 100644
--- a/library/cpp/linear_regression/CMakeLists.txt
+++ b/library/cpp/linear_regression/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-linear_regression)
-target_link_libraries(library-cpp-linear_regression PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-accurate_accumulate
-)
-target_sources(library-cpp-linear_regression PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/linear_regression.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/unimodal.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/welford.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/logger/CMakeLists.darwin.txt b/library/cpp/logger/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..07d54ae816
--- /dev/null
+++ b/library/cpp/logger/CMakeLists.darwin.txt
@@ -0,0 +1,59 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(global)
+
+add_library(library-cpp-logger)
+target_link_libraries(library-cpp-logger PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-json
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-logger PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/backend.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/backend_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/composite.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/element.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/file.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/filter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/filter_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/log.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/null.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/rotating_file.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/stream.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/sync_page_cache_file.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/system.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/thread.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/thread_creator.cpp
+)
+generate_enum_serilization(library-cpp-logger
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/priority.h
+ INCLUDE_HEADERS
+ library/cpp/logger/priority.h
+)
+
+add_global_library_for(library-cpp-logger.global library-cpp-logger)
+target_link_libraries(library-cpp-logger.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-json
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-logger.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/composite_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/file_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/null_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/rotating_file_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/stream_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/sync_page_cache_file_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/system_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/uninitialized_creator.cpp
+)
diff --git a/library/cpp/logger/CMakeLists.linux-aarch64.txt b/library/cpp/logger/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..91cec09998
--- /dev/null
+++ b/library/cpp/logger/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,61 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(global)
+
+add_library(library-cpp-logger)
+target_link_libraries(library-cpp-logger PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-json
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-logger PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/backend.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/backend_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/composite.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/element.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/file.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/filter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/filter_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/log.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/null.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/rotating_file.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/stream.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/sync_page_cache_file.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/system.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/thread.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/thread_creator.cpp
+)
+generate_enum_serilization(library-cpp-logger
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/priority.h
+ INCLUDE_HEADERS
+ library/cpp/logger/priority.h
+)
+
+add_global_library_for(library-cpp-logger.global library-cpp-logger)
+target_link_libraries(library-cpp-logger.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-json
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-logger.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/composite_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/file_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/null_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/rotating_file_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/stream_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/sync_page_cache_file_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/system_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/uninitialized_creator.cpp
+)
diff --git a/library/cpp/logger/CMakeLists.linux.txt b/library/cpp/logger/CMakeLists.linux.txt
new file mode 100644
index 0000000000..91cec09998
--- /dev/null
+++ b/library/cpp/logger/CMakeLists.linux.txt
@@ -0,0 +1,61 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(global)
+
+add_library(library-cpp-logger)
+target_link_libraries(library-cpp-logger PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-json
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-logger PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/backend.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/backend_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/composite.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/element.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/file.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/filter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/filter_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/log.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/null.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/rotating_file.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/stream.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/sync_page_cache_file.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/system.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/thread.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/thread_creator.cpp
+)
+generate_enum_serilization(library-cpp-logger
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/priority.h
+ INCLUDE_HEADERS
+ library/cpp/logger/priority.h
+)
+
+add_global_library_for(library-cpp-logger.global library-cpp-logger)
+target_link_libraries(library-cpp-logger.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-json
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-logger.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/composite_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/file_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/null_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/rotating_file_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/stream_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/sync_page_cache_file_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/system_creator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/uninitialized_creator.cpp
+)
diff --git a/library/cpp/logger/CMakeLists.txt b/library/cpp/logger/CMakeLists.txt
index 07d54ae816..3e0811fb22 100644
--- a/library/cpp/logger/CMakeLists.txt
+++ b/library/cpp/logger/CMakeLists.txt
@@ -6,54 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(global)
-
-add_library(library-cpp-logger)
-target_link_libraries(library-cpp-logger PUBLIC
- contrib-libs-cxxsupp
- yutil
- tools-enum_parser-enum_serialization_runtime
- library-cpp-json
- cpp-deprecated-atomic
-)
-target_sources(library-cpp-logger PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/backend.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/backend_creator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/composite.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/element.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/file.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/filter.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/filter_creator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/log.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/null.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/rotating_file.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/stream.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/sync_page_cache_file.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/system.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/thread.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/thread_creator.cpp
-)
-generate_enum_serilization(library-cpp-logger
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/priority.h
- INCLUDE_HEADERS
- library/cpp/logger/priority.h
-)
-
-add_global_library_for(library-cpp-logger.global library-cpp-logger)
-target_link_libraries(library-cpp-logger.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- tools-enum_parser-enum_serialization_runtime
- library-cpp-json
- cpp-deprecated-atomic
-)
-target_sources(library-cpp-logger.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/composite_creator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/file_creator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/null_creator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/rotating_file_creator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/stream_creator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/sync_page_cache_file_creator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/system_creator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/uninitialized_creator.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/logger/global/CMakeLists.darwin.txt b/library/cpp/logger/global/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..6be7c41a82
--- /dev/null
+++ b/library/cpp/logger/global/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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-logger-global)
+target_link_libraries(cpp-logger-global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-logger
+)
+target_sources(cpp-logger-global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/common.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/global.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/rty_formater.cpp
+)
diff --git a/library/cpp/logger/global/CMakeLists.linux-aarch64.txt b/library/cpp/logger/global/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..53ad8ac9b0
--- /dev/null
+++ b/library/cpp/logger/global/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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-logger-global)
+target_link_libraries(cpp-logger-global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-logger
+)
+target_sources(cpp-logger-global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/common.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/global.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/rty_formater.cpp
+)
diff --git a/library/cpp/logger/global/CMakeLists.linux.txt b/library/cpp/logger/global/CMakeLists.linux.txt
new file mode 100644
index 0000000000..53ad8ac9b0
--- /dev/null
+++ b/library/cpp/logger/global/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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-logger-global)
+target_link_libraries(cpp-logger-global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-logger
+)
+target_sources(cpp-logger-global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/common.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/global.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/rty_formater.cpp
+)
diff --git a/library/cpp/logger/global/CMakeLists.txt b/library/cpp/logger/global/CMakeLists.txt
index 6be7c41a82..3e0811fb22 100644
--- a/library/cpp/logger/global/CMakeLists.txt
+++ b/library/cpp/logger/global/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-logger-global)
-target_link_libraries(cpp-logger-global PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-logger
-)
-target_sources(cpp-logger-global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/common.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/global.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/rty_formater.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/lua/CMakeLists.darwin.txt b/library/cpp/lua/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..dfa77ac81d
--- /dev/null
+++ b/library/cpp/lua/CMakeLists.darwin.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-lua)
+target_link_libraries(library-cpp-lua PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+ contrib-libs-lua
+ cpp-string_utils-ztstrbuf
+)
+target_sources(library-cpp-lua PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lua/eval.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lua/json.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lua/wrapper.cpp
+)
diff --git a/library/cpp/lua/CMakeLists.linux-aarch64.txt b/library/cpp/lua/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..92b179eecd
--- /dev/null
+++ b/library/cpp/lua/CMakeLists.linux-aarch64.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(library-cpp-lua)
+target_link_libraries(library-cpp-lua PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+ contrib-libs-lua
+ cpp-string_utils-ztstrbuf
+)
+target_sources(library-cpp-lua PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lua/eval.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lua/json.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lua/wrapper.cpp
+)
diff --git a/library/cpp/lua/CMakeLists.linux.txt b/library/cpp/lua/CMakeLists.linux.txt
new file mode 100644
index 0000000000..92b179eecd
--- /dev/null
+++ b/library/cpp/lua/CMakeLists.linux.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(library-cpp-lua)
+target_link_libraries(library-cpp-lua PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+ contrib-libs-lua
+ cpp-string_utils-ztstrbuf
+)
+target_sources(library-cpp-lua PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lua/eval.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lua/json.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lua/wrapper.cpp
+)
diff --git a/library/cpp/lua/CMakeLists.txt b/library/cpp/lua/CMakeLists.txt
index dfa77ac81d..3e0811fb22 100644
--- a/library/cpp/lua/CMakeLists.txt
+++ b/library/cpp/lua/CMakeLists.txt
@@ -6,17 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-lua)
-target_link_libraries(library-cpp-lua PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-json
- contrib-libs-lua
- cpp-string_utils-ztstrbuf
-)
-target_sources(library-cpp-lua PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/lua/eval.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lua/json.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lua/wrapper.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/lwtrace/CMakeLists.darwin.txt b/library/cpp/lwtrace/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..4e5a2aab55
--- /dev/null
+++ b/library/cpp/lwtrace/CMakeLists.darwin.txt
@@ -0,0 +1,33 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(mon)
+add_subdirectory(protos)
+
+add_library(library-cpp-lwtrace)
+target_link_libraries(library-cpp-lwtrace PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-lwtrace-protos
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-lwtrace PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/check.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/control.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/custom_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/kill_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/log_shuttle.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/perf.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/probes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/shuttle.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/sleep_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/start.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/stderr_writer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/symbol.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/trace.cpp
+)
diff --git a/library/cpp/lwtrace/CMakeLists.linux-aarch64.txt b/library/cpp/lwtrace/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..695cff9c09
--- /dev/null
+++ b/library/cpp/lwtrace/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(mon)
+add_subdirectory(protos)
+
+add_library(library-cpp-lwtrace)
+target_link_libraries(library-cpp-lwtrace PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-lwtrace-protos
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-lwtrace PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/check.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/control.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/custom_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/kill_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/log_shuttle.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/perf.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/probes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/shuttle.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/sleep_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/start.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/stderr_writer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/symbol.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/trace.cpp
+)
diff --git a/library/cpp/lwtrace/CMakeLists.linux.txt b/library/cpp/lwtrace/CMakeLists.linux.txt
new file mode 100644
index 0000000000..695cff9c09
--- /dev/null
+++ b/library/cpp/lwtrace/CMakeLists.linux.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(mon)
+add_subdirectory(protos)
+
+add_library(library-cpp-lwtrace)
+target_link_libraries(library-cpp-lwtrace PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-lwtrace-protos
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-lwtrace PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/check.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/control.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/custom_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/kill_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/log_shuttle.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/perf.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/probes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/shuttle.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/sleep_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/start.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/stderr_writer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/symbol.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/trace.cpp
+)
diff --git a/library/cpp/lwtrace/CMakeLists.txt b/library/cpp/lwtrace/CMakeLists.txt
index 4e5a2aab55..3e0811fb22 100644
--- a/library/cpp/lwtrace/CMakeLists.txt
+++ b/library/cpp/lwtrace/CMakeLists.txt
@@ -6,28 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(mon)
-add_subdirectory(protos)
-
-add_library(library-cpp-lwtrace)
-target_link_libraries(library-cpp-lwtrace PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-lwtrace-protos
- cpp-deprecated-atomic
-)
-target_sources(library-cpp-lwtrace PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/check.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/control.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/custom_action.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/kill_action.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/log_shuttle.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/perf.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/probes.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/shuttle.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/sleep_action.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/start.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/stderr_writer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/symbol.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/trace.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/lwtrace/mon/CMakeLists.darwin.txt b/library/cpp/lwtrace/mon/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..50bdef36cb
--- /dev/null
+++ b/library/cpp/lwtrace/mon/CMakeLists.darwin.txt
@@ -0,0 +1,112 @@
+
+# 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(analytics)
+
+add_library(cpp-lwtrace-mon)
+target_link_libraries(cpp-lwtrace-mon PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-html-pcdata
+ library-cpp-lwtrace
+ lwtrace-mon-analytics
+ cpp-monlib-dynamic_counters
+ cpp-string_utils-base64
+)
+target_sources(cpp-lwtrace-mon PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/mon_lwtrace.cpp
+)
+
+add_global_library_for(cpp-lwtrace-mon.global cpp-lwtrace-mon)
+target_link_libraries(cpp-lwtrace-mon.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-html-pcdata
+ library-cpp-lwtrace
+ lwtrace-mon-analytics
+ cpp-monlib-dynamic_counters
+ cpp-string_utils-base64
+)
+target_sources(cpp-lwtrace-mon.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
+)
+resources(cpp-lwtrace-mon.global
+ ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/bootstrap.min.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/d3-gantt.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/jquery.treegrid.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.flot.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.gantt.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.header.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/footer.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/header.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/collapse.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/expand.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/file.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/folder.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/bootstrap.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3.v4.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-gantt.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/filesaver.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.extents.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.navigate.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.selection.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.url.min.js
+ KEYS
+ lwtrace/mon/static/common.css
+ lwtrace/mon/static/common.js
+ lwtrace/mon/static/css/bootstrap.min.css
+ lwtrace/mon/static/css/d3-gantt.css
+ lwtrace/mon/static/css/jquery.treegrid.css
+ lwtrace/mon/static/analytics.css
+ lwtrace/mon/static/analytics.flot.html
+ lwtrace/mon/static/analytics.gantt.html
+ lwtrace/mon/static/analytics.header.html
+ lwtrace/mon/static/analytics.js
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
+ lwtrace/mon/static/footer.html
+ lwtrace/mon/static/header.html
+ lwtrace/mon/static/img/collapse.png
+ lwtrace/mon/static/img/expand.png
+ lwtrace/mon/static/img/file.png
+ lwtrace/mon/static/img/folder.png
+ lwtrace/mon/static/js/bootstrap.min.js
+ lwtrace/mon/static/js/d3.v4.min.js
+ lwtrace/mon/static/js/d3-gantt.js
+ lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
+ lwtrace/mon/static/js/filesaver.min.js
+ lwtrace/mon/static/js/jquery.flot.extents.js
+ lwtrace/mon/static/js/jquery.flot.min.js
+ lwtrace/mon/static/js/jquery.flot.navigate.min.js
+ lwtrace/mon/static/js/jquery.flot.selection.min.js
+ lwtrace/mon/static/js/jquery.min.js
+ lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
+ lwtrace/mon/static/js/jquery.treegrid.min.js
+ lwtrace/mon/static/js/jquery.url.min.js
+)
diff --git a/library/cpp/lwtrace/mon/CMakeLists.linux-aarch64.txt b/library/cpp/lwtrace/mon/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..992df105eb
--- /dev/null
+++ b/library/cpp/lwtrace/mon/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,114 @@
+
+# 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(analytics)
+
+add_library(cpp-lwtrace-mon)
+target_link_libraries(cpp-lwtrace-mon PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-html-pcdata
+ library-cpp-lwtrace
+ lwtrace-mon-analytics
+ cpp-monlib-dynamic_counters
+ cpp-string_utils-base64
+)
+target_sources(cpp-lwtrace-mon PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/mon_lwtrace.cpp
+)
+
+add_global_library_for(cpp-lwtrace-mon.global cpp-lwtrace-mon)
+target_link_libraries(cpp-lwtrace-mon.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-html-pcdata
+ library-cpp-lwtrace
+ lwtrace-mon-analytics
+ cpp-monlib-dynamic_counters
+ cpp-string_utils-base64
+)
+target_sources(cpp-lwtrace-mon.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
+)
+resources(cpp-lwtrace-mon.global
+ ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/bootstrap.min.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/d3-gantt.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/jquery.treegrid.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.flot.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.gantt.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.header.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/footer.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/header.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/collapse.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/expand.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/file.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/folder.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/bootstrap.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3.v4.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-gantt.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/filesaver.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.extents.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.navigate.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.selection.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.url.min.js
+ KEYS
+ lwtrace/mon/static/common.css
+ lwtrace/mon/static/common.js
+ lwtrace/mon/static/css/bootstrap.min.css
+ lwtrace/mon/static/css/d3-gantt.css
+ lwtrace/mon/static/css/jquery.treegrid.css
+ lwtrace/mon/static/analytics.css
+ lwtrace/mon/static/analytics.flot.html
+ lwtrace/mon/static/analytics.gantt.html
+ lwtrace/mon/static/analytics.header.html
+ lwtrace/mon/static/analytics.js
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
+ lwtrace/mon/static/footer.html
+ lwtrace/mon/static/header.html
+ lwtrace/mon/static/img/collapse.png
+ lwtrace/mon/static/img/expand.png
+ lwtrace/mon/static/img/file.png
+ lwtrace/mon/static/img/folder.png
+ lwtrace/mon/static/js/bootstrap.min.js
+ lwtrace/mon/static/js/d3.v4.min.js
+ lwtrace/mon/static/js/d3-gantt.js
+ lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
+ lwtrace/mon/static/js/filesaver.min.js
+ lwtrace/mon/static/js/jquery.flot.extents.js
+ lwtrace/mon/static/js/jquery.flot.min.js
+ lwtrace/mon/static/js/jquery.flot.navigate.min.js
+ lwtrace/mon/static/js/jquery.flot.selection.min.js
+ lwtrace/mon/static/js/jquery.min.js
+ lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
+ lwtrace/mon/static/js/jquery.treegrid.min.js
+ lwtrace/mon/static/js/jquery.url.min.js
+)
diff --git a/library/cpp/lwtrace/mon/CMakeLists.linux.txt b/library/cpp/lwtrace/mon/CMakeLists.linux.txt
new file mode 100644
index 0000000000..992df105eb
--- /dev/null
+++ b/library/cpp/lwtrace/mon/CMakeLists.linux.txt
@@ -0,0 +1,114 @@
+
+# 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(analytics)
+
+add_library(cpp-lwtrace-mon)
+target_link_libraries(cpp-lwtrace-mon PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-html-pcdata
+ library-cpp-lwtrace
+ lwtrace-mon-analytics
+ cpp-monlib-dynamic_counters
+ cpp-string_utils-base64
+)
+target_sources(cpp-lwtrace-mon PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/mon_lwtrace.cpp
+)
+
+add_global_library_for(cpp-lwtrace-mon.global cpp-lwtrace-mon)
+target_link_libraries(cpp-lwtrace-mon.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-html-pcdata
+ library-cpp-lwtrace
+ lwtrace-mon-analytics
+ cpp-monlib-dynamic_counters
+ cpp-string_utils-base64
+)
+target_sources(cpp-lwtrace-mon.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
+)
+resources(cpp-lwtrace-mon.global
+ ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/bootstrap.min.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/d3-gantt.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/jquery.treegrid.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.flot.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.gantt.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.header.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/footer.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/header.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/collapse.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/expand.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/file.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/folder.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/bootstrap.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3.v4.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-gantt.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/filesaver.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.extents.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.navigate.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.selection.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.url.min.js
+ KEYS
+ lwtrace/mon/static/common.css
+ lwtrace/mon/static/common.js
+ lwtrace/mon/static/css/bootstrap.min.css
+ lwtrace/mon/static/css/d3-gantt.css
+ lwtrace/mon/static/css/jquery.treegrid.css
+ lwtrace/mon/static/analytics.css
+ lwtrace/mon/static/analytics.flot.html
+ lwtrace/mon/static/analytics.gantt.html
+ lwtrace/mon/static/analytics.header.html
+ lwtrace/mon/static/analytics.js
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
+ lwtrace/mon/static/footer.html
+ lwtrace/mon/static/header.html
+ lwtrace/mon/static/img/collapse.png
+ lwtrace/mon/static/img/expand.png
+ lwtrace/mon/static/img/file.png
+ lwtrace/mon/static/img/folder.png
+ lwtrace/mon/static/js/bootstrap.min.js
+ lwtrace/mon/static/js/d3.v4.min.js
+ lwtrace/mon/static/js/d3-gantt.js
+ lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
+ lwtrace/mon/static/js/filesaver.min.js
+ lwtrace/mon/static/js/jquery.flot.extents.js
+ lwtrace/mon/static/js/jquery.flot.min.js
+ lwtrace/mon/static/js/jquery.flot.navigate.min.js
+ lwtrace/mon/static/js/jquery.flot.selection.min.js
+ lwtrace/mon/static/js/jquery.min.js
+ lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
+ lwtrace/mon/static/js/jquery.treegrid.min.js
+ lwtrace/mon/static/js/jquery.url.min.js
+)
diff --git a/library/cpp/lwtrace/mon/CMakeLists.txt b/library/cpp/lwtrace/mon/CMakeLists.txt
index 50bdef36cb..3e0811fb22 100644
--- a/library/cpp/lwtrace/mon/CMakeLists.txt
+++ b/library/cpp/lwtrace/mon/CMakeLists.txt
@@ -6,107 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(analytics)
-
-add_library(cpp-lwtrace-mon)
-target_link_libraries(cpp-lwtrace-mon PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-resource
- cpp-html-pcdata
- library-cpp-lwtrace
- lwtrace-mon-analytics
- cpp-monlib-dynamic_counters
- cpp-string_utils-base64
-)
-target_sources(cpp-lwtrace-mon PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/mon_lwtrace.cpp
-)
-
-add_global_library_for(cpp-lwtrace-mon.global cpp-lwtrace-mon)
-target_link_libraries(cpp-lwtrace-mon.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-resource
- cpp-html-pcdata
- library-cpp-lwtrace
- lwtrace-mon-analytics
- cpp-monlib-dynamic_counters
- cpp-string_utils-base64
-)
-target_sources(cpp-lwtrace-mon.global PRIVATE
- ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
-)
-resources(cpp-lwtrace-mon.global
- ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
- INPUTS
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.css
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/bootstrap.min.css
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/d3-gantt.css
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/jquery.treegrid.css
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.css
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.flot.html
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.gantt.html
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.header.html
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/footer.html
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/header.html
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/collapse.png
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/expand.png
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/file.png
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/folder.png
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/bootstrap.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3.v4.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-gantt.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/filesaver.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.extents.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.navigate.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.selection.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.url.min.js
- KEYS
- lwtrace/mon/static/common.css
- lwtrace/mon/static/common.js
- lwtrace/mon/static/css/bootstrap.min.css
- lwtrace/mon/static/css/d3-gantt.css
- lwtrace/mon/static/css/jquery.treegrid.css
- lwtrace/mon/static/analytics.css
- lwtrace/mon/static/analytics.flot.html
- lwtrace/mon/static/analytics.gantt.html
- lwtrace/mon/static/analytics.header.html
- lwtrace/mon/static/analytics.js
- lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
- lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
- lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
- lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
- lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
- lwtrace/mon/static/footer.html
- lwtrace/mon/static/header.html
- lwtrace/mon/static/img/collapse.png
- lwtrace/mon/static/img/expand.png
- lwtrace/mon/static/img/file.png
- lwtrace/mon/static/img/folder.png
- lwtrace/mon/static/js/bootstrap.min.js
- lwtrace/mon/static/js/d3.v4.min.js
- lwtrace/mon/static/js/d3-gantt.js
- lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
- lwtrace/mon/static/js/filesaver.min.js
- lwtrace/mon/static/js/jquery.flot.extents.js
- lwtrace/mon/static/js/jquery.flot.min.js
- lwtrace/mon/static/js/jquery.flot.navigate.min.js
- lwtrace/mon/static/js/jquery.flot.selection.min.js
- lwtrace/mon/static/js/jquery.min.js
- lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
- lwtrace/mon/static/js/jquery.treegrid.min.js
- lwtrace/mon/static/js/jquery.url.min.js
-)
+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/lwtrace/mon/analytics/CMakeLists.darwin.txt b/library/cpp/lwtrace/mon/analytics/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..68709fa66d
--- /dev/null
+++ b/library/cpp/lwtrace/mon/analytics/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(lwtrace-mon-analytics)
+target_link_libraries(lwtrace-mon-analytics PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(lwtrace-mon-analytics PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/analytics/analytics.cpp
+)
diff --git a/library/cpp/lwtrace/mon/analytics/CMakeLists.linux-aarch64.txt b/library/cpp/lwtrace/mon/analytics/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b000e97516
--- /dev/null
+++ b/library/cpp/lwtrace/mon/analytics/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(lwtrace-mon-analytics)
+target_link_libraries(lwtrace-mon-analytics PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(lwtrace-mon-analytics PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/analytics/analytics.cpp
+)
diff --git a/library/cpp/lwtrace/mon/analytics/CMakeLists.linux.txt b/library/cpp/lwtrace/mon/analytics/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b000e97516
--- /dev/null
+++ b/library/cpp/lwtrace/mon/analytics/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(lwtrace-mon-analytics)
+target_link_libraries(lwtrace-mon-analytics PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(lwtrace-mon-analytics PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/analytics/analytics.cpp
+)
diff --git a/library/cpp/lwtrace/mon/analytics/CMakeLists.txt b/library/cpp/lwtrace/mon/analytics/CMakeLists.txt
index 68709fa66d..3e0811fb22 100644
--- a/library/cpp/lwtrace/mon/analytics/CMakeLists.txt
+++ b/library/cpp/lwtrace/mon/analytics/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(lwtrace-mon-analytics)
-target_link_libraries(lwtrace-mon-analytics PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(lwtrace-mon-analytics PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/analytics/analytics.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/lwtrace/protos/CMakeLists.darwin.txt b/library/cpp/lwtrace/protos/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..bed5cf2669
--- /dev/null
+++ b/library/cpp/lwtrace/protos/CMakeLists.darwin.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(cpp-lwtrace-protos)
+target_link_libraries(cpp-lwtrace-protos PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-lwtrace-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/protos/lwtrace.proto
+)
+target_proto_addincls(cpp-lwtrace-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-lwtrace-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/lwtrace/protos/CMakeLists.linux-aarch64.txt b/library/cpp/lwtrace/protos/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..d41269194f
--- /dev/null
+++ b/library/cpp/lwtrace/protos/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-lwtrace-protos)
+target_link_libraries(cpp-lwtrace-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-lwtrace-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/protos/lwtrace.proto
+)
+target_proto_addincls(cpp-lwtrace-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-lwtrace-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/lwtrace/protos/CMakeLists.linux.txt b/library/cpp/lwtrace/protos/CMakeLists.linux.txt
new file mode 100644
index 0000000000..d41269194f
--- /dev/null
+++ b/library/cpp/lwtrace/protos/CMakeLists.linux.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-lwtrace-protos)
+target_link_libraries(cpp-lwtrace-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-lwtrace-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/protos/lwtrace.proto
+)
+target_proto_addincls(cpp-lwtrace-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-lwtrace-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/lwtrace/protos/CMakeLists.txt b/library/cpp/lwtrace/protos/CMakeLists.txt
index bed5cf2669..3e0811fb22 100644
--- a/library/cpp/lwtrace/protos/CMakeLists.txt
+++ b/library/cpp/lwtrace/protos/CMakeLists.txt
@@ -6,26 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-lwtrace-protos)
-target_link_libraries(cpp-lwtrace-protos PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
-)
-target_proto_messages(cpp-lwtrace-protos PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/protos/lwtrace.proto
-)
-target_proto_addincls(cpp-lwtrace-protos
- ./
- ${CMAKE_SOURCE_DIR}/
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(cpp-lwtrace-protos
- --cpp_out=${CMAKE_BINARY_DIR}/
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
-)
+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/malloc/api/CMakeLists.darwin.txt b/library/cpp/malloc/api/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..b85dcdd7cf
--- /dev/null
+++ b/library/cpp/malloc/api/CMakeLists.darwin.txt
@@ -0,0 +1,16 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-malloc-api)
+target_link_libraries(cpp-malloc-api PUBLIC
+ contrib-libs-cxxsupp
+)
+target_sources(cpp-malloc-api PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/malloc/api/malloc.cpp
+)
diff --git a/library/cpp/malloc/api/CMakeLists.linux-aarch64.txt b/library/cpp/malloc/api/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..7926e806e1
--- /dev/null
+++ b/library/cpp/malloc/api/CMakeLists.linux-aarch64.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-malloc-api)
+target_link_libraries(cpp-malloc-api PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+)
+target_sources(cpp-malloc-api PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/malloc/api/malloc.cpp
+)
diff --git a/library/cpp/malloc/api/CMakeLists.linux.txt b/library/cpp/malloc/api/CMakeLists.linux.txt
new file mode 100644
index 0000000000..7926e806e1
--- /dev/null
+++ b/library/cpp/malloc/api/CMakeLists.linux.txt
@@ -0,0 +1,17 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-malloc-api)
+target_link_libraries(cpp-malloc-api PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+)
+target_sources(cpp-malloc-api PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/malloc/api/malloc.cpp
+)
diff --git a/library/cpp/malloc/api/CMakeLists.txt b/library/cpp/malloc/api/CMakeLists.txt
index b85dcdd7cf..3e0811fb22 100644
--- a/library/cpp/malloc/api/CMakeLists.txt
+++ b/library/cpp/malloc/api/CMakeLists.txt
@@ -6,11 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-malloc-api)
-target_link_libraries(cpp-malloc-api PUBLIC
- contrib-libs-cxxsupp
-)
-target_sources(cpp-malloc-api PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/malloc/api/malloc.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/malloc/jemalloc/CMakeLists.darwin.txt b/library/cpp/malloc/jemalloc/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..c75c562301
--- /dev/null
+++ b/library/cpp/malloc/jemalloc/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-malloc-jemalloc)
+target_link_libraries(cpp-malloc-jemalloc PUBLIC
+ contrib-libs-cxxsupp
+ cpp-malloc-api
+ contrib-libs-jemalloc
+)
+target_sources(cpp-malloc-jemalloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/malloc/jemalloc/malloc-info.cpp
+)
diff --git a/library/cpp/malloc/jemalloc/CMakeLists.linux-aarch64.txt b/library/cpp/malloc/jemalloc/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..f28607371c
--- /dev/null
+++ b/library/cpp/malloc/jemalloc/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-malloc-jemalloc)
+target_link_libraries(cpp-malloc-jemalloc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ cpp-malloc-api
+ contrib-libs-jemalloc
+)
+target_sources(cpp-malloc-jemalloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/malloc/jemalloc/malloc-info.cpp
+)
diff --git a/library/cpp/malloc/jemalloc/CMakeLists.linux.txt b/library/cpp/malloc/jemalloc/CMakeLists.linux.txt
new file mode 100644
index 0000000000..f28607371c
--- /dev/null
+++ b/library/cpp/malloc/jemalloc/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-malloc-jemalloc)
+target_link_libraries(cpp-malloc-jemalloc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ cpp-malloc-api
+ contrib-libs-jemalloc
+)
+target_sources(cpp-malloc-jemalloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/malloc/jemalloc/malloc-info.cpp
+)
diff --git a/library/cpp/malloc/jemalloc/CMakeLists.txt b/library/cpp/malloc/jemalloc/CMakeLists.txt
index c75c562301..3e0811fb22 100644
--- a/library/cpp/malloc/jemalloc/CMakeLists.txt
+++ b/library/cpp/malloc/jemalloc/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-malloc-jemalloc)
-target_link_libraries(cpp-malloc-jemalloc PUBLIC
- contrib-libs-cxxsupp
- cpp-malloc-api
- contrib-libs-jemalloc
-)
-target_sources(cpp-malloc-jemalloc PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/malloc/jemalloc/malloc-info.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/malloc/tcmalloc/CMakeLists.linux-aarch64.txt b/library/cpp/malloc/tcmalloc/CMakeLists.linux-aarch64.txt
index d46ca5e5fa..7768cf63e7 100644
--- a/library/cpp/malloc/tcmalloc/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/malloc/tcmalloc/CMakeLists.linux-aarch64.txt
@@ -9,6 +9,7 @@
add_library(cpp-malloc-tcmalloc)
target_link_libraries(cpp-malloc-tcmalloc PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
cpp-malloc-api
libs-tcmalloc-malloc_extension
diff --git a/library/cpp/malloc/tcmalloc/CMakeLists.linux.txt b/library/cpp/malloc/tcmalloc/CMakeLists.linux.txt
index d46ca5e5fa..7768cf63e7 100644
--- a/library/cpp/malloc/tcmalloc/CMakeLists.linux.txt
+++ b/library/cpp/malloc/tcmalloc/CMakeLists.linux.txt
@@ -9,6 +9,7 @@
add_library(cpp-malloc-tcmalloc)
target_link_libraries(cpp-malloc-tcmalloc PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
cpp-malloc-api
libs-tcmalloc-malloc_extension
diff --git a/library/cpp/messagebus/CMakeLists.darwin.txt b/library/cpp/messagebus/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..9f0f8baf67
--- /dev/null
+++ b/library/cpp/messagebus/CMakeLists.darwin.txt
@@ -0,0 +1,71 @@
+
+# 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(actor)
+add_subdirectory(config)
+add_subdirectory(monitoring)
+add_subdirectory(oldmodule)
+add_subdirectory(protobuf)
+add_subdirectory(scheduler)
+add_subdirectory(www)
+
+add_library(library-cpp-messagebus)
+target_link_libraries(library-cpp-messagebus PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-sparsehash
+ library-cpp-codecs
+ cpp-deprecated-enum_codegen
+ cpp-getopt-small
+ library-cpp-lwtrace
+ messagebus_actor
+ cpp-messagebus-config
+ cpp-messagebus-monitoring
+ cpp-messagebus-scheduler
+ cpp-string_utils-indent_text
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-messagebus PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/coreconn.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/duration_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/event_loop.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/futex_like.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/handler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/key_value_printer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/local_flags.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/locator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/mb_lwtrace.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_counter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status_counter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/messqueue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/network.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/queue_config.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_job_count.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/shutdown_state.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/socket_addr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/storage.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/synchandler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_after_free_checker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_count_checker.cpp
+)
diff --git a/library/cpp/messagebus/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..87688f2f50
--- /dev/null
+++ b/library/cpp/messagebus/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,72 @@
+
+# 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(actor)
+add_subdirectory(config)
+add_subdirectory(monitoring)
+add_subdirectory(oldmodule)
+add_subdirectory(protobuf)
+add_subdirectory(scheduler)
+add_subdirectory(www)
+
+add_library(library-cpp-messagebus)
+target_link_libraries(library-cpp-messagebus PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-sparsehash
+ library-cpp-codecs
+ cpp-deprecated-enum_codegen
+ cpp-getopt-small
+ library-cpp-lwtrace
+ messagebus_actor
+ cpp-messagebus-config
+ cpp-messagebus-monitoring
+ cpp-messagebus-scheduler
+ cpp-string_utils-indent_text
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-messagebus PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/coreconn.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/duration_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/event_loop.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/futex_like.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/handler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/key_value_printer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/local_flags.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/locator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/mb_lwtrace.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_counter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status_counter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/messqueue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/network.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/queue_config.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_job_count.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/shutdown_state.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/socket_addr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/storage.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/synchandler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_after_free_checker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_count_checker.cpp
+)
diff --git a/library/cpp/messagebus/CMakeLists.linux.txt b/library/cpp/messagebus/CMakeLists.linux.txt
new file mode 100644
index 0000000000..87688f2f50
--- /dev/null
+++ b/library/cpp/messagebus/CMakeLists.linux.txt
@@ -0,0 +1,72 @@
+
+# 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(actor)
+add_subdirectory(config)
+add_subdirectory(monitoring)
+add_subdirectory(oldmodule)
+add_subdirectory(protobuf)
+add_subdirectory(scheduler)
+add_subdirectory(www)
+
+add_library(library-cpp-messagebus)
+target_link_libraries(library-cpp-messagebus PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-sparsehash
+ library-cpp-codecs
+ cpp-deprecated-enum_codegen
+ cpp-getopt-small
+ library-cpp-lwtrace
+ messagebus_actor
+ cpp-messagebus-config
+ cpp-messagebus-monitoring
+ cpp-messagebus-scheduler
+ cpp-string_utils-indent_text
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-messagebus PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/coreconn.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/duration_histogram.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/event_loop.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/futex_like.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/handler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/key_value_printer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/local_flags.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/locator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/mb_lwtrace.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_counter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status_counter.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/messqueue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/network.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/queue_config.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection_status.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_connection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_impl.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_job_count.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/shutdown_state.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/socket_addr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/storage.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/synchandler.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_after_free_checker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_count_checker.cpp
+)
diff --git a/library/cpp/messagebus/CMakeLists.txt b/library/cpp/messagebus/CMakeLists.txt
index 9f0f8baf67..3e0811fb22 100644
--- a/library/cpp/messagebus/CMakeLists.txt
+++ b/library/cpp/messagebus/CMakeLists.txt
@@ -6,66 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(actor)
-add_subdirectory(config)
-add_subdirectory(monitoring)
-add_subdirectory(oldmodule)
-add_subdirectory(protobuf)
-add_subdirectory(scheduler)
-add_subdirectory(www)
-
-add_library(library-cpp-messagebus)
-target_link_libraries(library-cpp-messagebus PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-sparsehash
- library-cpp-codecs
- cpp-deprecated-enum_codegen
- cpp-getopt-small
- library-cpp-lwtrace
- messagebus_actor
- cpp-messagebus-config
- cpp-messagebus-monitoring
- cpp-messagebus-scheduler
- cpp-string_utils-indent_text
- cpp-threading-future
- cpp-deprecated-atomic
-)
-target_sources(library-cpp-messagebus PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor_status.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/connection.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/coreconn.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/duration_histogram.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/event_loop.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/futex_like.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/handler.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/key_value_printer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/local_flags.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/locator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/mb_lwtrace.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_counter.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status_counter.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/messqueue.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/network.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/queue_config.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_connection.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session_semaphore.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection_status.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_connection.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session_semaphore.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_impl.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_job_count.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/shutdown_state.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/socket_addr.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/storage.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/synchandler.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_after_free_checker.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_count_checker.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/messagebus/actor/CMakeLists.darwin.txt b/library/cpp/messagebus/actor/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..defce0ef7b
--- /dev/null
+++ b/library/cpp/messagebus/actor/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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(messagebus_actor)
+target_link_libraries(messagebus_actor PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(messagebus_actor PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/executor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/thread_extra.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/what_thread_does.cpp
+)
diff --git a/library/cpp/messagebus/actor/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/actor/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ee628ebbfd
--- /dev/null
+++ b/library/cpp/messagebus/actor/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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(messagebus_actor)
+target_link_libraries(messagebus_actor PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(messagebus_actor PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/executor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/thread_extra.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/what_thread_does.cpp
+)
diff --git a/library/cpp/messagebus/actor/CMakeLists.linux.txt b/library/cpp/messagebus/actor/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ee628ebbfd
--- /dev/null
+++ b/library/cpp/messagebus/actor/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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(messagebus_actor)
+target_link_libraries(messagebus_actor PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(messagebus_actor PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/executor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/thread_extra.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/what_thread_does.cpp
+)
diff --git a/library/cpp/messagebus/actor/CMakeLists.txt b/library/cpp/messagebus/actor/CMakeLists.txt
index defce0ef7b..3e0811fb22 100644
--- a/library/cpp/messagebus/actor/CMakeLists.txt
+++ b/library/cpp/messagebus/actor/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(messagebus_actor)
-target_link_libraries(messagebus_actor PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
-)
-target_sources(messagebus_actor PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/executor.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/thread_extra.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/what_thread_does.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/messagebus/config/CMakeLists.darwin.txt b/library/cpp/messagebus/config/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..6b2710b95d
--- /dev/null
+++ b/library/cpp/messagebus/config/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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-messagebus-config)
+target_link_libraries(cpp-messagebus-config PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-getopt
+ cpp-deprecated-enum_codegen
+)
+target_sources(cpp-messagebus-config PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/netaddr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/session_config.cpp
+)
diff --git a/library/cpp/messagebus/config/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/config/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b0bfbc77be
--- /dev/null
+++ b/library/cpp/messagebus/config/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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-messagebus-config)
+target_link_libraries(cpp-messagebus-config PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-getopt
+ cpp-deprecated-enum_codegen
+)
+target_sources(cpp-messagebus-config PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/netaddr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/session_config.cpp
+)
diff --git a/library/cpp/messagebus/config/CMakeLists.linux.txt b/library/cpp/messagebus/config/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b0bfbc77be
--- /dev/null
+++ b/library/cpp/messagebus/config/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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-messagebus-config)
+target_link_libraries(cpp-messagebus-config PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-getopt
+ cpp-deprecated-enum_codegen
+)
+target_sources(cpp-messagebus-config PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/netaddr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/session_config.cpp
+)
diff --git a/library/cpp/messagebus/config/CMakeLists.txt b/library/cpp/messagebus/config/CMakeLists.txt
index 6b2710b95d..3e0811fb22 100644
--- a/library/cpp/messagebus/config/CMakeLists.txt
+++ b/library/cpp/messagebus/config/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-messagebus-config)
-target_link_libraries(cpp-messagebus-config PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-getopt
- cpp-deprecated-enum_codegen
-)
-target_sources(cpp-messagebus-config PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/netaddr.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/session_config.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/messagebus/monitoring/CMakeLists.darwin.txt b/library/cpp/messagebus/monitoring/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..b7390f7c7f
--- /dev/null
+++ b/library/cpp/messagebus/monitoring/CMakeLists.darwin.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-messagebus-monitoring)
+target_link_libraries(cpp-messagebus-monitoring PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ encode-legacy_protobuf-protos
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-messagebus-monitoring PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/monitoring/mon_proto.proto
+)
+target_proto_addincls(cpp-messagebus-monitoring
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-messagebus-monitoring
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/messagebus/monitoring/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/monitoring/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..2fe6527338
--- /dev/null
+++ b/library/cpp/messagebus/monitoring/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,33 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-messagebus-monitoring)
+target_link_libraries(cpp-messagebus-monitoring PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ encode-legacy_protobuf-protos
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-messagebus-monitoring PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/monitoring/mon_proto.proto
+)
+target_proto_addincls(cpp-messagebus-monitoring
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-messagebus-monitoring
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/messagebus/monitoring/CMakeLists.linux.txt b/library/cpp/messagebus/monitoring/CMakeLists.linux.txt
new file mode 100644
index 0000000000..2fe6527338
--- /dev/null
+++ b/library/cpp/messagebus/monitoring/CMakeLists.linux.txt
@@ -0,0 +1,33 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-messagebus-monitoring)
+target_link_libraries(cpp-messagebus-monitoring PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ encode-legacy_protobuf-protos
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-messagebus-monitoring PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/monitoring/mon_proto.proto
+)
+target_proto_addincls(cpp-messagebus-monitoring
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-messagebus-monitoring
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/messagebus/monitoring/CMakeLists.txt b/library/cpp/messagebus/monitoring/CMakeLists.txt
index b7390f7c7f..3e0811fb22 100644
--- a/library/cpp/messagebus/monitoring/CMakeLists.txt
+++ b/library/cpp/messagebus/monitoring/CMakeLists.txt
@@ -6,27 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-messagebus-monitoring)
-target_link_libraries(cpp-messagebus-monitoring PUBLIC
- contrib-libs-cxxsupp
- yutil
- encode-legacy_protobuf-protos
- contrib-libs-protobuf
-)
-target_proto_messages(cpp-messagebus-monitoring PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/monitoring/mon_proto.proto
-)
-target_proto_addincls(cpp-messagebus-monitoring
- ./
- ${CMAKE_SOURCE_DIR}/
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(cpp-messagebus-monitoring
- --cpp_out=${CMAKE_BINARY_DIR}/
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
-)
+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/messagebus/oldmodule/CMakeLists.darwin.txt b/library/cpp/messagebus/oldmodule/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..b4f59bc156
--- /dev/null
+++ b/library/cpp/messagebus/oldmodule/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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-messagebus-oldmodule)
+target_link_libraries(cpp-messagebus-oldmodule PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-messagebus
+ messagebus_actor
+)
+target_sources(cpp-messagebus-oldmodule PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/module.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/startsession.cpp
+)
diff --git a/library/cpp/messagebus/oldmodule/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/oldmodule/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..671dd19395
--- /dev/null
+++ b/library/cpp/messagebus/oldmodule/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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-messagebus-oldmodule)
+target_link_libraries(cpp-messagebus-oldmodule PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-messagebus
+ messagebus_actor
+)
+target_sources(cpp-messagebus-oldmodule PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/module.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/startsession.cpp
+)
diff --git a/library/cpp/messagebus/oldmodule/CMakeLists.linux.txt b/library/cpp/messagebus/oldmodule/CMakeLists.linux.txt
new file mode 100644
index 0000000000..671dd19395
--- /dev/null
+++ b/library/cpp/messagebus/oldmodule/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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-messagebus-oldmodule)
+target_link_libraries(cpp-messagebus-oldmodule PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-messagebus
+ messagebus_actor
+)
+target_sources(cpp-messagebus-oldmodule PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/module.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/startsession.cpp
+)
diff --git a/library/cpp/messagebus/oldmodule/CMakeLists.txt b/library/cpp/messagebus/oldmodule/CMakeLists.txt
index b4f59bc156..3e0811fb22 100644
--- a/library/cpp/messagebus/oldmodule/CMakeLists.txt
+++ b/library/cpp/messagebus/oldmodule/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-messagebus-oldmodule)
-target_link_libraries(cpp-messagebus-oldmodule PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-messagebus
- messagebus_actor
-)
-target_sources(cpp-messagebus-oldmodule PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/module.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/startsession.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/messagebus/protobuf/CMakeLists.darwin.txt b/library/cpp/messagebus/protobuf/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..c7e016b2c0
--- /dev/null
+++ b/library/cpp/messagebus/protobuf/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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(messagebus_protobuf)
+target_link_libraries(messagebus_protobuf PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-messagebus
+ messagebus_actor
+)
+target_sources(messagebus_protobuf PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/protobuf/ybusbuf.cpp
+)
diff --git a/library/cpp/messagebus/protobuf/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/protobuf/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b66e16cf13
--- /dev/null
+++ b/library/cpp/messagebus/protobuf/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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(messagebus_protobuf)
+target_link_libraries(messagebus_protobuf PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-messagebus
+ messagebus_actor
+)
+target_sources(messagebus_protobuf PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/protobuf/ybusbuf.cpp
+)
diff --git a/library/cpp/messagebus/protobuf/CMakeLists.linux.txt b/library/cpp/messagebus/protobuf/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b66e16cf13
--- /dev/null
+++ b/library/cpp/messagebus/protobuf/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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(messagebus_protobuf)
+target_link_libraries(messagebus_protobuf PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-messagebus
+ messagebus_actor
+)
+target_sources(messagebus_protobuf PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/protobuf/ybusbuf.cpp
+)
diff --git a/library/cpp/messagebus/protobuf/CMakeLists.txt b/library/cpp/messagebus/protobuf/CMakeLists.txt
index c7e016b2c0..3e0811fb22 100644
--- a/library/cpp/messagebus/protobuf/CMakeLists.txt
+++ b/library/cpp/messagebus/protobuf/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(messagebus_protobuf)
-target_link_libraries(messagebus_protobuf PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
- library-cpp-messagebus
- messagebus_actor
-)
-target_sources(messagebus_protobuf PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/protobuf/ybusbuf.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/messagebus/scheduler/CMakeLists.darwin.txt b/library/cpp/messagebus/scheduler/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..051188b05c
--- /dev/null
+++ b/library/cpp/messagebus/scheduler/CMakeLists.darwin.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-messagebus-scheduler)
+target_link_libraries(cpp-messagebus-scheduler PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(cpp-messagebus-scheduler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/scheduler/scheduler.cpp
+)
diff --git a/library/cpp/messagebus/scheduler/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/scheduler/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..618abf8d30
--- /dev/null
+++ b/library/cpp/messagebus/scheduler/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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-messagebus-scheduler)
+target_link_libraries(cpp-messagebus-scheduler PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(cpp-messagebus-scheduler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/scheduler/scheduler.cpp
+)
diff --git a/library/cpp/messagebus/scheduler/CMakeLists.linux.txt b/library/cpp/messagebus/scheduler/CMakeLists.linux.txt
new file mode 100644
index 0000000000..618abf8d30
--- /dev/null
+++ b/library/cpp/messagebus/scheduler/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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-messagebus-scheduler)
+target_link_libraries(cpp-messagebus-scheduler PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(cpp-messagebus-scheduler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/scheduler/scheduler.cpp
+)
diff --git a/library/cpp/messagebus/scheduler/CMakeLists.txt b/library/cpp/messagebus/scheduler/CMakeLists.txt
index 051188b05c..3e0811fb22 100644
--- a/library/cpp/messagebus/scheduler/CMakeLists.txt
+++ b/library/cpp/messagebus/scheduler/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-messagebus-scheduler)
-target_link_libraries(cpp-messagebus-scheduler PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-threading-future
- cpp-deprecated-atomic
-)
-target_sources(cpp-messagebus-scheduler PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/scheduler/scheduler.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/messagebus/www/CMakeLists.darwin.txt b/library/cpp/messagebus/www/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..20438aeb6c
--- /dev/null
+++ b/library/cpp/messagebus/www/CMakeLists.darwin.txt
@@ -0,0 +1,56 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-messagebus-www)
+target_link_libraries(cpp-messagebus-www PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ library-cpp-cgiparam
+ cpp-html-pcdata
+ cpp-http-fetch
+ cpp-http-server
+ cpp-json-writer
+ library-cpp-messagebus
+ cpp-messagebus-oldmodule
+ monlib-deprecated-json
+ library-cpp-uri
+)
+target_sources(cpp-messagebus-www PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/html_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/www.cpp
+)
+
+add_global_library_for(cpp-messagebus-www.global cpp-messagebus-www)
+target_link_libraries(cpp-messagebus-www.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ library-cpp-cgiparam
+ cpp-html-pcdata
+ cpp-http-fetch
+ cpp-http-server
+ cpp-json-writer
+ library-cpp-messagebus
+ cpp-messagebus-oldmodule
+ monlib-deprecated-json
+ library-cpp-uri
+)
+target_sources(cpp-messagebus-www.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
+)
+resources(cpp-messagebus-www.global
+ ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/messagebus.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/bus-ico.png
+ KEYS
+ /messagebus.js
+ /bus-ico.png
+)
diff --git a/library/cpp/messagebus/www/CMakeLists.linux-aarch64.txt b/library/cpp/messagebus/www/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..2258594273
--- /dev/null
+++ b/library/cpp/messagebus/www/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,58 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-messagebus-www)
+target_link_libraries(cpp-messagebus-www PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ library-cpp-cgiparam
+ cpp-html-pcdata
+ cpp-http-fetch
+ cpp-http-server
+ cpp-json-writer
+ library-cpp-messagebus
+ cpp-messagebus-oldmodule
+ monlib-deprecated-json
+ library-cpp-uri
+)
+target_sources(cpp-messagebus-www PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/html_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/www.cpp
+)
+
+add_global_library_for(cpp-messagebus-www.global cpp-messagebus-www)
+target_link_libraries(cpp-messagebus-www.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ library-cpp-cgiparam
+ cpp-html-pcdata
+ cpp-http-fetch
+ cpp-http-server
+ cpp-json-writer
+ library-cpp-messagebus
+ cpp-messagebus-oldmodule
+ monlib-deprecated-json
+ library-cpp-uri
+)
+target_sources(cpp-messagebus-www.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
+)
+resources(cpp-messagebus-www.global
+ ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/messagebus.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/bus-ico.png
+ KEYS
+ /messagebus.js
+ /bus-ico.png
+)
diff --git a/library/cpp/messagebus/www/CMakeLists.linux.txt b/library/cpp/messagebus/www/CMakeLists.linux.txt
new file mode 100644
index 0000000000..2258594273
--- /dev/null
+++ b/library/cpp/messagebus/www/CMakeLists.linux.txt
@@ -0,0 +1,58 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-messagebus-www)
+target_link_libraries(cpp-messagebus-www PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ library-cpp-cgiparam
+ cpp-html-pcdata
+ cpp-http-fetch
+ cpp-http-server
+ cpp-json-writer
+ library-cpp-messagebus
+ cpp-messagebus-oldmodule
+ monlib-deprecated-json
+ library-cpp-uri
+)
+target_sources(cpp-messagebus-www PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/html_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/www.cpp
+)
+
+add_global_library_for(cpp-messagebus-www.global cpp-messagebus-www)
+target_link_libraries(cpp-messagebus-www.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ library-cpp-cgiparam
+ cpp-html-pcdata
+ cpp-http-fetch
+ cpp-http-server
+ cpp-json-writer
+ library-cpp-messagebus
+ cpp-messagebus-oldmodule
+ monlib-deprecated-json
+ library-cpp-uri
+)
+target_sources(cpp-messagebus-www.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
+)
+resources(cpp-messagebus-www.global
+ ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/messagebus.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/bus-ico.png
+ KEYS
+ /messagebus.js
+ /bus-ico.png
+)
diff --git a/library/cpp/messagebus/www/CMakeLists.txt b/library/cpp/messagebus/www/CMakeLists.txt
index 20438aeb6c..3e0811fb22 100644
--- a/library/cpp/messagebus/www/CMakeLists.txt
+++ b/library/cpp/messagebus/www/CMakeLists.txt
@@ -6,51 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-messagebus-www)
-target_link_libraries(cpp-messagebus-www PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-resource
- library-cpp-cgiparam
- cpp-html-pcdata
- cpp-http-fetch
- cpp-http-server
- cpp-json-writer
- library-cpp-messagebus
- cpp-messagebus-oldmodule
- monlib-deprecated-json
- library-cpp-uri
-)
-target_sources(cpp-messagebus-www PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/html_output.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/www.cpp
-)
-
-add_global_library_for(cpp-messagebus-www.global cpp-messagebus-www)
-target_link_libraries(cpp-messagebus-www.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-resource
- library-cpp-cgiparam
- cpp-html-pcdata
- cpp-http-fetch
- cpp-http-server
- cpp-json-writer
- library-cpp-messagebus
- cpp-messagebus-oldmodule
- monlib-deprecated-json
- library-cpp-uri
-)
-target_sources(cpp-messagebus-www.global PRIVATE
- ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
-)
-resources(cpp-messagebus-www.global
- ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp
- INPUTS
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/messagebus.js
- ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/bus-ico.png
- KEYS
- /messagebus.js
- /bus-ico.png
-)
+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/mime/types/CMakeLists.darwin.txt b/library/cpp/mime/types/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..a29b0abaaa
--- /dev/null
+++ b/library/cpp/mime/types/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-mime-types)
+target_link_libraries(cpp-mime-types PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-mime-types PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/mime/types/mime.cpp
+)
+generate_enum_serilization(cpp-mime-types
+ ${CMAKE_SOURCE_DIR}/library/cpp/mime/types/mime.h
+ INCLUDE_HEADERS
+ library/cpp/mime/types/mime.h
+)
diff --git a/library/cpp/mime/types/CMakeLists.linux-aarch64.txt b/library/cpp/mime/types/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..534a2061d5
--- /dev/null
+++ b/library/cpp/mime/types/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-mime-types)
+target_link_libraries(cpp-mime-types PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-mime-types PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/mime/types/mime.cpp
+)
+generate_enum_serilization(cpp-mime-types
+ ${CMAKE_SOURCE_DIR}/library/cpp/mime/types/mime.h
+ INCLUDE_HEADERS
+ library/cpp/mime/types/mime.h
+)
diff --git a/library/cpp/mime/types/CMakeLists.linux.txt b/library/cpp/mime/types/CMakeLists.linux.txt
new file mode 100644
index 0000000000..534a2061d5
--- /dev/null
+++ b/library/cpp/mime/types/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-mime-types)
+target_link_libraries(cpp-mime-types PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-mime-types PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/mime/types/mime.cpp
+)
+generate_enum_serilization(cpp-mime-types
+ ${CMAKE_SOURCE_DIR}/library/cpp/mime/types/mime.h
+ INCLUDE_HEADERS
+ library/cpp/mime/types/mime.h
+)
diff --git a/library/cpp/mime/types/CMakeLists.txt b/library/cpp/mime/types/CMakeLists.txt
index a29b0abaaa..3e0811fb22 100644
--- a/library/cpp/mime/types/CMakeLists.txt
+++ b/library/cpp/mime/types/CMakeLists.txt
@@ -6,18 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-mime-types)
-target_link_libraries(cpp-mime-types PUBLIC
- contrib-libs-cxxsupp
- yutil
- tools-enum_parser-enum_serialization_runtime
-)
-target_sources(cpp-mime-types PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/mime/types/mime.cpp
-)
-generate_enum_serilization(cpp-mime-types
- ${CMAKE_SOURCE_DIR}/library/cpp/mime/types/mime.h
- INCLUDE_HEADERS
- library/cpp/mime/types/mime.h
-)
+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/monlib/deprecated/json/CMakeLists.darwin.txt b/library/cpp/monlib/deprecated/json/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..22f7d6227c
--- /dev/null
+++ b/library/cpp/monlib/deprecated/json/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(monlib-deprecated-json)
+target_link_libraries(monlib-deprecated-json PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+)
+target_sources(monlib-deprecated-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/deprecated/json/writer.cpp
+)
diff --git a/library/cpp/monlib/deprecated/json/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/deprecated/json/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..3c526573cb
--- /dev/null
+++ b/library/cpp/monlib/deprecated/json/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(monlib-deprecated-json)
+target_link_libraries(monlib-deprecated-json PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+)
+target_sources(monlib-deprecated-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/deprecated/json/writer.cpp
+)
diff --git a/library/cpp/monlib/deprecated/json/CMakeLists.linux.txt b/library/cpp/monlib/deprecated/json/CMakeLists.linux.txt
new file mode 100644
index 0000000000..3c526573cb
--- /dev/null
+++ b/library/cpp/monlib/deprecated/json/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(monlib-deprecated-json)
+target_link_libraries(monlib-deprecated-json PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+)
+target_sources(monlib-deprecated-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/deprecated/json/writer.cpp
+)
diff --git a/library/cpp/monlib/deprecated/json/CMakeLists.txt b/library/cpp/monlib/deprecated/json/CMakeLists.txt
index 22f7d6227c..3e0811fb22 100644
--- a/library/cpp/monlib/deprecated/json/CMakeLists.txt
+++ b/library/cpp/monlib/deprecated/json/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(monlib-deprecated-json)
-target_link_libraries(monlib-deprecated-json PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-json
-)
-target_sources(monlib-deprecated-json PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/deprecated/json/writer.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/monlib/dynamic_counters/CMakeLists.darwin.txt b/library/cpp/monlib/dynamic_counters/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..e8dacd3a61
--- /dev/null
+++ b/library/cpp/monlib/dynamic_counters/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.
+
+
+add_subdirectory(percentile)
+
+add_library(cpp-monlib-dynamic_counters)
+target_link_libraries(cpp-monlib-dynamic_counters PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-stack_vector
+ monlib-encode-json
+ monlib-encode-spack
+ monlib-encode-prometheus
+ monlib-service-pages
+ cpp-string_utils-quote
+ cpp-threading-light_rw_lock
+)
+target_sources(cpp-monlib-dynamic_counters PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/counters.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/encode.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/golovan_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/page.cpp
+)
diff --git a/library/cpp/monlib/dynamic_counters/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/dynamic_counters/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..87a5fa69ea
--- /dev/null
+++ b/library/cpp/monlib/dynamic_counters/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_subdirectory(percentile)
+
+add_library(cpp-monlib-dynamic_counters)
+target_link_libraries(cpp-monlib-dynamic_counters PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-stack_vector
+ monlib-encode-json
+ monlib-encode-spack
+ monlib-encode-prometheus
+ monlib-service-pages
+ cpp-string_utils-quote
+ cpp-threading-light_rw_lock
+)
+target_sources(cpp-monlib-dynamic_counters PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/counters.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/encode.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/golovan_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/page.cpp
+)
diff --git a/library/cpp/monlib/dynamic_counters/CMakeLists.linux.txt b/library/cpp/monlib/dynamic_counters/CMakeLists.linux.txt
new file mode 100644
index 0000000000..87a5fa69ea
--- /dev/null
+++ b/library/cpp/monlib/dynamic_counters/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_subdirectory(percentile)
+
+add_library(cpp-monlib-dynamic_counters)
+target_link_libraries(cpp-monlib-dynamic_counters PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-stack_vector
+ monlib-encode-json
+ monlib-encode-spack
+ monlib-encode-prometheus
+ monlib-service-pages
+ cpp-string_utils-quote
+ cpp-threading-light_rw_lock
+)
+target_sources(cpp-monlib-dynamic_counters PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/counters.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/encode.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/golovan_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/page.cpp
+)
diff --git a/library/cpp/monlib/dynamic_counters/CMakeLists.txt b/library/cpp/monlib/dynamic_counters/CMakeLists.txt
index e8dacd3a61..3e0811fb22 100644
--- a/library/cpp/monlib/dynamic_counters/CMakeLists.txt
+++ b/library/cpp/monlib/dynamic_counters/CMakeLists.txt
@@ -6,23 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(percentile)
-
-add_library(cpp-monlib-dynamic_counters)
-target_link_libraries(cpp-monlib-dynamic_counters PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-containers-stack_vector
- monlib-encode-json
- monlib-encode-spack
- monlib-encode-prometheus
- monlib-service-pages
- cpp-string_utils-quote
- cpp-threading-light_rw_lock
-)
-target_sources(cpp-monlib-dynamic_counters PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/counters.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/encode.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/golovan_page.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/page.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/monlib/dynamic_counters/percentile/CMakeLists.darwin.txt b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..6d9aa304fc
--- /dev/null
+++ b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.darwin.txt
@@ -0,0 +1,16 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(monlib-dynamic_counters-percentile INTERFACE)
+target_link_libraries(monlib-dynamic_counters-percentile INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-stack_vector
+ cpp-monlib-dynamic_counters
+)
diff --git a/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..7047272351
--- /dev/null
+++ b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.linux-aarch64.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(monlib-dynamic_counters-percentile INTERFACE)
+target_link_libraries(monlib-dynamic_counters-percentile INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-stack_vector
+ cpp-monlib-dynamic_counters
+)
diff --git a/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.linux.txt b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.linux.txt
new file mode 100644
index 0000000000..7047272351
--- /dev/null
+++ b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.linux.txt
@@ -0,0 +1,17 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(monlib-dynamic_counters-percentile INTERFACE)
+target_link_libraries(monlib-dynamic_counters-percentile INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-containers-stack_vector
+ cpp-monlib-dynamic_counters
+)
diff --git a/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.txt b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.txt
index 6d9aa304fc..3e0811fb22 100644
--- a/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.txt
+++ b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.txt
@@ -6,11 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(monlib-dynamic_counters-percentile INTERFACE)
-target_link_libraries(monlib-dynamic_counters-percentile INTERFACE
- contrib-libs-cxxsupp
- yutil
- cpp-containers-stack_vector
- cpp-monlib-dynamic_counters
-)
+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/monlib/encode/CMakeLists.darwin.txt b/library/cpp/monlib/encode/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..539c9b07f3
--- /dev/null
+++ b/library/cpp/monlib/encode/CMakeLists.darwin.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(buffered)
+add_subdirectory(json)
+add_subdirectory(legacy_protobuf)
+add_subdirectory(prometheus)
+add_subdirectory(spack)
+add_subdirectory(text)
+
+add_library(cpp-monlib-encode)
+target_link_libraries(cpp-monlib-encode PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-metrics
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-monlib-encode PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/format.cpp
+)
+generate_enum_serilization(cpp-monlib-encode
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state_enum.h
+ GEN_HEADER
+ ${CMAKE_BINARY_DIR}/library/cpp/monlib/encode/encoder_state_enum.h_serialized.h
+ INCLUDE_HEADERS
+ library/cpp/monlib/encode/encoder_state_enum.h
+)
diff --git a/library/cpp/monlib/encode/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/encode/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..d43206009f
--- /dev/null
+++ b/library/cpp/monlib/encode/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,35 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(buffered)
+add_subdirectory(json)
+add_subdirectory(legacy_protobuf)
+add_subdirectory(prometheus)
+add_subdirectory(spack)
+add_subdirectory(text)
+
+add_library(cpp-monlib-encode)
+target_link_libraries(cpp-monlib-encode PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-metrics
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-monlib-encode PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/format.cpp
+)
+generate_enum_serilization(cpp-monlib-encode
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state_enum.h
+ GEN_HEADER
+ ${CMAKE_BINARY_DIR}/library/cpp/monlib/encode/encoder_state_enum.h_serialized.h
+ INCLUDE_HEADERS
+ library/cpp/monlib/encode/encoder_state_enum.h
+)
diff --git a/library/cpp/monlib/encode/CMakeLists.linux.txt b/library/cpp/monlib/encode/CMakeLists.linux.txt
new file mode 100644
index 0000000000..d43206009f
--- /dev/null
+++ b/library/cpp/monlib/encode/CMakeLists.linux.txt
@@ -0,0 +1,35 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(buffered)
+add_subdirectory(json)
+add_subdirectory(legacy_protobuf)
+add_subdirectory(prometheus)
+add_subdirectory(spack)
+add_subdirectory(text)
+
+add_library(cpp-monlib-encode)
+target_link_libraries(cpp-monlib-encode PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-metrics
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-monlib-encode PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/format.cpp
+)
+generate_enum_serilization(cpp-monlib-encode
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state_enum.h
+ GEN_HEADER
+ ${CMAKE_BINARY_DIR}/library/cpp/monlib/encode/encoder_state_enum.h_serialized.h
+ INCLUDE_HEADERS
+ library/cpp/monlib/encode/encoder_state_enum.h
+)
diff --git a/library/cpp/monlib/encode/CMakeLists.txt b/library/cpp/monlib/encode/CMakeLists.txt
index 539c9b07f3..3e0811fb22 100644
--- a/library/cpp/monlib/encode/CMakeLists.txt
+++ b/library/cpp/monlib/encode/CMakeLists.txt
@@ -6,29 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(buffered)
-add_subdirectory(json)
-add_subdirectory(legacy_protobuf)
-add_subdirectory(prometheus)
-add_subdirectory(spack)
-add_subdirectory(text)
-
-add_library(cpp-monlib-encode)
-target_link_libraries(cpp-monlib-encode PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-monlib-metrics
- tools-enum_parser-enum_serialization_runtime
-)
-target_sources(cpp-monlib-encode PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/format.cpp
-)
-generate_enum_serilization(cpp-monlib-encode
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/encoder_state_enum.h
- GEN_HEADER
- ${CMAKE_BINARY_DIR}/library/cpp/monlib/encode/encoder_state_enum.h_serialized.h
- INCLUDE_HEADERS
- library/cpp/monlib/encode/encoder_state_enum.h
-)
+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/monlib/encode/buffered/CMakeLists.darwin.txt b/library/cpp/monlib/encode/buffered/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..978bbad573
--- /dev/null
+++ b/library/cpp/monlib/encode/buffered/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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(monlib-encode-buffered)
+target_link_libraries(monlib-encode-buffered PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-encode
+ cpp-monlib-metrics
+)
+target_sources(monlib-encode-buffered PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/buffered/buffered_encoder_base.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/buffered/string_pool.cpp
+)
diff --git a/library/cpp/monlib/encode/buffered/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/encode/buffered/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a3d3f40e98
--- /dev/null
+++ b/library/cpp/monlib/encode/buffered/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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(monlib-encode-buffered)
+target_link_libraries(monlib-encode-buffered PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-encode
+ cpp-monlib-metrics
+)
+target_sources(monlib-encode-buffered PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/buffered/buffered_encoder_base.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/buffered/string_pool.cpp
+)
diff --git a/library/cpp/monlib/encode/buffered/CMakeLists.linux.txt b/library/cpp/monlib/encode/buffered/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a3d3f40e98
--- /dev/null
+++ b/library/cpp/monlib/encode/buffered/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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(monlib-encode-buffered)
+target_link_libraries(monlib-encode-buffered PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-encode
+ cpp-monlib-metrics
+)
+target_sources(monlib-encode-buffered PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/buffered/buffered_encoder_base.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/buffered/string_pool.cpp
+)
diff --git a/library/cpp/monlib/encode/buffered/CMakeLists.txt b/library/cpp/monlib/encode/buffered/CMakeLists.txt
index 978bbad573..3e0811fb22 100644
--- a/library/cpp/monlib/encode/buffered/CMakeLists.txt
+++ b/library/cpp/monlib/encode/buffered/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(monlib-encode-buffered)
-target_link_libraries(monlib-encode-buffered PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-monlib-encode
- cpp-monlib-metrics
-)
-target_sources(monlib-encode-buffered PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/buffered/buffered_encoder_base.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/buffered/string_pool.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/monlib/encode/json/CMakeLists.darwin.txt b/library/cpp/monlib/encode/json/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..bcdb013523
--- /dev/null
+++ b/library/cpp/monlib/encode/json/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(monlib-encode-json)
+target_link_libraries(monlib-encode-json PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-encode
+ monlib-encode-buffered
+ cpp-monlib-exception
+ library-cpp-json
+ cpp-json-writer
+)
+target_sources(monlib-encode-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/json/json_decoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/json/json_encoder.cpp
+)
diff --git a/library/cpp/monlib/encode/json/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/encode/json/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..7c8f4c7d62
--- /dev/null
+++ b/library/cpp/monlib/encode/json/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(monlib-encode-json)
+target_link_libraries(monlib-encode-json PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-encode
+ monlib-encode-buffered
+ cpp-monlib-exception
+ library-cpp-json
+ cpp-json-writer
+)
+target_sources(monlib-encode-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/json/json_decoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/json/json_encoder.cpp
+)
diff --git a/library/cpp/monlib/encode/json/CMakeLists.linux.txt b/library/cpp/monlib/encode/json/CMakeLists.linux.txt
new file mode 100644
index 0000000000..7c8f4c7d62
--- /dev/null
+++ b/library/cpp/monlib/encode/json/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(monlib-encode-json)
+target_link_libraries(monlib-encode-json PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-encode
+ monlib-encode-buffered
+ cpp-monlib-exception
+ library-cpp-json
+ cpp-json-writer
+)
+target_sources(monlib-encode-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/json/json_decoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/json/json_encoder.cpp
+)
diff --git a/library/cpp/monlib/encode/json/CMakeLists.txt b/library/cpp/monlib/encode/json/CMakeLists.txt
index bcdb013523..3e0811fb22 100644
--- a/library/cpp/monlib/encode/json/CMakeLists.txt
+++ b/library/cpp/monlib/encode/json/CMakeLists.txt
@@ -6,18 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(monlib-encode-json)
-target_link_libraries(monlib-encode-json PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-monlib-encode
- monlib-encode-buffered
- cpp-monlib-exception
- library-cpp-json
- cpp-json-writer
-)
-target_sources(monlib-encode-json PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/json/json_decoder.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/json/json_encoder.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/monlib/encode/legacy_protobuf/protos/CMakeLists.darwin.txt b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..3c051b63a3
--- /dev/null
+++ b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.darwin.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(encode-legacy_protobuf-protos)
+target_link_libraries(encode-legacy_protobuf-protos PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(encode-legacy_protobuf-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/legacy_protobuf/protos/metric_meta.proto
+)
+target_proto_addincls(encode-legacy_protobuf-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(encode-legacy_protobuf-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..20ea45cd67
--- /dev/null
+++ b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(encode-legacy_protobuf-protos)
+target_link_libraries(encode-legacy_protobuf-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(encode-legacy_protobuf-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/legacy_protobuf/protos/metric_meta.proto
+)
+target_proto_addincls(encode-legacy_protobuf-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(encode-legacy_protobuf-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.linux.txt b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.linux.txt
new file mode 100644
index 0000000000..20ea45cd67
--- /dev/null
+++ b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.linux.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(encode-legacy_protobuf-protos)
+target_link_libraries(encode-legacy_protobuf-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(encode-legacy_protobuf-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/legacy_protobuf/protos/metric_meta.proto
+)
+target_proto_addincls(encode-legacy_protobuf-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(encode-legacy_protobuf-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt
index 3c051b63a3..3e0811fb22 100644
--- a/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt
+++ b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt
@@ -6,26 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(encode-legacy_protobuf-protos)
-target_link_libraries(encode-legacy_protobuf-protos PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
-)
-target_proto_messages(encode-legacy_protobuf-protos PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/legacy_protobuf/protos/metric_meta.proto
-)
-target_proto_addincls(encode-legacy_protobuf-protos
- ./
- ${CMAKE_SOURCE_DIR}/
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(encode-legacy_protobuf-protos
- --cpp_out=${CMAKE_BINARY_DIR}/
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
-)
+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/monlib/encode/prometheus/CMakeLists.darwin.txt b/library/cpp/monlib/encode/prometheus/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..662ee84590
--- /dev/null
+++ b/library/cpp/monlib/encode/prometheus/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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(monlib-encode-prometheus)
+target_link_libraries(monlib-encode-prometheus PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-encode
+ monlib-encode-buffered
+)
+target_sources(monlib-encode-prometheus PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/prometheus/prometheus_encoder.cpp
+)
diff --git a/library/cpp/monlib/encode/prometheus/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/encode/prometheus/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..501ea0f6e2
--- /dev/null
+++ b/library/cpp/monlib/encode/prometheus/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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(monlib-encode-prometheus)
+target_link_libraries(monlib-encode-prometheus PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-encode
+ monlib-encode-buffered
+)
+target_sources(monlib-encode-prometheus PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/prometheus/prometheus_encoder.cpp
+)
diff --git a/library/cpp/monlib/encode/prometheus/CMakeLists.linux.txt b/library/cpp/monlib/encode/prometheus/CMakeLists.linux.txt
new file mode 100644
index 0000000000..501ea0f6e2
--- /dev/null
+++ b/library/cpp/monlib/encode/prometheus/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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(monlib-encode-prometheus)
+target_link_libraries(monlib-encode-prometheus PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-encode
+ monlib-encode-buffered
+)
+target_sources(monlib-encode-prometheus PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/prometheus/prometheus_encoder.cpp
+)
diff --git a/library/cpp/monlib/encode/prometheus/CMakeLists.txt b/library/cpp/monlib/encode/prometheus/CMakeLists.txt
index 662ee84590..3e0811fb22 100644
--- a/library/cpp/monlib/encode/prometheus/CMakeLists.txt
+++ b/library/cpp/monlib/encode/prometheus/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(monlib-encode-prometheus)
-target_link_libraries(monlib-encode-prometheus PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-monlib-encode
- monlib-encode-buffered
-)
-target_sources(monlib-encode-prometheus PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/prometheus/prometheus_encoder.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/monlib/encode/spack/CMakeLists.darwin.txt b/library/cpp/monlib/encode/spack/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..1be9c24714
--- /dev/null
+++ b/library/cpp/monlib/encode/spack/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.
+
+
+find_package(ZLIB REQUIRED)
+
+add_library(monlib-encode-spack)
+target_link_libraries(monlib-encode-spack PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ monlib-encode-buffered
+ cpp-monlib-exception
+ contrib-libs-lz4
+ contrib-libs-xxhash
+ ZLIB::ZLIB
+ contrib-libs-zstd
+)
+target_sources(monlib-encode-spack PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/spack_v1_decoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/spack_v1_encoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/varint.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/compression.cpp
+)
diff --git a/library/cpp/monlib/encode/spack/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/encode/spack/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..81590acc5d
--- /dev/null
+++ b/library/cpp/monlib/encode/spack/CMakeLists.linux-aarch64.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(monlib-encode-spack)
+target_link_libraries(monlib-encode-spack PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ monlib-encode-buffered
+ cpp-monlib-exception
+ contrib-libs-lz4
+ contrib-libs-xxhash
+ ZLIB::ZLIB
+ contrib-libs-zstd
+)
+target_sources(monlib-encode-spack PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/spack_v1_decoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/spack_v1_encoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/varint.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/compression.cpp
+)
diff --git a/library/cpp/monlib/encode/spack/CMakeLists.linux.txt b/library/cpp/monlib/encode/spack/CMakeLists.linux.txt
new file mode 100644
index 0000000000..81590acc5d
--- /dev/null
+++ b/library/cpp/monlib/encode/spack/CMakeLists.linux.txt
@@ -0,0 +1,28 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(ZLIB REQUIRED)
+
+add_library(monlib-encode-spack)
+target_link_libraries(monlib-encode-spack PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ monlib-encode-buffered
+ cpp-monlib-exception
+ contrib-libs-lz4
+ contrib-libs-xxhash
+ ZLIB::ZLIB
+ contrib-libs-zstd
+)
+target_sources(monlib-encode-spack PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/spack_v1_decoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/spack_v1_encoder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/varint.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/compression.cpp
+)
diff --git a/library/cpp/monlib/encode/spack/CMakeLists.txt b/library/cpp/monlib/encode/spack/CMakeLists.txt
index 1be9c24714..3e0811fb22 100644
--- a/library/cpp/monlib/encode/spack/CMakeLists.txt
+++ b/library/cpp/monlib/encode/spack/CMakeLists.txt
@@ -6,22 +6,10 @@
# original buildsystem will not be accepted.
-find_package(ZLIB REQUIRED)
-
-add_library(monlib-encode-spack)
-target_link_libraries(monlib-encode-spack PUBLIC
- contrib-libs-cxxsupp
- yutil
- monlib-encode-buffered
- cpp-monlib-exception
- contrib-libs-lz4
- contrib-libs-xxhash
- ZLIB::ZLIB
- contrib-libs-zstd
-)
-target_sources(monlib-encode-spack PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/spack_v1_decoder.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/spack_v1_encoder.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/varint.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/compression.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/monlib/encode/text/CMakeLists.darwin.txt b/library/cpp/monlib/encode/text/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..5f8faa7897
--- /dev/null
+++ b/library/cpp/monlib/encode/text/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(monlib-encode-text)
+target_link_libraries(monlib-encode-text PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-encode
+)
+target_sources(monlib-encode-text PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/text/text_encoder.cpp
+)
diff --git a/library/cpp/monlib/encode/text/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/encode/text/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..1791a12df9
--- /dev/null
+++ b/library/cpp/monlib/encode/text/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(monlib-encode-text)
+target_link_libraries(monlib-encode-text PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-encode
+)
+target_sources(monlib-encode-text PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/text/text_encoder.cpp
+)
diff --git a/library/cpp/monlib/encode/text/CMakeLists.linux.txt b/library/cpp/monlib/encode/text/CMakeLists.linux.txt
new file mode 100644
index 0000000000..1791a12df9
--- /dev/null
+++ b/library/cpp/monlib/encode/text/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(monlib-encode-text)
+target_link_libraries(monlib-encode-text PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-encode
+)
+target_sources(monlib-encode-text PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/text/text_encoder.cpp
+)
diff --git a/library/cpp/monlib/encode/text/CMakeLists.txt b/library/cpp/monlib/encode/text/CMakeLists.txt
index 5f8faa7897..3e0811fb22 100644
--- a/library/cpp/monlib/encode/text/CMakeLists.txt
+++ b/library/cpp/monlib/encode/text/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(monlib-encode-text)
-target_link_libraries(monlib-encode-text PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-monlib-encode
-)
-target_sources(monlib-encode-text PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/text/text_encoder.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/monlib/exception/CMakeLists.darwin.txt b/library/cpp/monlib/exception/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..43b9efb77f
--- /dev/null
+++ b/library/cpp/monlib/exception/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-monlib-exception)
+target_link_libraries(cpp-monlib-exception PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-monlib-exception PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/exception/exception.cpp
+)
diff --git a/library/cpp/monlib/exception/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/exception/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..24d2a8b619
--- /dev/null
+++ b/library/cpp/monlib/exception/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-monlib-exception)
+target_link_libraries(cpp-monlib-exception PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-monlib-exception PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/exception/exception.cpp
+)
diff --git a/library/cpp/monlib/exception/CMakeLists.linux.txt b/library/cpp/monlib/exception/CMakeLists.linux.txt
new file mode 100644
index 0000000000..24d2a8b619
--- /dev/null
+++ b/library/cpp/monlib/exception/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-monlib-exception)
+target_link_libraries(cpp-monlib-exception PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-monlib-exception PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/exception/exception.cpp
+)
diff --git a/library/cpp/monlib/exception/CMakeLists.txt b/library/cpp/monlib/exception/CMakeLists.txt
index 43b9efb77f..3e0811fb22 100644
--- a/library/cpp/monlib/exception/CMakeLists.txt
+++ b/library/cpp/monlib/exception/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-monlib-exception)
-target_link_libraries(cpp-monlib-exception PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-monlib-exception PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/exception/exception.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/monlib/messagebus/CMakeLists.darwin.txt b/library/cpp/monlib/messagebus/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..82610ee23f
--- /dev/null
+++ b/library/cpp/monlib/messagebus/CMakeLists.darwin.txt
@@ -0,0 +1,21 @@
+
+# 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-monlib-messagebus)
+target_link_libraries(cpp-monlib-messagebus PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-messagebus
+ cpp-messagebus-www
+ cpp-monlib-dynamic_counters
+)
+target_sources(cpp-monlib-messagebus PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/messagebus/mon_messagebus.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/messagebus/mon_service_messagebus.cpp
+)
diff --git a/library/cpp/monlib/messagebus/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/messagebus/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..cfe2f66af4
--- /dev/null
+++ b/library/cpp/monlib/messagebus/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-monlib-messagebus)
+target_link_libraries(cpp-monlib-messagebus PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-messagebus
+ cpp-messagebus-www
+ cpp-monlib-dynamic_counters
+)
+target_sources(cpp-monlib-messagebus PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/messagebus/mon_messagebus.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/messagebus/mon_service_messagebus.cpp
+)
diff --git a/library/cpp/monlib/messagebus/CMakeLists.linux.txt b/library/cpp/monlib/messagebus/CMakeLists.linux.txt
new file mode 100644
index 0000000000..cfe2f66af4
--- /dev/null
+++ b/library/cpp/monlib/messagebus/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-monlib-messagebus)
+target_link_libraries(cpp-monlib-messagebus PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-messagebus
+ cpp-messagebus-www
+ cpp-monlib-dynamic_counters
+)
+target_sources(cpp-monlib-messagebus PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/messagebus/mon_messagebus.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/messagebus/mon_service_messagebus.cpp
+)
diff --git a/library/cpp/monlib/messagebus/CMakeLists.txt b/library/cpp/monlib/messagebus/CMakeLists.txt
index 82610ee23f..3e0811fb22 100644
--- a/library/cpp/monlib/messagebus/CMakeLists.txt
+++ b/library/cpp/monlib/messagebus/CMakeLists.txt
@@ -6,16 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-monlib-messagebus)
-target_link_libraries(cpp-monlib-messagebus PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-messagebus
- cpp-messagebus-www
- cpp-monlib-dynamic_counters
-)
-target_sources(cpp-monlib-messagebus PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/messagebus/mon_messagebus.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/messagebus/mon_service_messagebus.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/monlib/metrics/CMakeLists.darwin.txt b/library/cpp/monlib/metrics/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..d3002d3ad2
--- /dev/null
+++ b/library/cpp/monlib/metrics/CMakeLists.darwin.txt
@@ -0,0 +1,38 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-monlib-metrics)
+target_link_libraries(cpp-monlib-metrics PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-monlib-metrics PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/ewma.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/fake.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_explicit.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_exponential.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_linear.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_snapshot.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/log_histogram_snapshot.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/labels.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_registry.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_consumer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_type.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/summary_collector.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/summary_snapshot.cpp
+)
+generate_enum_serilization(cpp-monlib-metrics
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value_type.h
+ GEN_HEADER
+ ${CMAKE_BINARY_DIR}/library/cpp/monlib/metrics/metric_value_type.h_serialized.h
+ INCLUDE_HEADERS
+ library/cpp/monlib/metrics/metric_value_type.h
+)
diff --git a/library/cpp/monlib/metrics/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/metrics/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..2695c03931
--- /dev/null
+++ b/library/cpp/monlib/metrics/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,39 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-monlib-metrics)
+target_link_libraries(cpp-monlib-metrics PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-monlib-metrics PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/ewma.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/fake.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_explicit.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_exponential.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_linear.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_snapshot.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/log_histogram_snapshot.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/labels.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_registry.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_consumer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_type.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/summary_collector.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/summary_snapshot.cpp
+)
+generate_enum_serilization(cpp-monlib-metrics
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value_type.h
+ GEN_HEADER
+ ${CMAKE_BINARY_DIR}/library/cpp/monlib/metrics/metric_value_type.h_serialized.h
+ INCLUDE_HEADERS
+ library/cpp/monlib/metrics/metric_value_type.h
+)
diff --git a/library/cpp/monlib/metrics/CMakeLists.linux.txt b/library/cpp/monlib/metrics/CMakeLists.linux.txt
new file mode 100644
index 0000000000..2695c03931
--- /dev/null
+++ b/library/cpp/monlib/metrics/CMakeLists.linux.txt
@@ -0,0 +1,39 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-monlib-metrics)
+target_link_libraries(cpp-monlib-metrics PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-monlib-metrics PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/ewma.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/fake.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_explicit.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_exponential.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_linear.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_snapshot.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/log_histogram_snapshot.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/labels.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_registry.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_consumer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_type.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/summary_collector.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/summary_snapshot.cpp
+)
+generate_enum_serilization(cpp-monlib-metrics
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value_type.h
+ GEN_HEADER
+ ${CMAKE_BINARY_DIR}/library/cpp/monlib/metrics/metric_value_type.h_serialized.h
+ INCLUDE_HEADERS
+ library/cpp/monlib/metrics/metric_value_type.h
+)
diff --git a/library/cpp/monlib/metrics/CMakeLists.txt b/library/cpp/monlib/metrics/CMakeLists.txt
index d3002d3ad2..3e0811fb22 100644
--- a/library/cpp/monlib/metrics/CMakeLists.txt
+++ b/library/cpp/monlib/metrics/CMakeLists.txt
@@ -6,33 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-monlib-metrics)
-target_link_libraries(cpp-monlib-metrics PUBLIC
- contrib-libs-cxxsupp
- yutil
- tools-enum_parser-enum_serialization_runtime
-)
-target_sources(cpp-monlib-metrics PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/ewma.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/fake.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_explicit.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_exponential.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_linear.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_snapshot.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/log_histogram_snapshot.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/labels.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_registry.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_consumer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_type.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/summary_collector.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/summary_snapshot.cpp
-)
-generate_enum_serilization(cpp-monlib-metrics
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value_type.h
- GEN_HEADER
- ${CMAKE_BINARY_DIR}/library/cpp/monlib/metrics/metric_value_type.h_serialized.h
- INCLUDE_HEADERS
- library/cpp/monlib/metrics/metric_value_type.h
-)
+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/monlib/service/CMakeLists.darwin.txt b/library/cpp/monlib/service/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..24bc76ad29
--- /dev/null
+++ b/library/cpp/monlib/service/CMakeLists.darwin.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(pages)
+
+add_library(cpp-monlib-service)
+target_link_libraries(cpp-monlib-service PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-string_utils-base64
+ contrib-libs-protobuf
+ cpp-coroutine-engine
+ cpp-coroutine-listener
+ cpp-http-fetch
+ cpp-http-server
+ cpp-http-io
+ library-cpp-logger
+ cpp-malloc-api
+ library-cpp-svnversion
+ library-cpp-uri
+ library-cpp-cgiparam
+)
+target_sources(cpp-monlib-service PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/monservice.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/mon_service_http_request.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/service.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/format.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/auth.cpp
+)
diff --git a/library/cpp/monlib/service/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/service/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b5a0725893
--- /dev/null
+++ b/library/cpp/monlib/service/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,35 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(pages)
+
+add_library(cpp-monlib-service)
+target_link_libraries(cpp-monlib-service PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-string_utils-base64
+ contrib-libs-protobuf
+ cpp-coroutine-engine
+ cpp-coroutine-listener
+ cpp-http-fetch
+ cpp-http-server
+ cpp-http-io
+ library-cpp-logger
+ cpp-malloc-api
+ library-cpp-svnversion
+ library-cpp-uri
+ library-cpp-cgiparam
+)
+target_sources(cpp-monlib-service PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/monservice.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/mon_service_http_request.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/service.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/format.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/auth.cpp
+)
diff --git a/library/cpp/monlib/service/CMakeLists.linux.txt b/library/cpp/monlib/service/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b5a0725893
--- /dev/null
+++ b/library/cpp/monlib/service/CMakeLists.linux.txt
@@ -0,0 +1,35 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(pages)
+
+add_library(cpp-monlib-service)
+target_link_libraries(cpp-monlib-service PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-string_utils-base64
+ contrib-libs-protobuf
+ cpp-coroutine-engine
+ cpp-coroutine-listener
+ cpp-http-fetch
+ cpp-http-server
+ cpp-http-io
+ library-cpp-logger
+ cpp-malloc-api
+ library-cpp-svnversion
+ library-cpp-uri
+ library-cpp-cgiparam
+)
+target_sources(cpp-monlib-service PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/monservice.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/mon_service_http_request.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/service.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/format.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/auth.cpp
+)
diff --git a/library/cpp/monlib/service/CMakeLists.txt b/library/cpp/monlib/service/CMakeLists.txt
index 24bc76ad29..3e0811fb22 100644
--- a/library/cpp/monlib/service/CMakeLists.txt
+++ b/library/cpp/monlib/service/CMakeLists.txt
@@ -6,29 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(pages)
-
-add_library(cpp-monlib-service)
-target_link_libraries(cpp-monlib-service PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-string_utils-base64
- contrib-libs-protobuf
- cpp-coroutine-engine
- cpp-coroutine-listener
- cpp-http-fetch
- cpp-http-server
- cpp-http-io
- library-cpp-logger
- cpp-malloc-api
- library-cpp-svnversion
- library-cpp-uri
- library-cpp-cgiparam
-)
-target_sources(cpp-monlib-service PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/monservice.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/mon_service_http_request.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/service.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/format.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/auth.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/monlib/service/pages/CMakeLists.darwin.txt b/library/cpp/monlib/service/pages/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..cc2387ede1
--- /dev/null
+++ b/library/cpp/monlib/service/pages/CMakeLists.darwin.txt
@@ -0,0 +1,35 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(tablesorter)
+
+add_library(monlib-service-pages)
+target_link_libraries(monlib-service-pages PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-build_info
+ cpp-malloc-api
+ library-cpp-svnversion
+ library-cpp-resource
+ cpp-monlib-service
+ monlib-encode-json
+ monlib-encode-text
+ monlib-encode-spack
+ monlib-encode-prometheus
+)
+target_sources(monlib-service-pages PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/diag_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/html_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/index_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/pre_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/resource_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/templates.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/version_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/registry_mon_page.cpp
+)
diff --git a/library/cpp/monlib/service/pages/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/service/pages/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..55463581b7
--- /dev/null
+++ b/library/cpp/monlib/service/pages/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,36 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(tablesorter)
+
+add_library(monlib-service-pages)
+target_link_libraries(monlib-service-pages PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-build_info
+ cpp-malloc-api
+ library-cpp-svnversion
+ library-cpp-resource
+ cpp-monlib-service
+ monlib-encode-json
+ monlib-encode-text
+ monlib-encode-spack
+ monlib-encode-prometheus
+)
+target_sources(monlib-service-pages PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/diag_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/html_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/index_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/pre_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/resource_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/templates.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/version_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/registry_mon_page.cpp
+)
diff --git a/library/cpp/monlib/service/pages/CMakeLists.linux.txt b/library/cpp/monlib/service/pages/CMakeLists.linux.txt
new file mode 100644
index 0000000000..55463581b7
--- /dev/null
+++ b/library/cpp/monlib/service/pages/CMakeLists.linux.txt
@@ -0,0 +1,36 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(tablesorter)
+
+add_library(monlib-service-pages)
+target_link_libraries(monlib-service-pages PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-build_info
+ cpp-malloc-api
+ library-cpp-svnversion
+ library-cpp-resource
+ cpp-monlib-service
+ monlib-encode-json
+ monlib-encode-text
+ monlib-encode-spack
+ monlib-encode-prometheus
+)
+target_sources(monlib-service-pages PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/diag_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/html_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/index_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/pre_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/resource_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/templates.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/version_mon_page.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/registry_mon_page.cpp
+)
diff --git a/library/cpp/monlib/service/pages/CMakeLists.txt b/library/cpp/monlib/service/pages/CMakeLists.txt
index cc2387ede1..3e0811fb22 100644
--- a/library/cpp/monlib/service/pages/CMakeLists.txt
+++ b/library/cpp/monlib/service/pages/CMakeLists.txt
@@ -6,30 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(tablesorter)
-
-add_library(monlib-service-pages)
-target_link_libraries(monlib-service-pages PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-build_info
- cpp-malloc-api
- library-cpp-svnversion
- library-cpp-resource
- cpp-monlib-service
- monlib-encode-json
- monlib-encode-text
- monlib-encode-spack
- monlib-encode-prometheus
-)
-target_sources(monlib-service-pages PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/diag_mon_page.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/html_mon_page.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/index_mon_page.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/mon_page.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/pre_mon_page.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/resource_mon_page.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/templates.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/version_mon_page.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/registry_mon_page.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/monlib/service/pages/tablesorter/CMakeLists.darwin.txt b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..8a5b46eba9
--- /dev/null
+++ b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.darwin.txt
@@ -0,0 +1,36 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(service-pages-tablesorter INTERFACE)
+target_link_libraries(service-pages-tablesorter INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-monlib-dynamic_counters
+)
+
+add_global_library_for(service-pages-tablesorter.global service-pages-tablesorter)
+target_link_libraries(service-pages-tablesorter.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-monlib-dynamic_counters
+)
+target_sources(service-pages-tablesorter.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp
+)
+resources(service-pages-tablesorter.global
+ ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.js
+ KEYS
+ jquery.tablesorter.css
+ jquery.tablesorter.js
+)
diff --git a/library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b3e2ffe5a1
--- /dev/null
+++ b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,38 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(service-pages-tablesorter INTERFACE)
+target_link_libraries(service-pages-tablesorter INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-monlib-dynamic_counters
+)
+
+add_global_library_for(service-pages-tablesorter.global service-pages-tablesorter)
+target_link_libraries(service-pages-tablesorter.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-monlib-dynamic_counters
+)
+target_sources(service-pages-tablesorter.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp
+)
+resources(service-pages-tablesorter.global
+ ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.js
+ KEYS
+ jquery.tablesorter.css
+ jquery.tablesorter.js
+)
diff --git a/library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux.txt b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b3e2ffe5a1
--- /dev/null
+++ b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux.txt
@@ -0,0 +1,38 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(service-pages-tablesorter INTERFACE)
+target_link_libraries(service-pages-tablesorter INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-monlib-dynamic_counters
+)
+
+add_global_library_for(service-pages-tablesorter.global service-pages-tablesorter)
+target_link_libraries(service-pages-tablesorter.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-monlib-dynamic_counters
+)
+target_sources(service-pages-tablesorter.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp
+)
+resources(service-pages-tablesorter.global
+ ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.js
+ KEYS
+ jquery.tablesorter.css
+ jquery.tablesorter.js
+)
diff --git a/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt
index 8a5b46eba9..3e0811fb22 100644
--- a/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt
+++ b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt
@@ -6,31 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(service-pages-tablesorter INTERFACE)
-target_link_libraries(service-pages-tablesorter INTERFACE
- contrib-libs-cxxsupp
- yutil
- library-cpp-resource
- cpp-monlib-dynamic_counters
-)
-
-add_global_library_for(service-pages-tablesorter.global service-pages-tablesorter)
-target_link_libraries(service-pages-tablesorter.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-resource
- cpp-monlib-dynamic_counters
-)
-target_sources(service-pages-tablesorter.global PRIVATE
- ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp
-)
-resources(service-pages-tablesorter.global
- ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp
- INPUTS
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.css
- ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.js
- KEYS
- jquery.tablesorter.css
- jquery.tablesorter.js
-)
+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/on_disk/chunks/CMakeLists.darwin.txt b/library/cpp/on_disk/chunks/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..1eb245af19
--- /dev/null
+++ b/library/cpp/on_disk/chunks/CMakeLists.darwin.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-on_disk-chunks)
+target_link_libraries(cpp-on_disk-chunks PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-on_disk-chunks PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/chunked_helpers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/reader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/writer.cpp
+)
diff --git a/library/cpp/on_disk/chunks/CMakeLists.linux-aarch64.txt b/library/cpp/on_disk/chunks/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..bfb48a1cfd
--- /dev/null
+++ b/library/cpp/on_disk/chunks/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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-on_disk-chunks)
+target_link_libraries(cpp-on_disk-chunks PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-on_disk-chunks PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/chunked_helpers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/reader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/writer.cpp
+)
diff --git a/library/cpp/on_disk/chunks/CMakeLists.linux.txt b/library/cpp/on_disk/chunks/CMakeLists.linux.txt
new file mode 100644
index 0000000000..bfb48a1cfd
--- /dev/null
+++ b/library/cpp/on_disk/chunks/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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-on_disk-chunks)
+target_link_libraries(cpp-on_disk-chunks PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-on_disk-chunks PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/chunked_helpers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/reader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/writer.cpp
+)
diff --git a/library/cpp/on_disk/chunks/CMakeLists.txt b/library/cpp/on_disk/chunks/CMakeLists.txt
index 1eb245af19..3e0811fb22 100644
--- a/library/cpp/on_disk/chunks/CMakeLists.txt
+++ b/library/cpp/on_disk/chunks/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-on_disk-chunks)
-target_link_libraries(cpp-on_disk-chunks PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-on_disk-chunks PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/chunked_helpers.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/reader.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/writer.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/openssl/holders/CMakeLists.darwin.txt b/library/cpp/openssl/holders/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..90f445a87b
--- /dev/null
+++ b/library/cpp/openssl/holders/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-holders)
+target_link_libraries(cpp-openssl-holders PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-holders PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/bio.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/x509_vfy.cpp
+)
diff --git a/library/cpp/openssl/holders/CMakeLists.linux-aarch64.txt b/library/cpp/openssl/holders/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..8352c8c11d
--- /dev/null
+++ b/library/cpp/openssl/holders/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-holders)
+target_link_libraries(cpp-openssl-holders PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-holders PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/bio.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/x509_vfy.cpp
+)
diff --git a/library/cpp/openssl/holders/CMakeLists.linux.txt b/library/cpp/openssl/holders/CMakeLists.linux.txt
new file mode 100644
index 0000000000..8352c8c11d
--- /dev/null
+++ b/library/cpp/openssl/holders/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-holders)
+target_link_libraries(cpp-openssl-holders PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-holders PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/bio.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/x509_vfy.cpp
+)
diff --git a/library/cpp/openssl/holders/CMakeLists.txt b/library/cpp/openssl/holders/CMakeLists.txt
index 90f445a87b..3e0811fb22 100644
--- a/library/cpp/openssl/holders/CMakeLists.txt
+++ b/library/cpp/openssl/holders/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-find_package(OpenSSL REQUIRED)
-
-add_library(cpp-openssl-holders)
-target_link_libraries(cpp-openssl-holders PUBLIC
- contrib-libs-cxxsupp
- yutil
- OpenSSL::OpenSSL
-)
-target_sources(cpp-openssl-holders PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/bio.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/x509_vfy.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/openssl/init/CMakeLists.darwin.txt b/library/cpp/openssl/init/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..6049df14dc
--- /dev/null
+++ b/library/cpp/openssl/init/CMakeLists.darwin.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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-init)
+target_link_libraries(cpp-openssl-init PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-init PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/init/init.cpp
+)
diff --git a/library/cpp/openssl/init/CMakeLists.linux-aarch64.txt b/library/cpp/openssl/init/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..acd1cea691
--- /dev/null
+++ b/library/cpp/openssl/init/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-init)
+target_link_libraries(cpp-openssl-init PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-init PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/init/init.cpp
+)
diff --git a/library/cpp/openssl/init/CMakeLists.linux.txt b/library/cpp/openssl/init/CMakeLists.linux.txt
new file mode 100644
index 0000000000..acd1cea691
--- /dev/null
+++ b/library/cpp/openssl/init/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-init)
+target_link_libraries(cpp-openssl-init PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+)
+target_sources(cpp-openssl-init PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/init/init.cpp
+)
diff --git a/library/cpp/openssl/init/CMakeLists.txt b/library/cpp/openssl/init/CMakeLists.txt
index 6049df14dc..3e0811fb22 100644
--- a/library/cpp/openssl/init/CMakeLists.txt
+++ b/library/cpp/openssl/init/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-find_package(OpenSSL REQUIRED)
-
-add_library(cpp-openssl-init)
-target_link_libraries(cpp-openssl-init PUBLIC
- contrib-libs-cxxsupp
- yutil
- OpenSSL::OpenSSL
-)
-target_sources(cpp-openssl-init PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/openssl/init/init.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/openssl/io/CMakeLists.darwin.txt b/library/cpp/openssl/io/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..42f1810dab
--- /dev/null
+++ b/library/cpp/openssl/io/CMakeLists.darwin.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-io)
+target_link_libraries(cpp-openssl-io PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ certs
+ OpenSSL::OpenSSL
+ cpp-openssl-init
+ cpp-openssl-method
+)
+target_sources(cpp-openssl-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/io/stream.cpp
+)
diff --git a/library/cpp/openssl/io/CMakeLists.linux-aarch64.txt b/library/cpp/openssl/io/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..c87fe246d0
--- /dev/null
+++ b/library/cpp/openssl/io/CMakeLists.linux-aarch64.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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-io)
+target_link_libraries(cpp-openssl-io PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ certs
+ OpenSSL::OpenSSL
+ cpp-openssl-init
+ cpp-openssl-method
+)
+target_sources(cpp-openssl-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/io/stream.cpp
+)
diff --git a/library/cpp/openssl/io/CMakeLists.linux.txt b/library/cpp/openssl/io/CMakeLists.linux.txt
new file mode 100644
index 0000000000..c87fe246d0
--- /dev/null
+++ b/library/cpp/openssl/io/CMakeLists.linux.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.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-io)
+target_link_libraries(cpp-openssl-io PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ certs
+ OpenSSL::OpenSSL
+ cpp-openssl-init
+ cpp-openssl-method
+)
+target_sources(cpp-openssl-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/io/stream.cpp
+)
diff --git a/library/cpp/openssl/io/CMakeLists.txt b/library/cpp/openssl/io/CMakeLists.txt
index 42f1810dab..3e0811fb22 100644
--- a/library/cpp/openssl/io/CMakeLists.txt
+++ b/library/cpp/openssl/io/CMakeLists.txt
@@ -6,17 +6,10 @@
# original buildsystem will not be accepted.
-find_package(OpenSSL REQUIRED)
-
-add_library(cpp-openssl-io)
-target_link_libraries(cpp-openssl-io PUBLIC
- contrib-libs-cxxsupp
- yutil
- certs
- OpenSSL::OpenSSL
- cpp-openssl-init
- cpp-openssl-method
-)
-target_sources(cpp-openssl-io PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/openssl/io/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/openssl/method/CMakeLists.darwin.txt b/library/cpp/openssl/method/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..81ee4aeeca
--- /dev/null
+++ b/library/cpp/openssl/method/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-method)
+target_link_libraries(cpp-openssl-method PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ cpp-openssl-holders
+)
+target_sources(cpp-openssl-method PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/method/io.cpp
+)
diff --git a/library/cpp/openssl/method/CMakeLists.linux-aarch64.txt b/library/cpp/openssl/method/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ce67321420
--- /dev/null
+++ b/library/cpp/openssl/method/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-method)
+target_link_libraries(cpp-openssl-method PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ cpp-openssl-holders
+)
+target_sources(cpp-openssl-method PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/method/io.cpp
+)
diff --git a/library/cpp/openssl/method/CMakeLists.linux.txt b/library/cpp/openssl/method/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ce67321420
--- /dev/null
+++ b/library/cpp/openssl/method/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+
+add_library(cpp-openssl-method)
+target_link_libraries(cpp-openssl-method PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ cpp-openssl-holders
+)
+target_sources(cpp-openssl-method PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/openssl/method/io.cpp
+)
diff --git a/library/cpp/openssl/method/CMakeLists.txt b/library/cpp/openssl/method/CMakeLists.txt
index 81ee4aeeca..3e0811fb22 100644
--- a/library/cpp/openssl/method/CMakeLists.txt
+++ b/library/cpp/openssl/method/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-find_package(OpenSSL REQUIRED)
-
-add_library(cpp-openssl-method)
-target_link_libraries(cpp-openssl-method PUBLIC
- contrib-libs-cxxsupp
- yutil
- OpenSSL::OpenSSL
- cpp-openssl-holders
-)
-target_sources(cpp-openssl-method PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/openssl/method/io.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/packedtypes/CMakeLists.darwin.txt b/library/cpp/packedtypes/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..edd45c86ca
--- /dev/null
+++ b/library/cpp/packedtypes/CMakeLists.darwin.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(library-cpp-packedtypes)
+target_link_libraries(library-cpp-packedtypes PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-streams-zc_memory_input
+)
+target_sources(library-cpp-packedtypes PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/packedtypes/longs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/packedtypes/packedfloat.cpp
+)
diff --git a/library/cpp/packedtypes/CMakeLists.linux-aarch64.txt b/library/cpp/packedtypes/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..db933e9bc3
--- /dev/null
+++ b/library/cpp/packedtypes/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-packedtypes)
+target_link_libraries(library-cpp-packedtypes PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-streams-zc_memory_input
+)
+target_sources(library-cpp-packedtypes PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/packedtypes/longs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/packedtypes/packedfloat.cpp
+)
diff --git a/library/cpp/packedtypes/CMakeLists.linux.txt b/library/cpp/packedtypes/CMakeLists.linux.txt
new file mode 100644
index 0000000000..db933e9bc3
--- /dev/null
+++ b/library/cpp/packedtypes/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-packedtypes)
+target_link_libraries(library-cpp-packedtypes PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-streams-zc_memory_input
+)
+target_sources(library-cpp-packedtypes PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/packedtypes/longs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/packedtypes/packedfloat.cpp
+)
diff --git a/library/cpp/packedtypes/CMakeLists.txt b/library/cpp/packedtypes/CMakeLists.txt
index edd45c86ca..3e0811fb22 100644
--- a/library/cpp/packedtypes/CMakeLists.txt
+++ b/library/cpp/packedtypes/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-packedtypes)
-target_link_libraries(library-cpp-packedtypes PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-streams-zc_memory_input
-)
-target_sources(library-cpp-packedtypes PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/packedtypes/longs.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/packedtypes/packedfloat.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/packers/CMakeLists.darwin.txt b/library/cpp/packers/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..5d2f57d1d9
--- /dev/null
+++ b/library/cpp/packers/CMakeLists.darwin.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(library-cpp-packers)
+target_link_libraries(library-cpp-packers PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-packers PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/packers/packers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/packers/proto_packer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/packers/region_packer.cpp
+)
diff --git a/library/cpp/packers/CMakeLists.linux-aarch64.txt b/library/cpp/packers/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..4112dc550b
--- /dev/null
+++ b/library/cpp/packers/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-packers)
+target_link_libraries(library-cpp-packers PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-packers PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/packers/packers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/packers/proto_packer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/packers/region_packer.cpp
+)
diff --git a/library/cpp/packers/CMakeLists.linux.txt b/library/cpp/packers/CMakeLists.linux.txt
new file mode 100644
index 0000000000..4112dc550b
--- /dev/null
+++ b/library/cpp/packers/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-packers)
+target_link_libraries(library-cpp-packers PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-packers PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/packers/packers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/packers/proto_packer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/packers/region_packer.cpp
+)
diff --git a/library/cpp/packers/CMakeLists.txt b/library/cpp/packers/CMakeLists.txt
index 5d2f57d1d9..3e0811fb22 100644
--- a/library/cpp/packers/CMakeLists.txt
+++ b/library/cpp/packers/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-packers)
-target_link_libraries(library-cpp-packers PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-packers PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/packers/packers.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/packers/proto_packer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/packers/region_packer.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/pop_count/CMakeLists.darwin.txt b/library/cpp/pop_count/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..f937f0c451
--- /dev/null
+++ b/library/cpp/pop_count/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(library-cpp-pop_count)
+target_link_libraries(library-cpp-pop_count PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-pop_count PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/pop_count/popcount.cpp
+)
diff --git a/library/cpp/pop_count/CMakeLists.linux-aarch64.txt b/library/cpp/pop_count/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..0d0e89caa6
--- /dev/null
+++ b/library/cpp/pop_count/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(library-cpp-pop_count)
+target_link_libraries(library-cpp-pop_count PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-pop_count PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/pop_count/popcount.cpp
+)
diff --git a/library/cpp/pop_count/CMakeLists.linux.txt b/library/cpp/pop_count/CMakeLists.linux.txt
new file mode 100644
index 0000000000..0d0e89caa6
--- /dev/null
+++ b/library/cpp/pop_count/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(library-cpp-pop_count)
+target_link_libraries(library-cpp-pop_count PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-pop_count PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/pop_count/popcount.cpp
+)
diff --git a/library/cpp/pop_count/CMakeLists.txt b/library/cpp/pop_count/CMakeLists.txt
index f937f0c451..3e0811fb22 100644
--- a/library/cpp/pop_count/CMakeLists.txt
+++ b/library/cpp/pop_count/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-pop_count)
-target_link_libraries(library-cpp-pop_count PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-pop_count PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/pop_count/popcount.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/presort/CMakeLists.darwin.txt b/library/cpp/presort/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..7fd3c07814
--- /dev/null
+++ b/library/cpp/presort/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(library-cpp-presort)
+target_link_libraries(library-cpp-presort PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-presort PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/presort/presort.cpp
+)
diff --git a/library/cpp/presort/CMakeLists.linux-aarch64.txt b/library/cpp/presort/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a0f22a5e08
--- /dev/null
+++ b/library/cpp/presort/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(library-cpp-presort)
+target_link_libraries(library-cpp-presort PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-presort PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/presort/presort.cpp
+)
diff --git a/library/cpp/presort/CMakeLists.linux.txt b/library/cpp/presort/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a0f22a5e08
--- /dev/null
+++ b/library/cpp/presort/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(library-cpp-presort)
+target_link_libraries(library-cpp-presort PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-presort PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/presort/presort.cpp
+)
diff --git a/library/cpp/presort/CMakeLists.txt b/library/cpp/presort/CMakeLists.txt
index 7fd3c07814..3e0811fb22 100644
--- a/library/cpp/presort/CMakeLists.txt
+++ b/library/cpp/presort/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-presort)
-target_link_libraries(library-cpp-presort PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-presort PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/presort/presort.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/protobuf/interop/CMakeLists.darwin.txt b/library/cpp/protobuf/interop/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..68f3fa1a61
--- /dev/null
+++ b/library/cpp/protobuf/interop/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-protobuf-interop)
+target_link_libraries(cpp-protobuf-interop PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_sources(cpp-protobuf-interop PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/interop/cast.cpp
+)
diff --git a/library/cpp/protobuf/interop/CMakeLists.linux-aarch64.txt b/library/cpp/protobuf/interop/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..10a446c976
--- /dev/null
+++ b/library/cpp/protobuf/interop/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-protobuf-interop)
+target_link_libraries(cpp-protobuf-interop PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_sources(cpp-protobuf-interop PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/interop/cast.cpp
+)
diff --git a/library/cpp/protobuf/interop/CMakeLists.linux.txt b/library/cpp/protobuf/interop/CMakeLists.linux.txt
new file mode 100644
index 0000000000..10a446c976
--- /dev/null
+++ b/library/cpp/protobuf/interop/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-protobuf-interop)
+target_link_libraries(cpp-protobuf-interop PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_sources(cpp-protobuf-interop PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/interop/cast.cpp
+)
diff --git a/library/cpp/protobuf/interop/CMakeLists.txt b/library/cpp/protobuf/interop/CMakeLists.txt
index 68f3fa1a61..3e0811fb22 100644
--- a/library/cpp/protobuf/interop/CMakeLists.txt
+++ b/library/cpp/protobuf/interop/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-protobuf-interop)
-target_link_libraries(cpp-protobuf-interop PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
-)
-target_sources(cpp-protobuf-interop PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/interop/cast.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/protobuf/json/CMakeLists.darwin.txt b/library/cpp/protobuf/json/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..3347433da2
--- /dev/null
+++ b/library/cpp/protobuf/json/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(cpp-protobuf-json)
+target_link_libraries(cpp-protobuf-json PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-json
+ cpp-protobuf-util
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(cpp-protobuf-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json2proto.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_output_create.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_value_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_writer_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/name_generator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/proto2json.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/proto2json_printer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/string_transform.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/util.cpp
+)
diff --git a/library/cpp/protobuf/json/CMakeLists.linux-aarch64.txt b/library/cpp/protobuf/json/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..8a790b5037
--- /dev/null
+++ b/library/cpp/protobuf/json/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.
+
+
+
+add_library(cpp-protobuf-json)
+target_link_libraries(cpp-protobuf-json PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-json
+ cpp-protobuf-util
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(cpp-protobuf-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json2proto.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_output_create.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_value_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_writer_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/name_generator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/proto2json.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/proto2json_printer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/string_transform.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/util.cpp
+)
diff --git a/library/cpp/protobuf/json/CMakeLists.linux.txt b/library/cpp/protobuf/json/CMakeLists.linux.txt
new file mode 100644
index 0000000000..8a790b5037
--- /dev/null
+++ b/library/cpp/protobuf/json/CMakeLists.linux.txt
@@ -0,0 +1,30 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-protobuf-json)
+target_link_libraries(cpp-protobuf-json PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-json
+ cpp-protobuf-util
+ cpp-string_utils-relaxed_escaper
+)
+target_sources(cpp-protobuf-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json2proto.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_output_create.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_value_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_writer_output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/name_generator.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/proto2json.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/proto2json_printer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/string_transform.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/util.cpp
+)
diff --git a/library/cpp/protobuf/json/CMakeLists.txt b/library/cpp/protobuf/json/CMakeLists.txt
index 3347433da2..3e0811fb22 100644
--- a/library/cpp/protobuf/json/CMakeLists.txt
+++ b/library/cpp/protobuf/json/CMakeLists.txt
@@ -6,24 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-protobuf-json)
-target_link_libraries(cpp-protobuf-json PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
- library-cpp-json
- cpp-protobuf-util
- cpp-string_utils-relaxed_escaper
-)
-target_sources(cpp-protobuf-json PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json2proto.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_output_create.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_value_output.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_writer_output.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/name_generator.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/proto2json.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/proto2json_printer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/string_transform.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/util.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/protobuf/util/CMakeLists.darwin.txt b/library/cpp/protobuf/util/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..d04f95d395
--- /dev/null
+++ b/library/cpp/protobuf/util/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_subdirectory(proto)
+
+add_library(cpp-protobuf-util)
+target_link_libraries(cpp-protobuf-util PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-binsaver
+ protobuf-util-proto
+ cpp-string_utils-base64
+)
+target_sources(cpp-protobuf-util PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/is_equal.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/merge.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/path.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/pb_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/simple_reflection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/walk.cpp
+)
diff --git a/library/cpp/protobuf/util/CMakeLists.linux-aarch64.txt b/library/cpp/protobuf/util/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..61dbcf6f16
--- /dev/null
+++ b/library/cpp/protobuf/util/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,28 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(proto)
+
+add_library(cpp-protobuf-util)
+target_link_libraries(cpp-protobuf-util PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-binsaver
+ protobuf-util-proto
+ cpp-string_utils-base64
+)
+target_sources(cpp-protobuf-util PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/is_equal.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/merge.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/path.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/pb_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/simple_reflection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/walk.cpp
+)
diff --git a/library/cpp/protobuf/util/CMakeLists.linux.txt b/library/cpp/protobuf/util/CMakeLists.linux.txt
new file mode 100644
index 0000000000..61dbcf6f16
--- /dev/null
+++ b/library/cpp/protobuf/util/CMakeLists.linux.txt
@@ -0,0 +1,28 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(proto)
+
+add_library(cpp-protobuf-util)
+target_link_libraries(cpp-protobuf-util PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-binsaver
+ protobuf-util-proto
+ cpp-string_utils-base64
+)
+target_sources(cpp-protobuf-util PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/is_equal.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/merge.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/path.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/pb_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/simple_reflection.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/walk.cpp
+)
diff --git a/library/cpp/protobuf/util/CMakeLists.txt b/library/cpp/protobuf/util/CMakeLists.txt
index d04f95d395..3e0811fb22 100644
--- a/library/cpp/protobuf/util/CMakeLists.txt
+++ b/library/cpp/protobuf/util/CMakeLists.txt
@@ -6,22 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(proto)
-
-add_library(cpp-protobuf-util)
-target_link_libraries(cpp-protobuf-util PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
- library-cpp-binsaver
- protobuf-util-proto
- cpp-string_utils-base64
-)
-target_sources(cpp-protobuf-util PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/is_equal.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/merge.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/path.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/pb_io.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/simple_reflection.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/walk.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/protobuf/util/proto/CMakeLists.darwin.txt b/library/cpp/protobuf/util/proto/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..df5df0af1a
--- /dev/null
+++ b/library/cpp/protobuf/util/proto/CMakeLists.darwin.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(protobuf-util-proto)
+target_link_libraries(protobuf-util-proto PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(protobuf-util-proto PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/proto/merge.proto
+)
+target_proto_addincls(protobuf-util-proto
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(protobuf-util-proto
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/protobuf/util/proto/CMakeLists.linux-aarch64.txt b/library/cpp/protobuf/util/proto/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..23c7bcedd7
--- /dev/null
+++ b/library/cpp/protobuf/util/proto/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(protobuf-util-proto)
+target_link_libraries(protobuf-util-proto PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(protobuf-util-proto PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/proto/merge.proto
+)
+target_proto_addincls(protobuf-util-proto
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(protobuf-util-proto
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/protobuf/util/proto/CMakeLists.linux.txt b/library/cpp/protobuf/util/proto/CMakeLists.linux.txt
new file mode 100644
index 0000000000..23c7bcedd7
--- /dev/null
+++ b/library/cpp/protobuf/util/proto/CMakeLists.linux.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(protobuf-util-proto)
+target_link_libraries(protobuf-util-proto PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(protobuf-util-proto PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/proto/merge.proto
+)
+target_proto_addincls(protobuf-util-proto
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(protobuf-util-proto
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/protobuf/util/proto/CMakeLists.txt b/library/cpp/protobuf/util/proto/CMakeLists.txt
index df5df0af1a..3e0811fb22 100644
--- a/library/cpp/protobuf/util/proto/CMakeLists.txt
+++ b/library/cpp/protobuf/util/proto/CMakeLists.txt
@@ -6,26 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(protobuf-util-proto)
-target_link_libraries(protobuf-util-proto PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
-)
-target_proto_messages(protobuf-util-proto PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/proto/merge.proto
-)
-target_proto_addincls(protobuf-util-proto
- ./
- ${CMAKE_SOURCE_DIR}/
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(protobuf-util-proto
- --cpp_out=${CMAKE_BINARY_DIR}/
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
-)
+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/random_provider/CMakeLists.darwin.txt b/library/cpp/random_provider/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..992d03e744
--- /dev/null
+++ b/library/cpp/random_provider/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(library-cpp-random_provider)
+target_link_libraries(library-cpp-random_provider PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-random_provider PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/random_provider/random_provider.cpp
+)
diff --git a/library/cpp/random_provider/CMakeLists.linux-aarch64.txt b/library/cpp/random_provider/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..66268642ce
--- /dev/null
+++ b/library/cpp/random_provider/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(library-cpp-random_provider)
+target_link_libraries(library-cpp-random_provider PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-random_provider PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/random_provider/random_provider.cpp
+)
diff --git a/library/cpp/random_provider/CMakeLists.linux.txt b/library/cpp/random_provider/CMakeLists.linux.txt
new file mode 100644
index 0000000000..66268642ce
--- /dev/null
+++ b/library/cpp/random_provider/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(library-cpp-random_provider)
+target_link_libraries(library-cpp-random_provider PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-random_provider PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/random_provider/random_provider.cpp
+)
diff --git a/library/cpp/random_provider/CMakeLists.txt b/library/cpp/random_provider/CMakeLists.txt
index 992d03e744..3e0811fb22 100644
--- a/library/cpp/random_provider/CMakeLists.txt
+++ b/library/cpp/random_provider/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-random_provider)
-target_link_libraries(library-cpp-random_provider PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-random_provider PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/random_provider/random_provider.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/regex/hyperscan/CMakeLists.linux.txt b/library/cpp/regex/hyperscan/CMakeLists.linux.txt
index 9339884699..74899bfc59 100644
--- a/library/cpp/regex/hyperscan/CMakeLists.linux.txt
+++ b/library/cpp/regex/hyperscan/CMakeLists.linux.txt
@@ -9,6 +9,7 @@
add_library(cpp-regex-hyperscan)
target_link_libraries(cpp-regex-hyperscan PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
contrib-libs-hyperscan
diff --git a/library/cpp/regex/pcre/CMakeLists.darwin.txt b/library/cpp/regex/pcre/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..c76309a35c
--- /dev/null
+++ b/library/cpp/regex/pcre/CMakeLists.darwin.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-regex-pcre)
+target_link_libraries(cpp-regex-pcre PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-pcre
+ libs-pcre-pcre16
+ libs-pcre-pcre32
+ cpp-containers-stack_array
+)
+target_sources(cpp-regex-pcre PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/regex/pcre/pcre.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/regex/pcre/regexp.cpp
+)
diff --git a/library/cpp/regex/pcre/CMakeLists.linux-aarch64.txt b/library/cpp/regex/pcre/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a74cc27768
--- /dev/null
+++ b/library/cpp/regex/pcre/CMakeLists.linux-aarch64.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-regex-pcre)
+target_link_libraries(cpp-regex-pcre PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-pcre
+ libs-pcre-pcre16
+ libs-pcre-pcre32
+ cpp-containers-stack_array
+)
+target_sources(cpp-regex-pcre PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/regex/pcre/pcre.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/regex/pcre/regexp.cpp
+)
diff --git a/library/cpp/regex/pcre/CMakeLists.linux.txt b/library/cpp/regex/pcre/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a74cc27768
--- /dev/null
+++ b/library/cpp/regex/pcre/CMakeLists.linux.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-regex-pcre)
+target_link_libraries(cpp-regex-pcre PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-pcre
+ libs-pcre-pcre16
+ libs-pcre-pcre32
+ cpp-containers-stack_array
+)
+target_sources(cpp-regex-pcre PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/regex/pcre/pcre.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/regex/pcre/regexp.cpp
+)
diff --git a/library/cpp/regex/pcre/CMakeLists.txt b/library/cpp/regex/pcre/CMakeLists.txt
index c76309a35c..3e0811fb22 100644
--- a/library/cpp/regex/pcre/CMakeLists.txt
+++ b/library/cpp/regex/pcre/CMakeLists.txt
@@ -6,17 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-regex-pcre)
-target_link_libraries(cpp-regex-pcre PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-pcre
- libs-pcre-pcre16
- libs-pcre-pcre32
- cpp-containers-stack_array
-)
-target_sources(cpp-regex-pcre PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/regex/pcre/pcre.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/regex/pcre/regexp.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/regex/pire/CMakeLists.darwin.txt b/library/cpp/regex/pire/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..2f9b8ee517
--- /dev/null
+++ b/library/cpp/regex/pire/CMakeLists.darwin.txt
@@ -0,0 +1,42 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-regex-pire)
+target_compile_options(cpp-regex-pire PRIVATE
+ -DPIRE_NO_CONFIG
+)
+target_include_directories(cpp-regex-pire PUBLIC
+ ${CMAKE_BINARY_DIR}/library/cpp/regex/pire/__/__/__/__/contrib/libs/pire/pire
+)
+target_link_libraries(cpp-regex-pire PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-charset
+)
+target_sources(cpp-regex-pire PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/regex/pire/pcre2pire.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/classes.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/encoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/fsm.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/scanner_io.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/easy.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/scanners/null.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/capture.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/count.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/glyphs.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/re_lexer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/read_unicode.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/regex/pire/extraencodings.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/approx_matching.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/half_final_fsm.cpp
+)
+target_bison_parser(cpp-regex-pire
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/re_parser.y
+)
diff --git a/library/cpp/regex/pire/CMakeLists.linux-aarch64.txt b/library/cpp/regex/pire/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..5541f65fcd
--- /dev/null
+++ b/library/cpp/regex/pire/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,43 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-regex-pire)
+target_compile_options(cpp-regex-pire PRIVATE
+ -DPIRE_NO_CONFIG
+)
+target_include_directories(cpp-regex-pire PUBLIC
+ ${CMAKE_BINARY_DIR}/library/cpp/regex/pire/__/__/__/__/contrib/libs/pire/pire
+)
+target_link_libraries(cpp-regex-pire PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-charset
+)
+target_sources(cpp-regex-pire PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/regex/pire/pcre2pire.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/classes.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/encoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/fsm.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/scanner_io.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/easy.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/scanners/null.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/capture.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/count.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/glyphs.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/re_lexer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/read_unicode.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/regex/pire/extraencodings.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/approx_matching.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/half_final_fsm.cpp
+)
+target_bison_parser(cpp-regex-pire
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/re_parser.y
+)
diff --git a/library/cpp/regex/pire/CMakeLists.linux.txt b/library/cpp/regex/pire/CMakeLists.linux.txt
new file mode 100644
index 0000000000..5541f65fcd
--- /dev/null
+++ b/library/cpp/regex/pire/CMakeLists.linux.txt
@@ -0,0 +1,43 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-regex-pire)
+target_compile_options(cpp-regex-pire PRIVATE
+ -DPIRE_NO_CONFIG
+)
+target_include_directories(cpp-regex-pire PUBLIC
+ ${CMAKE_BINARY_DIR}/library/cpp/regex/pire/__/__/__/__/contrib/libs/pire/pire
+)
+target_link_libraries(cpp-regex-pire PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-charset
+)
+target_sources(cpp-regex-pire PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/regex/pire/pcre2pire.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/classes.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/encoding.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/fsm.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/scanner_io.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/easy.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/scanners/null.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/capture.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/count.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/glyphs.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/re_lexer.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/read_unicode.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/regex/pire/extraencodings.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/approx_matching.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/half_final_fsm.cpp
+)
+target_bison_parser(cpp-regex-pire
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/re_parser.y
+)
diff --git a/library/cpp/regex/pire/CMakeLists.txt b/library/cpp/regex/pire/CMakeLists.txt
index 2f9b8ee517..3e0811fb22 100644
--- a/library/cpp/regex/pire/CMakeLists.txt
+++ b/library/cpp/regex/pire/CMakeLists.txt
@@ -6,37 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-regex-pire)
-target_compile_options(cpp-regex-pire PRIVATE
- -DPIRE_NO_CONFIG
-)
-target_include_directories(cpp-regex-pire PUBLIC
- ${CMAKE_BINARY_DIR}/library/cpp/regex/pire/__/__/__/__/contrib/libs/pire/pire
-)
-target_link_libraries(cpp-regex-pire PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-charset
-)
-target_sources(cpp-regex-pire PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/regex/pire/pcre2pire.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/classes.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/encoding.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/fsm.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/scanner_io.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/easy.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/scanners/null.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/capture.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/count.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/glyphs.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/re_lexer.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/read_unicode.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/regex/pire/extraencodings.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/approx_matching.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/half_final_fsm.cpp
-)
-target_bison_parser(cpp-regex-pire
- PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/re_parser.y
-)
+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/resource/CMakeLists.darwin.txt b/library/cpp/resource/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..8946711fef
--- /dev/null
+++ b/library/cpp/resource/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-resource)
+target_link_libraries(library-cpp-resource PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-blockcodecs-core
+ blockcodecs-codecs-zstd
+)
+target_sources(library-cpp-resource PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/resource/registry.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/resource/resource.cpp
+)
diff --git a/library/cpp/resource/CMakeLists.linux-aarch64.txt b/library/cpp/resource/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..7a232c1f61
--- /dev/null
+++ b/library/cpp/resource/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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(library-cpp-resource)
+target_link_libraries(library-cpp-resource PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-blockcodecs-core
+ blockcodecs-codecs-zstd
+)
+target_sources(library-cpp-resource PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/resource/registry.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/resource/resource.cpp
+)
diff --git a/library/cpp/resource/CMakeLists.linux.txt b/library/cpp/resource/CMakeLists.linux.txt
new file mode 100644
index 0000000000..7a232c1f61
--- /dev/null
+++ b/library/cpp/resource/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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(library-cpp-resource)
+target_link_libraries(library-cpp-resource PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-blockcodecs-core
+ blockcodecs-codecs-zstd
+)
+target_sources(library-cpp-resource PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/resource/registry.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/resource/resource.cpp
+)
diff --git a/library/cpp/resource/CMakeLists.txt b/library/cpp/resource/CMakeLists.txt
index 8946711fef..3e0811fb22 100644
--- a/library/cpp/resource/CMakeLists.txt
+++ b/library/cpp/resource/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-resource)
-target_link_libraries(library-cpp-resource PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-blockcodecs-core
- blockcodecs-codecs-zstd
-)
-target_sources(library-cpp-resource PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/resource/registry.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/resource/resource.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/retry/CMakeLists.darwin.txt b/library/cpp/retry/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..3868f3975e
--- /dev/null
+++ b/library/cpp/retry/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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(protos)
+
+add_library(library-cpp-retry)
+target_link_libraries(library-cpp-retry PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-retry-protos
+)
+target_sources(library-cpp-retry PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/retry/retry.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/retry/utils.cpp
+)
diff --git a/library/cpp/retry/CMakeLists.linux-aarch64.txt b/library/cpp/retry/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..f6e573989a
--- /dev/null
+++ b/library/cpp/retry/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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(protos)
+
+add_library(library-cpp-retry)
+target_link_libraries(library-cpp-retry PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-retry-protos
+)
+target_sources(library-cpp-retry PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/retry/retry.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/retry/utils.cpp
+)
diff --git a/library/cpp/retry/CMakeLists.linux.txt b/library/cpp/retry/CMakeLists.linux.txt
new file mode 100644
index 0000000000..f6e573989a
--- /dev/null
+++ b/library/cpp/retry/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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(protos)
+
+add_library(library-cpp-retry)
+target_link_libraries(library-cpp-retry PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-retry-protos
+)
+target_sources(library-cpp-retry PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/retry/retry.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/retry/utils.cpp
+)
diff --git a/library/cpp/retry/CMakeLists.txt b/library/cpp/retry/CMakeLists.txt
index 3868f3975e..3e0811fb22 100644
--- a/library/cpp/retry/CMakeLists.txt
+++ b/library/cpp/retry/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(protos)
-
-add_library(library-cpp-retry)
-target_link_libraries(library-cpp-retry PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-retry-protos
-)
-target_sources(library-cpp-retry PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/retry/retry.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/retry/utils.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/retry/protos/CMakeLists.darwin.txt b/library/cpp/retry/protos/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..13969805cd
--- /dev/null
+++ b/library/cpp/retry/protos/CMakeLists.darwin.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(cpp-retry-protos)
+target_link_libraries(cpp-retry-protos PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-retry-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/retry/protos/retry_options.proto
+)
+target_proto_addincls(cpp-retry-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-retry-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/retry/protos/CMakeLists.linux-aarch64.txt b/library/cpp/retry/protos/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..f80cbc6ac2
--- /dev/null
+++ b/library/cpp/retry/protos/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-retry-protos)
+target_link_libraries(cpp-retry-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-retry-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/retry/protos/retry_options.proto
+)
+target_proto_addincls(cpp-retry-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-retry-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/retry/protos/CMakeLists.linux.txt b/library/cpp/retry/protos/CMakeLists.linux.txt
new file mode 100644
index 0000000000..f80cbc6ac2
--- /dev/null
+++ b/library/cpp/retry/protos/CMakeLists.linux.txt
@@ -0,0 +1,32 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-retry-protos)
+target_link_libraries(cpp-retry-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-retry-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/retry/protos/retry_options.proto
+)
+target_proto_addincls(cpp-retry-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-retry-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/retry/protos/CMakeLists.txt b/library/cpp/retry/protos/CMakeLists.txt
index 13969805cd..3e0811fb22 100644
--- a/library/cpp/retry/protos/CMakeLists.txt
+++ b/library/cpp/retry/protos/CMakeLists.txt
@@ -6,26 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-retry-protos)
-target_link_libraries(cpp-retry-protos PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
-)
-target_proto_messages(cpp-retry-protos PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/retry/protos/retry_options.proto
-)
-target_proto_addincls(cpp-retry-protos
- ./
- ${CMAKE_SOURCE_DIR}/
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(cpp-retry-protos
- --cpp_out=${CMAKE_BINARY_DIR}/
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
-)
+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/scheme/CMakeLists.darwin.txt b/library/cpp/scheme/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..7670330619
--- /dev/null
+++ b/library/cpp/scheme/CMakeLists.darwin.txt
@@ -0,0 +1,35 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-scheme)
+target_link_libraries(library-cpp-scheme PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-json
+ cpp-string_utils-relaxed_escaper
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(library-cpp-scheme PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scheme.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_private.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_protobuf.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_json_read.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_json_write.cpp
+)
+generate_enum_serilization(library-cpp-scheme
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scheme.h
+ INCLUDE_HEADERS
+ library/cpp/scheme/scheme.h
+)
+target_ragel_lexers(library-cpp-scheme
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_select.rl6
+ -CG2
+)
diff --git a/library/cpp/scheme/CMakeLists.linux-aarch64.txt b/library/cpp/scheme/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..bc986d2879
--- /dev/null
+++ b/library/cpp/scheme/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,36 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-scheme)
+target_link_libraries(library-cpp-scheme PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-json
+ cpp-string_utils-relaxed_escaper
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(library-cpp-scheme PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scheme.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_private.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_protobuf.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_json_read.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_json_write.cpp
+)
+generate_enum_serilization(library-cpp-scheme
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scheme.h
+ INCLUDE_HEADERS
+ library/cpp/scheme/scheme.h
+)
+target_ragel_lexers(library-cpp-scheme
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_select.rl6
+ -CG2
+)
diff --git a/library/cpp/scheme/CMakeLists.linux.txt b/library/cpp/scheme/CMakeLists.linux.txt
new file mode 100644
index 0000000000..bc986d2879
--- /dev/null
+++ b/library/cpp/scheme/CMakeLists.linux.txt
@@ -0,0 +1,36 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-scheme)
+target_link_libraries(library-cpp-scheme PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+ library-cpp-json
+ cpp-string_utils-relaxed_escaper
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(library-cpp-scheme PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scheme.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_private.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_protobuf.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_json_read.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_json_write.cpp
+)
+generate_enum_serilization(library-cpp-scheme
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scheme.h
+ INCLUDE_HEADERS
+ library/cpp/scheme/scheme.h
+)
+target_ragel_lexers(library-cpp-scheme
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_select.rl6
+ -CG2
+)
diff --git a/library/cpp/scheme/CMakeLists.txt b/library/cpp/scheme/CMakeLists.txt
index 7670330619..3e0811fb22 100644
--- a/library/cpp/scheme/CMakeLists.txt
+++ b/library/cpp/scheme/CMakeLists.txt
@@ -6,30 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-scheme)
-target_link_libraries(library-cpp-scheme PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
- library-cpp-json
- cpp-string_utils-relaxed_escaper
- tools-enum_parser-enum_serialization_runtime
-)
-target_sources(library-cpp-scheme PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scheme.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_private.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_protobuf.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_json_read.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_json_write.cpp
-)
-generate_enum_serilization(library-cpp-scheme
- ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scheme.h
- INCLUDE_HEADERS
- library/cpp/scheme/scheme.h
-)
-target_ragel_lexers(library-cpp-scheme
- PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/scheme/scimpl_select.rl6
- -CG2
-)
+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/sighandler/CMakeLists.darwin.txt b/library/cpp/sighandler/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..c22cdd747b
--- /dev/null
+++ b/library/cpp/sighandler/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(library-cpp-sighandler)
+target_link_libraries(library-cpp-sighandler PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-sighandler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/sighandler/async_signals_handler.cpp
+)
diff --git a/library/cpp/sighandler/CMakeLists.linux-aarch64.txt b/library/cpp/sighandler/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..75c22cf1b6
--- /dev/null
+++ b/library/cpp/sighandler/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(library-cpp-sighandler)
+target_link_libraries(library-cpp-sighandler PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-sighandler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/sighandler/async_signals_handler.cpp
+)
diff --git a/library/cpp/sighandler/CMakeLists.linux.txt b/library/cpp/sighandler/CMakeLists.linux.txt
new file mode 100644
index 0000000000..75c22cf1b6
--- /dev/null
+++ b/library/cpp/sighandler/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(library-cpp-sighandler)
+target_link_libraries(library-cpp-sighandler PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-sighandler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/sighandler/async_signals_handler.cpp
+)
diff --git a/library/cpp/sighandler/CMakeLists.txt b/library/cpp/sighandler/CMakeLists.txt
index c22cdd747b..3e0811fb22 100644
--- a/library/cpp/sighandler/CMakeLists.txt
+++ b/library/cpp/sighandler/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-sighandler)
-target_link_libraries(library-cpp-sighandler PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
-)
-target_sources(library-cpp-sighandler PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/sighandler/async_signals_handler.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/sliding_window/CMakeLists.darwin.txt b/library/cpp/sliding_window/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..36b314785d
--- /dev/null
+++ b/library/cpp/sliding_window/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(library-cpp-sliding_window)
+target_link_libraries(library-cpp-sliding_window PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-sliding_window PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/sliding_window/sliding_window.cpp
+)
diff --git a/library/cpp/sliding_window/CMakeLists.linux-aarch64.txt b/library/cpp/sliding_window/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..0426d6128b
--- /dev/null
+++ b/library/cpp/sliding_window/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(library-cpp-sliding_window)
+target_link_libraries(library-cpp-sliding_window PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-sliding_window PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/sliding_window/sliding_window.cpp
+)
diff --git a/library/cpp/sliding_window/CMakeLists.linux.txt b/library/cpp/sliding_window/CMakeLists.linux.txt
new file mode 100644
index 0000000000..0426d6128b
--- /dev/null
+++ b/library/cpp/sliding_window/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(library-cpp-sliding_window)
+target_link_libraries(library-cpp-sliding_window PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-sliding_window PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/sliding_window/sliding_window.cpp
+)
diff --git a/library/cpp/sliding_window/CMakeLists.txt b/library/cpp/sliding_window/CMakeLists.txt
index 36b314785d..3e0811fb22 100644
--- a/library/cpp/sliding_window/CMakeLists.txt
+++ b/library/cpp/sliding_window/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-sliding_window)
-target_link_libraries(library-cpp-sliding_window PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-sliding_window PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/sliding_window/sliding_window.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/sse/CMakeLists.darwin.txt b/library/cpp/sse/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..b214735b32
--- /dev/null
+++ b/library/cpp/sse/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(library-cpp-sse)
+target_link_libraries(library-cpp-sse PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-sse PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/sse/sse.cpp
+)
diff --git a/library/cpp/sse/CMakeLists.linux-aarch64.txt b/library/cpp/sse/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..d6ec3a8f30
--- /dev/null
+++ b/library/cpp/sse/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(library-cpp-sse)
+target_link_libraries(library-cpp-sse PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-sse PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/sse/sse.cpp
+)
diff --git a/library/cpp/sse/CMakeLists.linux.txt b/library/cpp/sse/CMakeLists.linux.txt
new file mode 100644
index 0000000000..d6ec3a8f30
--- /dev/null
+++ b/library/cpp/sse/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(library-cpp-sse)
+target_link_libraries(library-cpp-sse PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-sse PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/sse/sse.cpp
+)
diff --git a/library/cpp/sse/CMakeLists.txt b/library/cpp/sse/CMakeLists.txt
index b214735b32..3e0811fb22 100644
--- a/library/cpp/sse/CMakeLists.txt
+++ b/library/cpp/sse/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-sse)
-target_link_libraries(library-cpp-sse PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-sse PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/sse/sse.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/streams/brotli/CMakeLists.darwin.txt b/library/cpp/streams/brotli/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..cede8674f9
--- /dev/null
+++ b/library/cpp/streams/brotli/CMakeLists.darwin.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-streams-brotli)
+target_link_libraries(cpp-streams-brotli PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ libs-brotli-enc
+ libs-brotli-dec
+)
+target_sources(cpp-streams-brotli PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/brotli/brotli.cpp
+)
diff --git a/library/cpp/streams/brotli/CMakeLists.linux-aarch64.txt b/library/cpp/streams/brotli/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..819009f787
--- /dev/null
+++ b/library/cpp/streams/brotli/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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-streams-brotli)
+target_link_libraries(cpp-streams-brotli PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ libs-brotli-enc
+ libs-brotli-dec
+)
+target_sources(cpp-streams-brotli PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/brotli/brotli.cpp
+)
diff --git a/library/cpp/streams/brotli/CMakeLists.linux.txt b/library/cpp/streams/brotli/CMakeLists.linux.txt
new file mode 100644
index 0000000000..819009f787
--- /dev/null
+++ b/library/cpp/streams/brotli/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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-streams-brotli)
+target_link_libraries(cpp-streams-brotli PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ libs-brotli-enc
+ libs-brotli-dec
+)
+target_sources(cpp-streams-brotli PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/brotli/brotli.cpp
+)
diff --git a/library/cpp/streams/brotli/CMakeLists.txt b/library/cpp/streams/brotli/CMakeLists.txt
index cede8674f9..3e0811fb22 100644
--- a/library/cpp/streams/brotli/CMakeLists.txt
+++ b/library/cpp/streams/brotli/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-streams-brotli)
-target_link_libraries(cpp-streams-brotli PUBLIC
- contrib-libs-cxxsupp
- yutil
- libs-brotli-enc
- libs-brotli-dec
-)
-target_sources(cpp-streams-brotli PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/streams/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/streams/bzip2/CMakeLists.darwin.txt b/library/cpp/streams/bzip2/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..ff65800e02
--- /dev/null
+++ b/library/cpp/streams/bzip2/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-streams-bzip2)
+target_link_libraries(cpp-streams-bzip2 PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libbz2
+)
+target_sources(cpp-streams-bzip2 PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/bzip2/bzip2.cpp
+)
diff --git a/library/cpp/streams/bzip2/CMakeLists.linux-aarch64.txt b/library/cpp/streams/bzip2/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..3ecb64fe87
--- /dev/null
+++ b/library/cpp/streams/bzip2/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-streams-bzip2)
+target_link_libraries(cpp-streams-bzip2 PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libbz2
+)
+target_sources(cpp-streams-bzip2 PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/bzip2/bzip2.cpp
+)
diff --git a/library/cpp/streams/bzip2/CMakeLists.linux.txt b/library/cpp/streams/bzip2/CMakeLists.linux.txt
new file mode 100644
index 0000000000..3ecb64fe87
--- /dev/null
+++ b/library/cpp/streams/bzip2/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-streams-bzip2)
+target_link_libraries(cpp-streams-bzip2 PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libbz2
+)
+target_sources(cpp-streams-bzip2 PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/bzip2/bzip2.cpp
+)
diff --git a/library/cpp/streams/bzip2/CMakeLists.txt b/library/cpp/streams/bzip2/CMakeLists.txt
index ff65800e02..3e0811fb22 100644
--- a/library/cpp/streams/bzip2/CMakeLists.txt
+++ b/library/cpp/streams/bzip2/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-streams-bzip2)
-target_link_libraries(cpp-streams-bzip2 PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-libbz2
-)
-target_sources(cpp-streams-bzip2 PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/streams/bzip2/bzip2.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/streams/lzma/CMakeLists.darwin.txt b/library/cpp/streams/lzma/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..ad637c4c49
--- /dev/null
+++ b/library/cpp/streams/lzma/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-streams-lzma)
+target_link_libraries(cpp-streams-lzma PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lzmasdk
+)
+target_sources(cpp-streams-lzma PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/lzma/lzma.cpp
+)
diff --git a/library/cpp/streams/lzma/CMakeLists.linux-aarch64.txt b/library/cpp/streams/lzma/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ca79fb0dd9
--- /dev/null
+++ b/library/cpp/streams/lzma/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-streams-lzma)
+target_link_libraries(cpp-streams-lzma PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lzmasdk
+)
+target_sources(cpp-streams-lzma PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/lzma/lzma.cpp
+)
diff --git a/library/cpp/streams/lzma/CMakeLists.linux.txt b/library/cpp/streams/lzma/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ca79fb0dd9
--- /dev/null
+++ b/library/cpp/streams/lzma/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-streams-lzma)
+target_link_libraries(cpp-streams-lzma PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lzmasdk
+)
+target_sources(cpp-streams-lzma PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/lzma/lzma.cpp
+)
diff --git a/library/cpp/streams/lzma/CMakeLists.txt b/library/cpp/streams/lzma/CMakeLists.txt
index ad637c4c49..3e0811fb22 100644
--- a/library/cpp/streams/lzma/CMakeLists.txt
+++ b/library/cpp/streams/lzma/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-streams-lzma)
-target_link_libraries(cpp-streams-lzma PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-lzmasdk
-)
-target_sources(cpp-streams-lzma PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/streams/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/streams/zc_memory_input/CMakeLists.darwin.txt b/library/cpp/streams/zc_memory_input/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..deaf51d0b2
--- /dev/null
+++ b/library/cpp/streams/zc_memory_input/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-streams-zc_memory_input)
+target_link_libraries(cpp-streams-zc_memory_input PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-streams-zc_memory_input PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/zc_memory_input/zc_memory_input.cpp
+)
diff --git a/library/cpp/streams/zc_memory_input/CMakeLists.linux-aarch64.txt b/library/cpp/streams/zc_memory_input/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b7ef431596
--- /dev/null
+++ b/library/cpp/streams/zc_memory_input/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-streams-zc_memory_input)
+target_link_libraries(cpp-streams-zc_memory_input PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-streams-zc_memory_input PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/zc_memory_input/zc_memory_input.cpp
+)
diff --git a/library/cpp/streams/zc_memory_input/CMakeLists.linux.txt b/library/cpp/streams/zc_memory_input/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b7ef431596
--- /dev/null
+++ b/library/cpp/streams/zc_memory_input/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-streams-zc_memory_input)
+target_link_libraries(cpp-streams-zc_memory_input PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-streams-zc_memory_input PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/zc_memory_input/zc_memory_input.cpp
+)
diff --git a/library/cpp/streams/zc_memory_input/CMakeLists.txt b/library/cpp/streams/zc_memory_input/CMakeLists.txt
index deaf51d0b2..3e0811fb22 100644
--- a/library/cpp/streams/zc_memory_input/CMakeLists.txt
+++ b/library/cpp/streams/zc_memory_input/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-streams-zc_memory_input)
-target_link_libraries(cpp-streams-zc_memory_input PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-streams-zc_memory_input PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/streams/zc_memory_input/zc_memory_input.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/streams/zstd/CMakeLists.darwin.txt b/library/cpp/streams/zstd/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..97734ca70f
--- /dev/null
+++ b/library/cpp/streams/zstd/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-streams-zstd)
+target_link_libraries(cpp-streams-zstd PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd
+)
+target_sources(cpp-streams-zstd PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/zstd/zstd.cpp
+)
diff --git a/library/cpp/streams/zstd/CMakeLists.linux-aarch64.txt b/library/cpp/streams/zstd/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..787c5e54c7
--- /dev/null
+++ b/library/cpp/streams/zstd/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-streams-zstd)
+target_link_libraries(cpp-streams-zstd PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd
+)
+target_sources(cpp-streams-zstd PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/zstd/zstd.cpp
+)
diff --git a/library/cpp/streams/zstd/CMakeLists.linux.txt b/library/cpp/streams/zstd/CMakeLists.linux.txt
new file mode 100644
index 0000000000..787c5e54c7
--- /dev/null
+++ b/library/cpp/streams/zstd/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-streams-zstd)
+target_link_libraries(cpp-streams-zstd PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-zstd
+)
+target_sources(cpp-streams-zstd PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/streams/zstd/zstd.cpp
+)
diff --git a/library/cpp/streams/zstd/CMakeLists.txt b/library/cpp/streams/zstd/CMakeLists.txt
index 97734ca70f..3e0811fb22 100644
--- a/library/cpp/streams/zstd/CMakeLists.txt
+++ b/library/cpp/streams/zstd/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-streams-zstd)
-target_link_libraries(cpp-streams-zstd PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-zstd
-)
-target_sources(cpp-streams-zstd PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/streams/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/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()
diff --git a/library/cpp/svnversion/CMakeLists.darwin.txt b/library/cpp/svnversion/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..ddc5aa9740
--- /dev/null
+++ b/library/cpp/svnversion/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(library-cpp-svnversion)
+target_link_libraries(library-cpp-svnversion PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-svnversion PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/svnversion/svnversion.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/svnversion/svn_interface.c
+)
diff --git a/library/cpp/svnversion/CMakeLists.linux-aarch64.txt b/library/cpp/svnversion/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..7af252fd05
--- /dev/null
+++ b/library/cpp/svnversion/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(library-cpp-svnversion)
+target_link_libraries(library-cpp-svnversion PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-svnversion PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/svnversion/svnversion.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/svnversion/svn_interface.c
+)
diff --git a/library/cpp/svnversion/CMakeLists.linux.txt b/library/cpp/svnversion/CMakeLists.linux.txt
new file mode 100644
index 0000000000..7af252fd05
--- /dev/null
+++ b/library/cpp/svnversion/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(library-cpp-svnversion)
+target_link_libraries(library-cpp-svnversion PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-svnversion PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/svnversion/svnversion.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/svnversion/svn_interface.c
+)
diff --git a/library/cpp/svnversion/CMakeLists.txt b/library/cpp/svnversion/CMakeLists.txt
index ddc5aa9740..3e0811fb22 100644
--- a/library/cpp/svnversion/CMakeLists.txt
+++ b/library/cpp/svnversion/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-svnversion)
-target_link_libraries(library-cpp-svnversion PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-svnversion PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/svnversion/svnversion.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/svnversion/svn_interface.c
-)
+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/tdigest/CMakeLists.darwin.txt b/library/cpp/tdigest/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..79eb2709d9
--- /dev/null
+++ b/library/cpp/tdigest/CMakeLists.darwin.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-tdigest)
+target_link_libraries(library-cpp-tdigest PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(library-cpp-tdigest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/tdigest/tdigest.proto
+)
+target_sources(library-cpp-tdigest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/tdigest/tdigest.cpp
+)
+target_proto_addincls(library-cpp-tdigest
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(library-cpp-tdigest
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/tdigest/CMakeLists.linux-aarch64.txt b/library/cpp/tdigest/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..e656397f6a
--- /dev/null
+++ b/library/cpp/tdigest/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,35 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-tdigest)
+target_link_libraries(library-cpp-tdigest PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(library-cpp-tdigest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/tdigest/tdigest.proto
+)
+target_sources(library-cpp-tdigest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/tdigest/tdigest.cpp
+)
+target_proto_addincls(library-cpp-tdigest
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(library-cpp-tdigest
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/tdigest/CMakeLists.linux.txt b/library/cpp/tdigest/CMakeLists.linux.txt
new file mode 100644
index 0000000000..e656397f6a
--- /dev/null
+++ b/library/cpp/tdigest/CMakeLists.linux.txt
@@ -0,0 +1,35 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-tdigest)
+target_link_libraries(library-cpp-tdigest PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(library-cpp-tdigest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/tdigest/tdigest.proto
+)
+target_sources(library-cpp-tdigest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/tdigest/tdigest.cpp
+)
+target_proto_addincls(library-cpp-tdigest
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(library-cpp-tdigest
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/tdigest/CMakeLists.txt b/library/cpp/tdigest/CMakeLists.txt
index 79eb2709d9..3e0811fb22 100644
--- a/library/cpp/tdigest/CMakeLists.txt
+++ b/library/cpp/tdigest/CMakeLists.txt
@@ -6,29 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-tdigest)
-target_link_libraries(library-cpp-tdigest PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
-)
-target_proto_messages(library-cpp-tdigest PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/tdigest/tdigest.proto
-)
-target_sources(library-cpp-tdigest PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/tdigest/tdigest.cpp
-)
-target_proto_addincls(library-cpp-tdigest
- ./
- ${CMAKE_SOURCE_DIR}/
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(library-cpp-tdigest
- --cpp_out=${CMAKE_BINARY_DIR}/
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
-)
+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/terminate_handler/CMakeLists.darwin.txt b/library/cpp/terminate_handler/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..5bc454cb1d
--- /dev/null
+++ b/library/cpp/terminate_handler/CMakeLists.darwin.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-terminate_handler)
+target_link_libraries(library-cpp-terminate_handler PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-terminate_handler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/segv_handler.cpp
+)
+
+add_global_library_for(library-cpp-terminate_handler.global library-cpp-terminate_handler)
+target_link_libraries(library-cpp-terminate_handler.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-terminate_handler.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/terminate_handler.cpp
+)
diff --git a/library/cpp/terminate_handler/CMakeLists.linux-aarch64.txt b/library/cpp/terminate_handler/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b3fac6a8be
--- /dev/null
+++ b/library/cpp/terminate_handler/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,28 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-terminate_handler)
+target_link_libraries(library-cpp-terminate_handler PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-terminate_handler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/segv_handler.cpp
+)
+
+add_global_library_for(library-cpp-terminate_handler.global library-cpp-terminate_handler)
+target_link_libraries(library-cpp-terminate_handler.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-terminate_handler.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/terminate_handler.cpp
+)
diff --git a/library/cpp/terminate_handler/CMakeLists.linux.txt b/library/cpp/terminate_handler/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b3fac6a8be
--- /dev/null
+++ b/library/cpp/terminate_handler/CMakeLists.linux.txt
@@ -0,0 +1,28 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-terminate_handler)
+target_link_libraries(library-cpp-terminate_handler PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-terminate_handler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/segv_handler.cpp
+)
+
+add_global_library_for(library-cpp-terminate_handler.global library-cpp-terminate_handler)
+target_link_libraries(library-cpp-terminate_handler.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-terminate_handler.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/terminate_handler.cpp
+)
diff --git a/library/cpp/terminate_handler/CMakeLists.txt b/library/cpp/terminate_handler/CMakeLists.txt
index 5bc454cb1d..3e0811fb22 100644
--- a/library/cpp/terminate_handler/CMakeLists.txt
+++ b/library/cpp/terminate_handler/CMakeLists.txt
@@ -6,21 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-terminate_handler)
-target_link_libraries(library-cpp-terminate_handler PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-terminate_handler PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/segv_handler.cpp
-)
-
-add_global_library_for(library-cpp-terminate_handler.global library-cpp-terminate_handler)
-target_link_libraries(library-cpp-terminate_handler.global PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-terminate_handler.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/terminate_handler.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/testing/benchmark/CMakeLists.darwin.txt b/library/cpp/testing/benchmark/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..359c73c5f4
--- /dev/null
+++ b/library/cpp/testing/benchmark/CMakeLists.darwin.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(main)
+
+add_library(cpp-testing-benchmark)
+target_link_libraries(cpp-testing-benchmark PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-re2
+ library-cpp-colorizer
+ cpp-getopt-small
+ library-cpp-json
+ library-cpp-linear_regression
+ cpp-threading-poor_man_openmp
+)
+target_sources(cpp-testing-benchmark PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/bench.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/dummy.cpp
+)
diff --git a/library/cpp/testing/benchmark/CMakeLists.linux-aarch64.txt b/library/cpp/testing/benchmark/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..5e85dd9546
--- /dev/null
+++ b/library/cpp/testing/benchmark/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(main)
+
+add_library(cpp-testing-benchmark)
+target_link_libraries(cpp-testing-benchmark PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-re2
+ library-cpp-colorizer
+ cpp-getopt-small
+ library-cpp-json
+ library-cpp-linear_regression
+ cpp-threading-poor_man_openmp
+)
+target_sources(cpp-testing-benchmark PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/bench.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/dummy.cpp
+)
diff --git a/library/cpp/testing/benchmark/CMakeLists.linux.txt b/library/cpp/testing/benchmark/CMakeLists.linux.txt
new file mode 100644
index 0000000000..5e85dd9546
--- /dev/null
+++ b/library/cpp/testing/benchmark/CMakeLists.linux.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(main)
+
+add_library(cpp-testing-benchmark)
+target_link_libraries(cpp-testing-benchmark PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-re2
+ library-cpp-colorizer
+ cpp-getopt-small
+ library-cpp-json
+ library-cpp-linear_regression
+ cpp-threading-poor_man_openmp
+)
+target_sources(cpp-testing-benchmark PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/bench.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/dummy.cpp
+)
diff --git a/library/cpp/testing/benchmark/CMakeLists.txt b/library/cpp/testing/benchmark/CMakeLists.txt
index 359c73c5f4..3e0811fb22 100644
--- a/library/cpp/testing/benchmark/CMakeLists.txt
+++ b/library/cpp/testing/benchmark/CMakeLists.txt
@@ -6,20 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(main)
-
-add_library(cpp-testing-benchmark)
-target_link_libraries(cpp-testing-benchmark PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-re2
- library-cpp-colorizer
- cpp-getopt-small
- library-cpp-json
- library-cpp-linear_regression
- cpp-threading-poor_man_openmp
-)
-target_sources(cpp-testing-benchmark PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/bench.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/dummy.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/testing/benchmark/main/CMakeLists.darwin.txt b/library/cpp/testing/benchmark/main/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..3a0ffe9241
--- /dev/null
+++ b/library/cpp/testing/benchmark/main/CMakeLists.darwin.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(testing-benchmark-main INTERFACE)
+target_link_libraries(testing-benchmark-main INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-benchmark
+)
+
+add_global_library_for(testing-benchmark-main.global testing-benchmark-main)
+target_link_libraries(testing-benchmark-main.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-benchmark
+)
+target_sources(testing-benchmark-main.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/main/main.cpp
+)
diff --git a/library/cpp/testing/benchmark/main/CMakeLists.linux-aarch64.txt b/library/cpp/testing/benchmark/main/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..e5100fd1d8
--- /dev/null
+++ b/library/cpp/testing/benchmark/main/CMakeLists.linux-aarch64.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(testing-benchmark-main INTERFACE)
+target_link_libraries(testing-benchmark-main INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-benchmark
+)
+
+add_global_library_for(testing-benchmark-main.global testing-benchmark-main)
+target_link_libraries(testing-benchmark-main.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-benchmark
+)
+target_sources(testing-benchmark-main.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/main/main.cpp
+)
diff --git a/library/cpp/testing/benchmark/main/CMakeLists.linux.txt b/library/cpp/testing/benchmark/main/CMakeLists.linux.txt
new file mode 100644
index 0000000000..e5100fd1d8
--- /dev/null
+++ b/library/cpp/testing/benchmark/main/CMakeLists.linux.txt
@@ -0,0 +1,27 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(testing-benchmark-main INTERFACE)
+target_link_libraries(testing-benchmark-main INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-benchmark
+)
+
+add_global_library_for(testing-benchmark-main.global testing-benchmark-main)
+target_link_libraries(testing-benchmark-main.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-benchmark
+)
+target_sources(testing-benchmark-main.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/main/main.cpp
+)
diff --git a/library/cpp/testing/benchmark/main/CMakeLists.txt b/library/cpp/testing/benchmark/main/CMakeLists.txt
index 3a0ffe9241..3e0811fb22 100644
--- a/library/cpp/testing/benchmark/main/CMakeLists.txt
+++ b/library/cpp/testing/benchmark/main/CMakeLists.txt
@@ -6,20 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(testing-benchmark-main INTERFACE)
-target_link_libraries(testing-benchmark-main INTERFACE
- contrib-libs-cxxsupp
- yutil
- cpp-testing-benchmark
-)
-
-add_global_library_for(testing-benchmark-main.global testing-benchmark-main)
-target_link_libraries(testing-benchmark-main.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-testing-benchmark
-)
-target_sources(testing-benchmark-main.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/main/main.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/testing/common/CMakeLists.darwin.txt b/library/cpp/testing/common/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..a0a2d01988
--- /dev/null
+++ b/library/cpp/testing/common/CMakeLists.darwin.txt
@@ -0,0 +1,21 @@
+
+# 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-testing-common)
+target_link_libraries(cpp-testing-common PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+)
+target_sources(cpp-testing-common PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/env.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/network.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/probe.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/scope.cpp
+)
diff --git a/library/cpp/testing/common/CMakeLists.linux-aarch64.txt b/library/cpp/testing/common/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..0ab3931274
--- /dev/null
+++ b/library/cpp/testing/common/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-common)
+target_link_libraries(cpp-testing-common PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+)
+target_sources(cpp-testing-common PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/env.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/network.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/probe.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/scope.cpp
+)
diff --git a/library/cpp/testing/common/CMakeLists.linux.txt b/library/cpp/testing/common/CMakeLists.linux.txt
new file mode 100644
index 0000000000..0ab3931274
--- /dev/null
+++ b/library/cpp/testing/common/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-common)
+target_link_libraries(cpp-testing-common PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+)
+target_sources(cpp-testing-common PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/env.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/network.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/probe.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/scope.cpp
+)
diff --git a/library/cpp/testing/common/CMakeLists.txt b/library/cpp/testing/common/CMakeLists.txt
index a0a2d01988..3e0811fb22 100644
--- a/library/cpp/testing/common/CMakeLists.txt
+++ b/library/cpp/testing/common/CMakeLists.txt
@@ -6,16 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-testing-common)
-target_link_libraries(cpp-testing-common PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-json
-)
-target_sources(cpp-testing-common PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/env.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/network.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/probe.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/scope.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/testing/gmock_in_unittest/CMakeLists.darwin.txt b/library/cpp/testing/gmock_in_unittest/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..a3303647bd
--- /dev/null
+++ b/library/cpp/testing/gmock_in_unittest/CMakeLists.darwin.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-gmock_in_unittest)
+target_link_libraries(cpp-testing-gmock_in_unittest PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+ cpp-testing-gtest_extensions
+ cpp-testing-unittest
+)
+target_sources(cpp-testing-gmock_in_unittest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gmock_in_unittest/events.cpp
+)
+
+add_global_library_for(cpp-testing-gmock_in_unittest.global cpp-testing-gmock_in_unittest)
+target_link_libraries(cpp-testing-gmock_in_unittest.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+ cpp-testing-gtest_extensions
+ cpp-testing-unittest
+)
+target_sources(cpp-testing-gmock_in_unittest.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gmock_in_unittest/registration.cpp
+)
diff --git a/library/cpp/testing/gmock_in_unittest/CMakeLists.linux-aarch64.txt b/library/cpp/testing/gmock_in_unittest/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..e51eea7d8e
--- /dev/null
+++ b/library/cpp/testing/gmock_in_unittest/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,36 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-gmock_in_unittest)
+target_link_libraries(cpp-testing-gmock_in_unittest PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+ cpp-testing-gtest_extensions
+ cpp-testing-unittest
+)
+target_sources(cpp-testing-gmock_in_unittest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gmock_in_unittest/events.cpp
+)
+
+add_global_library_for(cpp-testing-gmock_in_unittest.global cpp-testing-gmock_in_unittest)
+target_link_libraries(cpp-testing-gmock_in_unittest.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+ cpp-testing-gtest_extensions
+ cpp-testing-unittest
+)
+target_sources(cpp-testing-gmock_in_unittest.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gmock_in_unittest/registration.cpp
+)
diff --git a/library/cpp/testing/gmock_in_unittest/CMakeLists.linux.txt b/library/cpp/testing/gmock_in_unittest/CMakeLists.linux.txt
new file mode 100644
index 0000000000..e51eea7d8e
--- /dev/null
+++ b/library/cpp/testing/gmock_in_unittest/CMakeLists.linux.txt
@@ -0,0 +1,36 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-testing-gmock_in_unittest)
+target_link_libraries(cpp-testing-gmock_in_unittest PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+ cpp-testing-gtest_extensions
+ cpp-testing-unittest
+)
+target_sources(cpp-testing-gmock_in_unittest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gmock_in_unittest/events.cpp
+)
+
+add_global_library_for(cpp-testing-gmock_in_unittest.global cpp-testing-gmock_in_unittest)
+target_link_libraries(cpp-testing-gmock_in_unittest.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+ cpp-testing-gtest_extensions
+ cpp-testing-unittest
+)
+target_sources(cpp-testing-gmock_in_unittest.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gmock_in_unittest/registration.cpp
+)
diff --git a/library/cpp/testing/gmock_in_unittest/CMakeLists.txt b/library/cpp/testing/gmock_in_unittest/CMakeLists.txt
index a3303647bd..3e0811fb22 100644
--- a/library/cpp/testing/gmock_in_unittest/CMakeLists.txt
+++ b/library/cpp/testing/gmock_in_unittest/CMakeLists.txt
@@ -6,29 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-testing-gmock_in_unittest)
-target_link_libraries(cpp-testing-gmock_in_unittest PUBLIC
- contrib-libs-cxxsupp
- yutil
- restricted-googletest-googlemock
- restricted-googletest-googletest
- cpp-testing-gtest_extensions
- cpp-testing-unittest
-)
-target_sources(cpp-testing-gmock_in_unittest PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/gmock_in_unittest/events.cpp
-)
-
-add_global_library_for(cpp-testing-gmock_in_unittest.global cpp-testing-gmock_in_unittest)
-target_link_libraries(cpp-testing-gmock_in_unittest.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- restricted-googletest-googlemock
- restricted-googletest-googletest
- cpp-testing-gtest_extensions
- cpp-testing-unittest
-)
-target_sources(cpp-testing-gmock_in_unittest.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/gmock_in_unittest/registration.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/testing/gtest_extensions/CMakeLists.darwin.txt b/library/cpp/testing/gtest_extensions/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..542c855c85
--- /dev/null
+++ b/library/cpp/testing/gtest_extensions/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-testing-gtest_extensions)
+target_link_libraries(cpp-testing-gtest_extensions PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+)
+target_sources(cpp-testing-gtest_extensions PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/assertions.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/gtest_extensions.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/matchers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/pretty_printers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/probe.cpp
+)
diff --git a/library/cpp/testing/gtest_extensions/CMakeLists.linux-aarch64.txt b/library/cpp/testing/gtest_extensions/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..7d1661fa34
--- /dev/null
+++ b/library/cpp/testing/gtest_extensions/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-testing-gtest_extensions)
+target_link_libraries(cpp-testing-gtest_extensions PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+)
+target_sources(cpp-testing-gtest_extensions PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/assertions.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/gtest_extensions.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/matchers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/pretty_printers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/probe.cpp
+)
diff --git a/library/cpp/testing/gtest_extensions/CMakeLists.linux.txt b/library/cpp/testing/gtest_extensions/CMakeLists.linux.txt
new file mode 100644
index 0000000000..7d1661fa34
--- /dev/null
+++ b/library/cpp/testing/gtest_extensions/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-testing-gtest_extensions)
+target_link_libraries(cpp-testing-gtest_extensions PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ restricted-googletest-googlemock
+ restricted-googletest-googletest
+)
+target_sources(cpp-testing-gtest_extensions PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/assertions.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/gtest_extensions.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/matchers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/pretty_printers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/probe.cpp
+)
diff --git a/library/cpp/testing/gtest_extensions/CMakeLists.txt b/library/cpp/testing/gtest_extensions/CMakeLists.txt
index 542c855c85..3e0811fb22 100644
--- a/library/cpp/testing/gtest_extensions/CMakeLists.txt
+++ b/library/cpp/testing/gtest_extensions/CMakeLists.txt
@@ -6,18 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-testing-gtest_extensions)
-target_link_libraries(cpp-testing-gtest_extensions PUBLIC
- contrib-libs-cxxsupp
- yutil
- restricted-googletest-googlemock
- restricted-googletest-googletest
-)
-target_sources(cpp-testing-gtest_extensions PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/assertions.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/gtest_extensions.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/matchers.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/pretty_printers.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/probe.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/testing/hook/CMakeLists.darwin.txt b/library/cpp/testing/hook/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..c452ebec81
--- /dev/null
+++ b/library/cpp/testing/hook/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-testing-hook)
+target_link_libraries(cpp-testing-hook PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-testing-hook PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/hook/hook.cpp
+)
diff --git a/library/cpp/testing/hook/CMakeLists.linux-aarch64.txt b/library/cpp/testing/hook/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a9ae8e8c77
--- /dev/null
+++ b/library/cpp/testing/hook/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-testing-hook)
+target_link_libraries(cpp-testing-hook PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-testing-hook PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/hook/hook.cpp
+)
diff --git a/library/cpp/testing/hook/CMakeLists.linux.txt b/library/cpp/testing/hook/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a9ae8e8c77
--- /dev/null
+++ b/library/cpp/testing/hook/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-testing-hook)
+target_link_libraries(cpp-testing-hook PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-testing-hook PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/hook/hook.cpp
+)
diff --git a/library/cpp/testing/hook/CMakeLists.txt b/library/cpp/testing/hook/CMakeLists.txt
index c452ebec81..3e0811fb22 100644
--- a/library/cpp/testing/hook/CMakeLists.txt
+++ b/library/cpp/testing/hook/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-testing-hook)
-target_link_libraries(cpp-testing-hook PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-testing-hook PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/hook/hook.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/testing/unittest/CMakeLists.darwin.txt b/library/cpp/testing/unittest/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..8d86b85e75
--- /dev/null
+++ b/library/cpp/testing/unittest/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.
+
+
+
+add_library(cpp-testing-unittest)
+target_link_libraries(cpp-testing-unittest PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-colorizer
+ library-cpp-dbg_output
+ library-cpp-diff
+ cpp-json-writer
+ cpp-testing-common
+ cpp-testing-hook
+)
+target_sources(cpp-testing-unittest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/gtest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/checks.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/plugin.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/registar.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/tests_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/utmain.cpp
+)
diff --git a/library/cpp/testing/unittest/CMakeLists.linux-aarch64.txt b/library/cpp/testing/unittest/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ac4ae22411
--- /dev/null
+++ b/library/cpp/testing/unittest/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(cpp-testing-unittest)
+target_link_libraries(cpp-testing-unittest PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-colorizer
+ library-cpp-dbg_output
+ library-cpp-diff
+ cpp-json-writer
+ cpp-testing-common
+ cpp-testing-hook
+)
+target_sources(cpp-testing-unittest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/gtest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/checks.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/plugin.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/registar.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/tests_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/utmain.cpp
+)
diff --git a/library/cpp/testing/unittest/CMakeLists.linux.txt b/library/cpp/testing/unittest/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ac4ae22411
--- /dev/null
+++ b/library/cpp/testing/unittest/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(cpp-testing-unittest)
+target_link_libraries(cpp-testing-unittest PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-colorizer
+ library-cpp-dbg_output
+ library-cpp-diff
+ cpp-json-writer
+ cpp-testing-common
+ cpp-testing-hook
+)
+target_sources(cpp-testing-unittest PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/gtest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/checks.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/plugin.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/registar.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/tests_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/utmain.cpp
+)
diff --git a/library/cpp/testing/unittest/CMakeLists.txt b/library/cpp/testing/unittest/CMakeLists.txt
index 8d86b85e75..3e0811fb22 100644
--- a/library/cpp/testing/unittest/CMakeLists.txt
+++ b/library/cpp/testing/unittest/CMakeLists.txt
@@ -6,23 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-testing-unittest)
-target_link_libraries(cpp-testing-unittest PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-colorizer
- library-cpp-dbg_output
- library-cpp-diff
- cpp-json-writer
- cpp-testing-common
- cpp-testing-hook
-)
-target_sources(cpp-testing-unittest PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/gtest.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/checks.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/plugin.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/registar.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/tests_data.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/utmain.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/testing/unittest_main/CMakeLists.darwin.txt b/library/cpp/testing/unittest_main/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..26424850d3
--- /dev/null
+++ b/library/cpp/testing/unittest_main/CMakeLists.darwin.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-testing-unittest_main)
+target_link_libraries(cpp-testing-unittest_main PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-unittest
+ library-cpp-terminate_handler
+)
+target_sources(cpp-testing-unittest_main PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest_main/main.cpp
+)
diff --git a/library/cpp/testing/unittest_main/CMakeLists.linux-aarch64.txt b/library/cpp/testing/unittest_main/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..7fa01f77d1
--- /dev/null
+++ b/library/cpp/testing/unittest_main/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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-testing-unittest_main)
+target_link_libraries(cpp-testing-unittest_main PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-unittest
+ library-cpp-terminate_handler
+)
+target_sources(cpp-testing-unittest_main PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest_main/main.cpp
+)
diff --git a/library/cpp/testing/unittest_main/CMakeLists.linux.txt b/library/cpp/testing/unittest_main/CMakeLists.linux.txt
new file mode 100644
index 0000000000..7fa01f77d1
--- /dev/null
+++ b/library/cpp/testing/unittest_main/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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-testing-unittest_main)
+target_link_libraries(cpp-testing-unittest_main PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-unittest
+ library-cpp-terminate_handler
+)
+target_sources(cpp-testing-unittest_main PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest_main/main.cpp
+)
diff --git a/library/cpp/testing/unittest_main/CMakeLists.txt b/library/cpp/testing/unittest_main/CMakeLists.txt
index 26424850d3..3e0811fb22 100644
--- a/library/cpp/testing/unittest_main/CMakeLists.txt
+++ b/library/cpp/testing/unittest_main/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-testing-unittest_main)
-target_link_libraries(cpp-testing-unittest_main PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-testing-unittest
- library-cpp-terminate_handler
-)
-target_sources(cpp-testing-unittest_main PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest_main/main.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/threading/atomic/CMakeLists.darwin.txt b/library/cpp/threading/atomic/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..658c1f6c83
--- /dev/null
+++ b/library/cpp/threading/atomic/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-threading-atomic)
+target_link_libraries(cpp-threading-atomic PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-atomic PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/atomic/bool.cpp
+)
diff --git a/library/cpp/threading/atomic/CMakeLists.linux-aarch64.txt b/library/cpp/threading/atomic/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..dd1aee0b44
--- /dev/null
+++ b/library/cpp/threading/atomic/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-threading-atomic)
+target_link_libraries(cpp-threading-atomic PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-atomic PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/atomic/bool.cpp
+)
diff --git a/library/cpp/threading/atomic/CMakeLists.linux.txt b/library/cpp/threading/atomic/CMakeLists.linux.txt
new file mode 100644
index 0000000000..dd1aee0b44
--- /dev/null
+++ b/library/cpp/threading/atomic/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-threading-atomic)
+target_link_libraries(cpp-threading-atomic PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-atomic PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/atomic/bool.cpp
+)
diff --git a/library/cpp/threading/atomic/CMakeLists.txt b/library/cpp/threading/atomic/CMakeLists.txt
index 658c1f6c83..3e0811fb22 100644
--- a/library/cpp/threading/atomic/CMakeLists.txt
+++ b/library/cpp/threading/atomic/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-threading-atomic)
-target_link_libraries(cpp-threading-atomic PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
-)
-target_sources(cpp-threading-atomic PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/atomic/bool.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/threading/chunk_queue/CMakeLists.darwin.txt b/library/cpp/threading/chunk_queue/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..25e26b8edf
--- /dev/null
+++ b/library/cpp/threading/chunk_queue/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-threading-chunk_queue)
+target_link_libraries(cpp-threading-chunk_queue PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-chunk_queue PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/chunk_queue/queue.cpp
+)
diff --git a/library/cpp/threading/chunk_queue/CMakeLists.linux-aarch64.txt b/library/cpp/threading/chunk_queue/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ea370dd426
--- /dev/null
+++ b/library/cpp/threading/chunk_queue/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-threading-chunk_queue)
+target_link_libraries(cpp-threading-chunk_queue PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-chunk_queue PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/chunk_queue/queue.cpp
+)
diff --git a/library/cpp/threading/chunk_queue/CMakeLists.linux.txt b/library/cpp/threading/chunk_queue/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ea370dd426
--- /dev/null
+++ b/library/cpp/threading/chunk_queue/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-threading-chunk_queue)
+target_link_libraries(cpp-threading-chunk_queue PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-chunk_queue PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/chunk_queue/queue.cpp
+)
diff --git a/library/cpp/threading/chunk_queue/CMakeLists.txt b/library/cpp/threading/chunk_queue/CMakeLists.txt
index 25e26b8edf..3e0811fb22 100644
--- a/library/cpp/threading/chunk_queue/CMakeLists.txt
+++ b/library/cpp/threading/chunk_queue/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-threading-chunk_queue)
-target_link_libraries(cpp-threading-chunk_queue PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
-)
-target_sources(cpp-threading-chunk_queue PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/chunk_queue/queue.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/threading/equeue/CMakeLists.darwin.txt b/library/cpp/threading/equeue/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..141ef789ea
--- /dev/null
+++ b/library/cpp/threading/equeue/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-threading-equeue)
+target_link_libraries(cpp-threading-equeue PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-equeue PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/equeue/equeue.cpp
+)
diff --git a/library/cpp/threading/equeue/CMakeLists.linux-aarch64.txt b/library/cpp/threading/equeue/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..619d8ec4c4
--- /dev/null
+++ b/library/cpp/threading/equeue/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-threading-equeue)
+target_link_libraries(cpp-threading-equeue PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-equeue PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/equeue/equeue.cpp
+)
diff --git a/library/cpp/threading/equeue/CMakeLists.linux.txt b/library/cpp/threading/equeue/CMakeLists.linux.txt
new file mode 100644
index 0000000000..619d8ec4c4
--- /dev/null
+++ b/library/cpp/threading/equeue/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-threading-equeue)
+target_link_libraries(cpp-threading-equeue PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-equeue PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/equeue/equeue.cpp
+)
diff --git a/library/cpp/threading/equeue/CMakeLists.txt b/library/cpp/threading/equeue/CMakeLists.txt
index 141ef789ea..3e0811fb22 100644
--- a/library/cpp/threading/equeue/CMakeLists.txt
+++ b/library/cpp/threading/equeue/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-threading-equeue)
-target_link_libraries(cpp-threading-equeue PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
-)
-target_sources(cpp-threading-equeue PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/equeue/equeue.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/threading/future/CMakeLists.darwin.txt b/library/cpp/threading/future/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..83daaa0c85
--- /dev/null
+++ b/library/cpp/threading/future/CMakeLists.darwin.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-threading-future)
+target_link_libraries(cpp-threading-future PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-threading-future PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/async_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/async.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/core/future.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/core/fwd.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/fwd.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/fwd.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait_group.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait_policy.cpp
+)
diff --git a/library/cpp/threading/future/CMakeLists.linux-aarch64.txt b/library/cpp/threading/future/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..8dd70d1685
--- /dev/null
+++ b/library/cpp/threading/future/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-threading-future)
+target_link_libraries(cpp-threading-future PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-threading-future PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/async_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/async.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/core/future.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/core/fwd.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/fwd.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/fwd.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait_group.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait_policy.cpp
+)
diff --git a/library/cpp/threading/future/CMakeLists.linux.txt b/library/cpp/threading/future/CMakeLists.linux.txt
new file mode 100644
index 0000000000..8dd70d1685
--- /dev/null
+++ b/library/cpp/threading/future/CMakeLists.linux.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-threading-future)
+target_link_libraries(cpp-threading-future PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-threading-future PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/async_semaphore.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/async.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/core/future.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/core/fwd.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/fwd.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/fwd.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait_group.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait_policy.cpp
+)
diff --git a/library/cpp/threading/future/CMakeLists.txt b/library/cpp/threading/future/CMakeLists.txt
index 83daaa0c85..3e0811fb22 100644
--- a/library/cpp/threading/future/CMakeLists.txt
+++ b/library/cpp/threading/future/CMakeLists.txt
@@ -6,20 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-threading-future)
-target_link_libraries(cpp-threading-future PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-threading-future PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/async_semaphore.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/async.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/core/future.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/core/fwd.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/fwd.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/fwd.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait_group.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait_policy.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/threading/light_rw_lock/CMakeLists.darwin.txt b/library/cpp/threading/light_rw_lock/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..cfe6bec1e0
--- /dev/null
+++ b/library/cpp/threading/light_rw_lock/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-threading-light_rw_lock)
+target_link_libraries(cpp-threading-light_rw_lock PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-threading-light_rw_lock PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/light_rw_lock/lightrwlock.cpp
+)
diff --git a/library/cpp/threading/light_rw_lock/CMakeLists.linux-aarch64.txt b/library/cpp/threading/light_rw_lock/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..65eaba62c9
--- /dev/null
+++ b/library/cpp/threading/light_rw_lock/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-threading-light_rw_lock)
+target_link_libraries(cpp-threading-light_rw_lock PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-threading-light_rw_lock PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/light_rw_lock/lightrwlock.cpp
+)
diff --git a/library/cpp/threading/light_rw_lock/CMakeLists.linux.txt b/library/cpp/threading/light_rw_lock/CMakeLists.linux.txt
new file mode 100644
index 0000000000..65eaba62c9
--- /dev/null
+++ b/library/cpp/threading/light_rw_lock/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-threading-light_rw_lock)
+target_link_libraries(cpp-threading-light_rw_lock PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-threading-light_rw_lock PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/light_rw_lock/lightrwlock.cpp
+)
diff --git a/library/cpp/threading/light_rw_lock/CMakeLists.txt b/library/cpp/threading/light_rw_lock/CMakeLists.txt
index cfe6bec1e0..3e0811fb22 100644
--- a/library/cpp/threading/light_rw_lock/CMakeLists.txt
+++ b/library/cpp/threading/light_rw_lock/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-threading-light_rw_lock)
-target_link_libraries(cpp-threading-light_rw_lock PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-threading-light_rw_lock PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/light_rw_lock/lightrwlock.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/threading/local_executor/CMakeLists.darwin.txt b/library/cpp/threading/local_executor/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..536ef537b0
--- /dev/null
+++ b/library/cpp/threading/local_executor/CMakeLists.darwin.txt
@@ -0,0 +1,21 @@
+
+# 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-threading-local_executor)
+target_link_libraries(cpp-threading-local_executor PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-tbb
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-local_executor PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/local_executor/local_executor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/local_executor/tbb_local_executor.cpp
+)
diff --git a/library/cpp/threading/local_executor/CMakeLists.linux-aarch64.txt b/library/cpp/threading/local_executor/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..e2f5709ddf
--- /dev/null
+++ b/library/cpp/threading/local_executor/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-threading-local_executor)
+target_link_libraries(cpp-threading-local_executor PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-tbb
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-local_executor PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/local_executor/local_executor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/local_executor/tbb_local_executor.cpp
+)
diff --git a/library/cpp/threading/local_executor/CMakeLists.linux.txt b/library/cpp/threading/local_executor/CMakeLists.linux.txt
new file mode 100644
index 0000000000..e2f5709ddf
--- /dev/null
+++ b/library/cpp/threading/local_executor/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-threading-local_executor)
+target_link_libraries(cpp-threading-local_executor PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-tbb
+ cpp-threading-future
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-local_executor PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/local_executor/local_executor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/local_executor/tbb_local_executor.cpp
+)
diff --git a/library/cpp/threading/local_executor/CMakeLists.txt b/library/cpp/threading/local_executor/CMakeLists.txt
index 536ef537b0..3e0811fb22 100644
--- a/library/cpp/threading/local_executor/CMakeLists.txt
+++ b/library/cpp/threading/local_executor/CMakeLists.txt
@@ -6,16 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-threading-local_executor)
-target_link_libraries(cpp-threading-local_executor PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-tbb
- cpp-threading-future
- cpp-deprecated-atomic
-)
-target_sources(cpp-threading-local_executor PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/local_executor/local_executor.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/local_executor/tbb_local_executor.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/threading/poor_man_openmp/CMakeLists.darwin.txt b/library/cpp/threading/poor_man_openmp/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..ed6b2d7e61
--- /dev/null
+++ b/library/cpp/threading/poor_man_openmp/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-threading-poor_man_openmp)
+target_link_libraries(cpp-threading-poor_man_openmp PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-poor_man_openmp PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/poor_man_openmp/thread_helper.cpp
+)
diff --git a/library/cpp/threading/poor_man_openmp/CMakeLists.linux-aarch64.txt b/library/cpp/threading/poor_man_openmp/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..57853cc783
--- /dev/null
+++ b/library/cpp/threading/poor_man_openmp/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-threading-poor_man_openmp)
+target_link_libraries(cpp-threading-poor_man_openmp PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-poor_man_openmp PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/poor_man_openmp/thread_helper.cpp
+)
diff --git a/library/cpp/threading/poor_man_openmp/CMakeLists.linux.txt b/library/cpp/threading/poor_man_openmp/CMakeLists.linux.txt
new file mode 100644
index 0000000000..57853cc783
--- /dev/null
+++ b/library/cpp/threading/poor_man_openmp/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-threading-poor_man_openmp)
+target_link_libraries(cpp-threading-poor_man_openmp PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-poor_man_openmp PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/poor_man_openmp/thread_helper.cpp
+)
diff --git a/library/cpp/threading/poor_man_openmp/CMakeLists.txt b/library/cpp/threading/poor_man_openmp/CMakeLists.txt
index ed6b2d7e61..3e0811fb22 100644
--- a/library/cpp/threading/poor_man_openmp/CMakeLists.txt
+++ b/library/cpp/threading/poor_man_openmp/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-threading-poor_man_openmp)
-target_link_libraries(cpp-threading-poor_man_openmp PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
-)
-target_sources(cpp-threading-poor_man_openmp PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/poor_man_openmp/thread_helper.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/threading/queue/CMakeLists.darwin.txt b/library/cpp/threading/queue/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..a0ad970b31
--- /dev/null
+++ b/library/cpp/threading/queue/CMakeLists.darwin.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-threading-queue)
+target_link_libraries(cpp-threading-queue PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-queue PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpmc_unordered_ring.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_htswap.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_intrusive_unordered.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_read_as_filled.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_vinfarr_obstructive.cpp
+)
diff --git a/library/cpp/threading/queue/CMakeLists.linux-aarch64.txt b/library/cpp/threading/queue/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..2b328448cd
--- /dev/null
+++ b/library/cpp/threading/queue/CMakeLists.linux-aarch64.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-threading-queue)
+target_link_libraries(cpp-threading-queue PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-queue PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpmc_unordered_ring.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_htswap.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_intrusive_unordered.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_read_as_filled.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_vinfarr_obstructive.cpp
+)
diff --git a/library/cpp/threading/queue/CMakeLists.linux.txt b/library/cpp/threading/queue/CMakeLists.linux.txt
new file mode 100644
index 0000000000..2b328448cd
--- /dev/null
+++ b/library/cpp/threading/queue/CMakeLists.linux.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-threading-queue)
+target_link_libraries(cpp-threading-queue PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-queue PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpmc_unordered_ring.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_htswap.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_intrusive_unordered.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_read_as_filled.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_vinfarr_obstructive.cpp
+)
diff --git a/library/cpp/threading/queue/CMakeLists.txt b/library/cpp/threading/queue/CMakeLists.txt
index a0ad970b31..3e0811fb22 100644
--- a/library/cpp/threading/queue/CMakeLists.txt
+++ b/library/cpp/threading/queue/CMakeLists.txt
@@ -6,17 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-threading-queue)
-target_link_libraries(cpp-threading-queue PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
-)
-target_sources(cpp-threading-queue PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpmc_unordered_ring.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_htswap.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_intrusive_unordered.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_read_as_filled.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_vinfarr_obstructive.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/threading/skip_list/CMakeLists.darwin.txt b/library/cpp/threading/skip_list/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..e33f6172b5
--- /dev/null
+++ b/library/cpp/threading/skip_list/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-threading-skip_list)
+target_link_libraries(cpp-threading-skip_list PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-skip_list PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/skip_list/skiplist.cpp
+)
diff --git a/library/cpp/threading/skip_list/CMakeLists.linux-aarch64.txt b/library/cpp/threading/skip_list/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..99ecc439ee
--- /dev/null
+++ b/library/cpp/threading/skip_list/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-threading-skip_list)
+target_link_libraries(cpp-threading-skip_list PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-skip_list PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/skip_list/skiplist.cpp
+)
diff --git a/library/cpp/threading/skip_list/CMakeLists.linux.txt b/library/cpp/threading/skip_list/CMakeLists.linux.txt
new file mode 100644
index 0000000000..99ecc439ee
--- /dev/null
+++ b/library/cpp/threading/skip_list/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-threading-skip_list)
+target_link_libraries(cpp-threading-skip_list PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-skip_list PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/skip_list/skiplist.cpp
+)
diff --git a/library/cpp/threading/skip_list/CMakeLists.txt b/library/cpp/threading/skip_list/CMakeLists.txt
index e33f6172b5..3e0811fb22 100644
--- a/library/cpp/threading/skip_list/CMakeLists.txt
+++ b/library/cpp/threading/skip_list/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-threading-skip_list)
-target_link_libraries(cpp-threading-skip_list PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
-)
-target_sources(cpp-threading-skip_list PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/skip_list/skiplist.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/threading/task_scheduler/CMakeLists.darwin.txt b/library/cpp/threading/task_scheduler/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..1fb90dec82
--- /dev/null
+++ b/library/cpp/threading/task_scheduler/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-threading-task_scheduler)
+target_link_libraries(cpp-threading-task_scheduler PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-task_scheduler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/task_scheduler/task_scheduler.cpp
+)
diff --git a/library/cpp/threading/task_scheduler/CMakeLists.linux-aarch64.txt b/library/cpp/threading/task_scheduler/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..58b26b3948
--- /dev/null
+++ b/library/cpp/threading/task_scheduler/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-threading-task_scheduler)
+target_link_libraries(cpp-threading-task_scheduler PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-task_scheduler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/task_scheduler/task_scheduler.cpp
+)
diff --git a/library/cpp/threading/task_scheduler/CMakeLists.linux.txt b/library/cpp/threading/task_scheduler/CMakeLists.linux.txt
new file mode 100644
index 0000000000..58b26b3948
--- /dev/null
+++ b/library/cpp/threading/task_scheduler/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-threading-task_scheduler)
+target_link_libraries(cpp-threading-task_scheduler PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+)
+target_sources(cpp-threading-task_scheduler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/task_scheduler/task_scheduler.cpp
+)
diff --git a/library/cpp/threading/task_scheduler/CMakeLists.txt b/library/cpp/threading/task_scheduler/CMakeLists.txt
index 1fb90dec82..3e0811fb22 100644
--- a/library/cpp/threading/task_scheduler/CMakeLists.txt
+++ b/library/cpp/threading/task_scheduler/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-threading-task_scheduler)
-target_link_libraries(cpp-threading-task_scheduler PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
-)
-target_sources(cpp-threading-task_scheduler PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/threading/task_scheduler/task_scheduler.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/time_provider/CMakeLists.darwin.txt b/library/cpp/time_provider/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..eecbe5cf32
--- /dev/null
+++ b/library/cpp/time_provider/CMakeLists.darwin.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(library-cpp-time_provider)
+target_link_libraries(library-cpp-time_provider PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-time_provider PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/monotonic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/time_provider.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/monotonic_provider.cpp
+)
diff --git a/library/cpp/time_provider/CMakeLists.linux-aarch64.txt b/library/cpp/time_provider/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..53d85e6660
--- /dev/null
+++ b/library/cpp/time_provider/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-time_provider)
+target_link_libraries(library-cpp-time_provider PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-time_provider PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/monotonic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/time_provider.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/monotonic_provider.cpp
+)
diff --git a/library/cpp/time_provider/CMakeLists.linux.txt b/library/cpp/time_provider/CMakeLists.linux.txt
new file mode 100644
index 0000000000..53d85e6660
--- /dev/null
+++ b/library/cpp/time_provider/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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(library-cpp-time_provider)
+target_link_libraries(library-cpp-time_provider PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-time_provider PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/monotonic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/time_provider.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/monotonic_provider.cpp
+)
diff --git a/library/cpp/time_provider/CMakeLists.txt b/library/cpp/time_provider/CMakeLists.txt
index eecbe5cf32..3e0811fb22 100644
--- a/library/cpp/time_provider/CMakeLists.txt
+++ b/library/cpp/time_provider/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-time_provider)
-target_link_libraries(library-cpp-time_provider PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(library-cpp-time_provider PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/monotonic.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/time_provider.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/monotonic_provider.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/timezone_conversion/CMakeLists.darwin.txt b/library/cpp/timezone_conversion/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..42a7d4db36
--- /dev/null
+++ b/library/cpp/timezone_conversion/CMakeLists.darwin.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-timezone_conversion)
+target_link_libraries(library-cpp-timezone_conversion PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ libs-cctz-tzdata
+ util-draft
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(library-cpp-timezone_conversion PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/timezone_conversion/convert.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/timezone_conversion/civil.cpp
+)
+generate_enum_serilization(library-cpp-timezone_conversion
+ ${CMAKE_SOURCE_DIR}/library/cpp/timezone_conversion/civil.h
+ INCLUDE_HEADERS
+ library/cpp/timezone_conversion/civil.h
+)
diff --git a/library/cpp/timezone_conversion/CMakeLists.linux-aarch64.txt b/library/cpp/timezone_conversion/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..7d4bcec355
--- /dev/null
+++ b/library/cpp/timezone_conversion/CMakeLists.linux-aarch64.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(library-cpp-timezone_conversion)
+target_link_libraries(library-cpp-timezone_conversion PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ libs-cctz-tzdata
+ util-draft
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(library-cpp-timezone_conversion PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/timezone_conversion/convert.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/timezone_conversion/civil.cpp
+)
+generate_enum_serilization(library-cpp-timezone_conversion
+ ${CMAKE_SOURCE_DIR}/library/cpp/timezone_conversion/civil.h
+ INCLUDE_HEADERS
+ library/cpp/timezone_conversion/civil.h
+)
diff --git a/library/cpp/timezone_conversion/CMakeLists.linux.txt b/library/cpp/timezone_conversion/CMakeLists.linux.txt
new file mode 100644
index 0000000000..7d4bcec355
--- /dev/null
+++ b/library/cpp/timezone_conversion/CMakeLists.linux.txt
@@ -0,0 +1,27 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(library-cpp-timezone_conversion)
+target_link_libraries(library-cpp-timezone_conversion PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ libs-cctz-tzdata
+ util-draft
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(library-cpp-timezone_conversion PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/timezone_conversion/convert.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/timezone_conversion/civil.cpp
+)
+generate_enum_serilization(library-cpp-timezone_conversion
+ ${CMAKE_SOURCE_DIR}/library/cpp/timezone_conversion/civil.h
+ INCLUDE_HEADERS
+ library/cpp/timezone_conversion/civil.h
+)
diff --git a/library/cpp/timezone_conversion/CMakeLists.txt b/library/cpp/timezone_conversion/CMakeLists.txt
index 42a7d4db36..3e0811fb22 100644
--- a/library/cpp/timezone_conversion/CMakeLists.txt
+++ b/library/cpp/timezone_conversion/CMakeLists.txt
@@ -6,21 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(library-cpp-timezone_conversion)
-target_link_libraries(library-cpp-timezone_conversion PUBLIC
- contrib-libs-cxxsupp
- yutil
- libs-cctz-tzdata
- util-draft
- tools-enum_parser-enum_serialization_runtime
-)
-target_sources(library-cpp-timezone_conversion PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/timezone_conversion/convert.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/timezone_conversion/civil.cpp
-)
-generate_enum_serilization(library-cpp-timezone_conversion
- ${CMAKE_SOURCE_DIR}/library/cpp/timezone_conversion/civil.h
- INCLUDE_HEADERS
- library/cpp/timezone_conversion/civil.h
-)
+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/tld/CMakeLists.darwin.txt b/library/cpp/tld/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..b741ac5298
--- /dev/null
+++ b/library/cpp/tld/CMakeLists.darwin.txt
@@ -0,0 +1,33 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(Python2 REQUIRED)
+
+add_library(library-cpp-tld)
+target_link_libraries(library-cpp-tld PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-digest-lower_case
+)
+target_sources(library-cpp-tld PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/tld.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc
+)
+add_custom_command(
+ OUTPUT
+ ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc
+ DEPENDS
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/tlds-alpha-by-domain.txt
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/gen_tld.py
+ COMMAND
+ Python2::Interpreter
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/gen_tld.py
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/tlds-alpha-by-domain.txt
+ >
+ tld.inc
+)
diff --git a/library/cpp/tld/CMakeLists.linux-aarch64.txt b/library/cpp/tld/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..35b0b82159
--- /dev/null
+++ b/library/cpp/tld/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(Python2 REQUIRED)
+
+add_library(library-cpp-tld)
+target_link_libraries(library-cpp-tld PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-digest-lower_case
+)
+target_sources(library-cpp-tld PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/tld.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc
+)
+add_custom_command(
+ OUTPUT
+ ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc
+ DEPENDS
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/tlds-alpha-by-domain.txt
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/gen_tld.py
+ COMMAND
+ Python2::Interpreter
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/gen_tld.py
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/tlds-alpha-by-domain.txt
+ >
+ tld.inc
+)
diff --git a/library/cpp/tld/CMakeLists.linux.txt b/library/cpp/tld/CMakeLists.linux.txt
new file mode 100644
index 0000000000..35b0b82159
--- /dev/null
+++ b/library/cpp/tld/CMakeLists.linux.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(Python2 REQUIRED)
+
+add_library(library-cpp-tld)
+target_link_libraries(library-cpp-tld PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-digest-lower_case
+)
+target_sources(library-cpp-tld PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/tld.cpp
+ ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc
+)
+add_custom_command(
+ OUTPUT
+ ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc
+ DEPENDS
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/tlds-alpha-by-domain.txt
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/gen_tld.py
+ COMMAND
+ Python2::Interpreter
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/gen_tld.py
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/tlds-alpha-by-domain.txt
+ >
+ tld.inc
+)
diff --git a/library/cpp/tld/CMakeLists.txt b/library/cpp/tld/CMakeLists.txt
index b741ac5298..3e0811fb22 100644
--- a/library/cpp/tld/CMakeLists.txt
+++ b/library/cpp/tld/CMakeLists.txt
@@ -6,28 +6,10 @@
# original buildsystem will not be accepted.
-find_package(Python2 REQUIRED)
-
-add_library(library-cpp-tld)
-target_link_libraries(library-cpp-tld PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-digest-lower_case
-)
-target_sources(library-cpp-tld PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/tld/tld.cpp
- ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc
-)
-add_custom_command(
- OUTPUT
- ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc
- DEPENDS
- ${CMAKE_SOURCE_DIR}/library/cpp/tld/tlds-alpha-by-domain.txt
- ${CMAKE_SOURCE_DIR}/library/cpp/tld/gen_tld.py
- COMMAND
- Python2::Interpreter
- ${CMAKE_SOURCE_DIR}/library/cpp/tld/gen_tld.py
- ${CMAKE_SOURCE_DIR}/library/cpp/tld/tlds-alpha-by-domain.txt
- >
- tld.inc
-)
+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/unicode/normalization/CMakeLists.darwin.txt b/library/cpp/unicode/normalization/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..1e8c85a02f
--- /dev/null
+++ b/library/cpp/unicode/normalization/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-unicode-normalization)
+target_link_libraries(cpp-unicode-normalization PUBLIC
+ contrib-libs-cxxsupp
+)
+target_sources(cpp-unicode-normalization PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/generated/composition.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/generated/decomposition.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/normalization.cpp
+)
diff --git a/library/cpp/unicode/normalization/CMakeLists.linux-aarch64.txt b/library/cpp/unicode/normalization/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..1631c59be1
--- /dev/null
+++ b/library/cpp/unicode/normalization/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-unicode-normalization)
+target_link_libraries(cpp-unicode-normalization PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+)
+target_sources(cpp-unicode-normalization PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/generated/composition.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/generated/decomposition.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/normalization.cpp
+)
diff --git a/library/cpp/unicode/normalization/CMakeLists.linux.txt b/library/cpp/unicode/normalization/CMakeLists.linux.txt
new file mode 100644
index 0000000000..1631c59be1
--- /dev/null
+++ b/library/cpp/unicode/normalization/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-unicode-normalization)
+target_link_libraries(cpp-unicode-normalization PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+)
+target_sources(cpp-unicode-normalization PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/generated/composition.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/generated/decomposition.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/normalization.cpp
+)
diff --git a/library/cpp/unicode/normalization/CMakeLists.txt b/library/cpp/unicode/normalization/CMakeLists.txt
index 1e8c85a02f..3e0811fb22 100644
--- a/library/cpp/unicode/normalization/CMakeLists.txt
+++ b/library/cpp/unicode/normalization/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-unicode-normalization)
-target_link_libraries(cpp-unicode-normalization PUBLIC
- contrib-libs-cxxsupp
-)
-target_sources(cpp-unicode-normalization PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/generated/composition.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/generated/decomposition.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/normalization.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/unicode/punycode/CMakeLists.darwin.txt b/library/cpp/unicode/punycode/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..6637434e2d
--- /dev/null
+++ b/library/cpp/unicode/punycode/CMakeLists.darwin.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.
+
+
+find_package(IDN REQUIRED)
+
+add_library(cpp-unicode-punycode)
+target_link_libraries(cpp-unicode-punycode PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ IDN::IDN
+)
+target_sources(cpp-unicode-punycode PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/punycode/punycode.cpp
+)
diff --git a/library/cpp/unicode/punycode/CMakeLists.linux-aarch64.txt b/library/cpp/unicode/punycode/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..dadd9e6d62
--- /dev/null
+++ b/library/cpp/unicode/punycode/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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(IDN REQUIRED)
+
+add_library(cpp-unicode-punycode)
+target_link_libraries(cpp-unicode-punycode PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ IDN::IDN
+)
+target_sources(cpp-unicode-punycode PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/punycode/punycode.cpp
+)
diff --git a/library/cpp/unicode/punycode/CMakeLists.linux.txt b/library/cpp/unicode/punycode/CMakeLists.linux.txt
new file mode 100644
index 0000000000..dadd9e6d62
--- /dev/null
+++ b/library/cpp/unicode/punycode/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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(IDN REQUIRED)
+
+add_library(cpp-unicode-punycode)
+target_link_libraries(cpp-unicode-punycode PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ IDN::IDN
+)
+target_sources(cpp-unicode-punycode PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/punycode/punycode.cpp
+)
diff --git a/library/cpp/unicode/punycode/CMakeLists.txt b/library/cpp/unicode/punycode/CMakeLists.txt
index 6637434e2d..3e0811fb22 100644
--- a/library/cpp/unicode/punycode/CMakeLists.txt
+++ b/library/cpp/unicode/punycode/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-find_package(IDN REQUIRED)
-
-add_library(cpp-unicode-punycode)
-target_link_libraries(cpp-unicode-punycode PUBLIC
- contrib-libs-cxxsupp
- yutil
- IDN::IDN
-)
-target_sources(cpp-unicode-punycode PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/unicode/punycode/punycode.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/unicode/set/CMakeLists.darwin.txt b/library/cpp/unicode/set/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..44380308ed
--- /dev/null
+++ b/library/cpp/unicode/set/CMakeLists.darwin.txt
@@ -0,0 +1,33 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-unicode-set)
+target_link_libraries(cpp-unicode-set PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-unicode-set PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/quoted_pair.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_parser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_token.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/generated/category_ranges.cpp
+)
+generate_enum_serilization(cpp-unicode-set
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_token.h
+ INCLUDE_HEADERS
+ library/cpp/unicode/set/unicode_set_token.h
+)
+target_ragel_lexers(cpp-unicode-set
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_lexer.rl6
+ -CG2
+)
diff --git a/library/cpp/unicode/set/CMakeLists.linux-aarch64.txt b/library/cpp/unicode/set/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..861a16e0cd
--- /dev/null
+++ b/library/cpp/unicode/set/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-unicode-set)
+target_link_libraries(cpp-unicode-set PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-unicode-set PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/quoted_pair.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_parser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_token.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/generated/category_ranges.cpp
+)
+generate_enum_serilization(cpp-unicode-set
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_token.h
+ INCLUDE_HEADERS
+ library/cpp/unicode/set/unicode_set_token.h
+)
+target_ragel_lexers(cpp-unicode-set
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_lexer.rl6
+ -CG2
+)
diff --git a/library/cpp/unicode/set/CMakeLists.linux.txt b/library/cpp/unicode/set/CMakeLists.linux.txt
new file mode 100644
index 0000000000..861a16e0cd
--- /dev/null
+++ b/library/cpp/unicode/set/CMakeLists.linux.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-unicode-set)
+target_link_libraries(cpp-unicode-set PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-unicode-set PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/quoted_pair.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_parser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_token.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/generated/category_ranges.cpp
+)
+generate_enum_serilization(cpp-unicode-set
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_token.h
+ INCLUDE_HEADERS
+ library/cpp/unicode/set/unicode_set_token.h
+)
+target_ragel_lexers(cpp-unicode-set
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_lexer.rl6
+ -CG2
+)
diff --git a/library/cpp/unicode/set/CMakeLists.txt b/library/cpp/unicode/set/CMakeLists.txt
index 44380308ed..3e0811fb22 100644
--- a/library/cpp/unicode/set/CMakeLists.txt
+++ b/library/cpp/unicode/set/CMakeLists.txt
@@ -6,28 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-unicode-set)
-target_link_libraries(cpp-unicode-set PUBLIC
- contrib-libs-cxxsupp
- yutil
- tools-enum_parser-enum_serialization_runtime
-)
-target_sources(cpp-unicode-set PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/set.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/quoted_pair.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_parser.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_token.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/generated/category_ranges.cpp
-)
-generate_enum_serilization(cpp-unicode-set
- ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_token.h
- INCLUDE_HEADERS
- library/cpp/unicode/set/unicode_set_token.h
-)
-target_ragel_lexers(cpp-unicode-set
- PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_lexer.rl6
- -CG2
-)
+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/uri/CMakeLists.darwin.txt b/library/cpp/uri/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..d45b361db1
--- /dev/null
+++ b/library/cpp/uri/CMakeLists.darwin.txt
@@ -0,0 +1,37 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(IDN REQUIRED)
+
+add_library(library-cpp-uri)
+target_link_libraries(library-cpp-uri PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ IDN::IDN
+ library-cpp-charset
+)
+target_sources(library-cpp-uri PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/assign.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/common.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/encode.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/location.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/other.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/parse.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/qargs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/uri.cpp
+)
+target_ragel_lexers(library-cpp-uri
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/encodefsm.rl6
+ -CG2
+)
+target_ragel_lexers(library-cpp-uri
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/parsefsm.rl6
+ -CG2
+)
diff --git a/library/cpp/uri/CMakeLists.linux-aarch64.txt b/library/cpp/uri/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..9c6dcd6eb2
--- /dev/null
+++ b/library/cpp/uri/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,38 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(IDN REQUIRED)
+
+add_library(library-cpp-uri)
+target_link_libraries(library-cpp-uri PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ IDN::IDN
+ library-cpp-charset
+)
+target_sources(library-cpp-uri PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/assign.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/common.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/encode.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/location.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/other.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/parse.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/qargs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/uri.cpp
+)
+target_ragel_lexers(library-cpp-uri
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/encodefsm.rl6
+ -CG2
+)
+target_ragel_lexers(library-cpp-uri
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/parsefsm.rl6
+ -CG2
+)
diff --git a/library/cpp/uri/CMakeLists.linux.txt b/library/cpp/uri/CMakeLists.linux.txt
new file mode 100644
index 0000000000..9c6dcd6eb2
--- /dev/null
+++ b/library/cpp/uri/CMakeLists.linux.txt
@@ -0,0 +1,38 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(IDN REQUIRED)
+
+add_library(library-cpp-uri)
+target_link_libraries(library-cpp-uri PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ IDN::IDN
+ library-cpp-charset
+)
+target_sources(library-cpp-uri PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/assign.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/common.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/encode.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/location.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/other.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/parse.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/qargs.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/uri.cpp
+)
+target_ragel_lexers(library-cpp-uri
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/encodefsm.rl6
+ -CG2
+)
+target_ragel_lexers(library-cpp-uri
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/uri/parsefsm.rl6
+ -CG2
+)
diff --git a/library/cpp/uri/CMakeLists.txt b/library/cpp/uri/CMakeLists.txt
index d45b361db1..3e0811fb22 100644
--- a/library/cpp/uri/CMakeLists.txt
+++ b/library/cpp/uri/CMakeLists.txt
@@ -6,32 +6,10 @@
# original buildsystem will not be accepted.
-find_package(IDN REQUIRED)
-
-add_library(library-cpp-uri)
-target_link_libraries(library-cpp-uri PUBLIC
- contrib-libs-cxxsupp
- yutil
- IDN::IDN
- library-cpp-charset
-)
-target_sources(library-cpp-uri PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/uri/assign.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/uri/common.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/uri/encode.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/uri/location.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/uri/other.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/uri/parse.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/uri/qargs.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/uri/uri.cpp
-)
-target_ragel_lexers(library-cpp-uri
- PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/uri/encodefsm.rl6
- -CG2
-)
-target_ragel_lexers(library-cpp-uri
- PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/uri/parsefsm.rl6
- -CG2
-)
+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/xml/document/CMakeLists.darwin.txt b/library/cpp/xml/document/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..70c3d7eb5d
--- /dev/null
+++ b/library/cpp/xml/document/CMakeLists.darwin.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-xml-document)
+target_link_libraries(cpp-xml-document PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-xml-init
+ contrib-libs-libxml
+ cpp-string_utils-ztstrbuf
+)
+target_sources(cpp-xml-document PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-document.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-textreader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-options.cpp
+)
diff --git a/library/cpp/xml/document/CMakeLists.linux-aarch64.txt b/library/cpp/xml/document/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..065f09d6a1
--- /dev/null
+++ b/library/cpp/xml/document/CMakeLists.linux-aarch64.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-xml-document)
+target_link_libraries(cpp-xml-document PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-xml-init
+ contrib-libs-libxml
+ cpp-string_utils-ztstrbuf
+)
+target_sources(cpp-xml-document PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-document.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-textreader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-options.cpp
+)
diff --git a/library/cpp/xml/document/CMakeLists.linux.txt b/library/cpp/xml/document/CMakeLists.linux.txt
new file mode 100644
index 0000000000..065f09d6a1
--- /dev/null
+++ b/library/cpp/xml/document/CMakeLists.linux.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-xml-document)
+target_link_libraries(cpp-xml-document PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-xml-init
+ contrib-libs-libxml
+ cpp-string_utils-ztstrbuf
+)
+target_sources(cpp-xml-document PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-document.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-textreader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-options.cpp
+)
diff --git a/library/cpp/xml/document/CMakeLists.txt b/library/cpp/xml/document/CMakeLists.txt
index 70c3d7eb5d..3e0811fb22 100644
--- a/library/cpp/xml/document/CMakeLists.txt
+++ b/library/cpp/xml/document/CMakeLists.txt
@@ -6,17 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-xml-document)
-target_link_libraries(cpp-xml-document PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-xml-init
- contrib-libs-libxml
- cpp-string_utils-ztstrbuf
-)
-target_sources(cpp-xml-document PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-document.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-textreader.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-options.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/xml/init/CMakeLists.darwin.txt b/library/cpp/xml/init/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..ab81cdf694
--- /dev/null
+++ b/library/cpp/xml/init/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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-xml-init)
+target_link_libraries(cpp-xml-init PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libxml
+ library-cpp-charset
+)
+target_sources(cpp-xml-init PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/init/ptr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/init/init.cpp
+)
diff --git a/library/cpp/xml/init/CMakeLists.linux-aarch64.txt b/library/cpp/xml/init/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..ac25e7a633
--- /dev/null
+++ b/library/cpp/xml/init/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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-xml-init)
+target_link_libraries(cpp-xml-init PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libxml
+ library-cpp-charset
+)
+target_sources(cpp-xml-init PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/init/ptr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/init/init.cpp
+)
diff --git a/library/cpp/xml/init/CMakeLists.linux.txt b/library/cpp/xml/init/CMakeLists.linux.txt
new file mode 100644
index 0000000000..ac25e7a633
--- /dev/null
+++ b/library/cpp/xml/init/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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-xml-init)
+target_link_libraries(cpp-xml-init PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libxml
+ library-cpp-charset
+)
+target_sources(cpp-xml-init PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/init/ptr.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/xml/init/init.cpp
+)
diff --git a/library/cpp/xml/init/CMakeLists.txt b/library/cpp/xml/init/CMakeLists.txt
index ab81cdf694..3e0811fb22 100644
--- a/library/cpp/xml/init/CMakeLists.txt
+++ b/library/cpp/xml/init/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-xml-init)
-target_link_libraries(cpp-xml-init PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-libxml
- library-cpp-charset
-)
-target_sources(cpp-xml-init PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/xml/init/ptr.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/xml/init/init.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/yaml/as/CMakeLists.darwin.txt b/library/cpp/yaml/as/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..15208c8a09
--- /dev/null
+++ b/library/cpp/yaml/as/CMakeLists.darwin.txt
@@ -0,0 +1,15 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yaml-as INTERFACE)
+target_link_libraries(cpp-yaml-as INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-yaml-cpp
+)
diff --git a/library/cpp/yaml/as/CMakeLists.linux-aarch64.txt b/library/cpp/yaml/as/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..1a15d1cbb5
--- /dev/null
+++ b/library/cpp/yaml/as/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,16 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yaml-as INTERFACE)
+target_link_libraries(cpp-yaml-as INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-yaml-cpp
+)
diff --git a/library/cpp/yaml/as/CMakeLists.linux.txt b/library/cpp/yaml/as/CMakeLists.linux.txt
new file mode 100644
index 0000000000..1a15d1cbb5
--- /dev/null
+++ b/library/cpp/yaml/as/CMakeLists.linux.txt
@@ -0,0 +1,16 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yaml-as INTERFACE)
+target_link_libraries(cpp-yaml-as INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-yaml-cpp
+)
diff --git a/library/cpp/yaml/as/CMakeLists.txt b/library/cpp/yaml/as/CMakeLists.txt
index 15208c8a09..3e0811fb22 100644
--- a/library/cpp/yaml/as/CMakeLists.txt
+++ b/library/cpp/yaml/as/CMakeLists.txt
@@ -6,10 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-yaml-as INTERFACE)
-target_link_libraries(cpp-yaml-as INTERFACE
- contrib-libs-cxxsupp
- yutil
- contrib-libs-yaml-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/yson/CMakeLists.darwin.txt b/library/cpp/yson/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..43fd932e00
--- /dev/null
+++ b/library/cpp/yson/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_subdirectory(json)
+add_subdirectory(node)
+
+add_library(library-cpp-yson)
+target_link_libraries(library-cpp-yson PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-misc
+ cpp-yt-yson
+)
+target_sources(library-cpp-yson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/consumer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/lexer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/parser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/token.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/tokenizer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/varint.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/writer.cpp
+)
diff --git a/library/cpp/yson/CMakeLists.linux-aarch64.txt b/library/cpp/yson/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..cb0e85ac4c
--- /dev/null
+++ b/library/cpp/yson/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,28 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(json)
+add_subdirectory(node)
+
+add_library(library-cpp-yson)
+target_link_libraries(library-cpp-yson PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-misc
+ cpp-yt-yson
+)
+target_sources(library-cpp-yson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/consumer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/lexer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/parser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/token.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/tokenizer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/varint.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/writer.cpp
+)
diff --git a/library/cpp/yson/CMakeLists.linux.txt b/library/cpp/yson/CMakeLists.linux.txt
new file mode 100644
index 0000000000..cb0e85ac4c
--- /dev/null
+++ b/library/cpp/yson/CMakeLists.linux.txt
@@ -0,0 +1,28 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(json)
+add_subdirectory(node)
+
+add_library(library-cpp-yson)
+target_link_libraries(library-cpp-yson PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-misc
+ cpp-yt-yson
+)
+target_sources(library-cpp-yson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/consumer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/lexer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/parser.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/token.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/tokenizer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/varint.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/writer.cpp
+)
diff --git a/library/cpp/yson/CMakeLists.txt b/library/cpp/yson/CMakeLists.txt
index 43fd932e00..3e0811fb22 100644
--- a/library/cpp/yson/CMakeLists.txt
+++ b/library/cpp/yson/CMakeLists.txt
@@ -6,22 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(json)
-add_subdirectory(node)
-
-add_library(library-cpp-yson)
-target_link_libraries(library-cpp-yson PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-yt-misc
- cpp-yt-yson
-)
-target_sources(library-cpp-yson PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/consumer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/lexer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/parser.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/token.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/tokenizer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/varint.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/writer.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/yson/json/CMakeLists.darwin.txt b/library/cpp/yson/json/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..db7d840a8c
--- /dev/null
+++ b/library/cpp/yson/json/CMakeLists.darwin.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-yson-json)
+target_link_libraries(cpp-yson-json PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+)
+target_sources(cpp-yson-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/json/json_writer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/json/yson2json_adapter.cpp
+)
diff --git a/library/cpp/yson/json/CMakeLists.linux-aarch64.txt b/library/cpp/yson/json/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..9f35005043
--- /dev/null
+++ b/library/cpp/yson/json/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,20 @@
+
+# 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-yson-json)
+target_link_libraries(cpp-yson-json PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+)
+target_sources(cpp-yson-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/json/json_writer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/json/yson2json_adapter.cpp
+)
diff --git a/library/cpp/yson/json/CMakeLists.linux.txt b/library/cpp/yson/json/CMakeLists.linux.txt
new file mode 100644
index 0000000000..9f35005043
--- /dev/null
+++ b/library/cpp/yson/json/CMakeLists.linux.txt
@@ -0,0 +1,20 @@
+
+# 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-yson-json)
+target_link_libraries(cpp-yson-json PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-json
+)
+target_sources(cpp-yson-json PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/json/json_writer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/json/yson2json_adapter.cpp
+)
diff --git a/library/cpp/yson/json/CMakeLists.txt b/library/cpp/yson/json/CMakeLists.txt
index db7d840a8c..3e0811fb22 100644
--- a/library/cpp/yson/json/CMakeLists.txt
+++ b/library/cpp/yson/json/CMakeLists.txt
@@ -6,14 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-yson-json)
-target_link_libraries(cpp-yson-json PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-json
-)
-target_sources(cpp-yson-json PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/json/json_writer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/json/yson2json_adapter.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/yson/node/CMakeLists.darwin.txt b/library/cpp/yson/node/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..840ee5556c
--- /dev/null
+++ b/library/cpp/yson/node/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(cpp-yson-node)
+target_link_libraries(cpp-yson-node PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-yson
+ cpp-yson-json
+)
+target_sources(cpp-yson-node PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_builder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_visitor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/serialize.cpp
+)
+generate_enum_serilization(cpp-yson-node
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node.h
+ INCLUDE_HEADERS
+ library/cpp/yson/node/node.h
+)
diff --git a/library/cpp/yson/node/CMakeLists.linux-aarch64.txt b/library/cpp/yson/node/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..0109cb519b
--- /dev/null
+++ b/library/cpp/yson/node/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.
+
+
+
+add_library(cpp-yson-node)
+target_link_libraries(cpp-yson-node PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-yson
+ cpp-yson-json
+)
+target_sources(cpp-yson-node PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_builder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_visitor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/serialize.cpp
+)
+generate_enum_serilization(cpp-yson-node
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node.h
+ INCLUDE_HEADERS
+ library/cpp/yson/node/node.h
+)
diff --git a/library/cpp/yson/node/CMakeLists.linux.txt b/library/cpp/yson/node/CMakeLists.linux.txt
new file mode 100644
index 0000000000..0109cb519b
--- /dev/null
+++ b/library/cpp/yson/node/CMakeLists.linux.txt
@@ -0,0 +1,30 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yson-node)
+target_link_libraries(cpp-yson-node PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-yson
+ cpp-yson-json
+)
+target_sources(cpp-yson-node PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_builder.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_visitor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/serialize.cpp
+)
+generate_enum_serilization(cpp-yson-node
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node.h
+ INCLUDE_HEADERS
+ library/cpp/yson/node/node.h
+)
diff --git a/library/cpp/yson/node/CMakeLists.txt b/library/cpp/yson/node/CMakeLists.txt
index 840ee5556c..3e0811fb22 100644
--- a/library/cpp/yson/node/CMakeLists.txt
+++ b/library/cpp/yson/node/CMakeLists.txt
@@ -6,24 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-yson-node)
-target_link_libraries(cpp-yson-node PUBLIC
- contrib-libs-cxxsupp
- yutil
- tools-enum_parser-enum_serialization_runtime
- library-cpp-yson
- cpp-yson-json
-)
-target_sources(cpp-yson-node PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_io.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_builder.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node_visitor.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/serialize.cpp
-)
-generate_enum_serilization(cpp-yson-node
- ${CMAKE_SOURCE_DIR}/library/cpp/yson/node/node.h
- INCLUDE_HEADERS
- library/cpp/yson/node/node.h
-)
+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/yson_pull/CMakeLists.darwin.txt b/library/cpp/yson_pull/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..342f1532a8
--- /dev/null
+++ b/library/cpp/yson_pull/CMakeLists.darwin.txt
@@ -0,0 +1,36 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(yson_pull)
+target_link_libraries(yson_pull PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(yson_pull PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/consumer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/exceptions.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/input.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/read_ops.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/reader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/scalar.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/writer.cpp
+)
+generate_enum_serilization(yson_pull
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/event.h
+ INCLUDE_HEADERS
+ library/cpp/yson_pull/event.h
+)
+generate_enum_serilization(yson_pull
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/scalar.h
+ INCLUDE_HEADERS
+ library/cpp/yson_pull/scalar.h
+)
diff --git a/library/cpp/yson_pull/CMakeLists.linux-aarch64.txt b/library/cpp/yson_pull/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..77a975edd5
--- /dev/null
+++ b/library/cpp/yson_pull/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,37 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(yson_pull)
+target_link_libraries(yson_pull PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(yson_pull PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/consumer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/exceptions.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/input.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/read_ops.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/reader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/scalar.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/writer.cpp
+)
+generate_enum_serilization(yson_pull
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/event.h
+ INCLUDE_HEADERS
+ library/cpp/yson_pull/event.h
+)
+generate_enum_serilization(yson_pull
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/scalar.h
+ INCLUDE_HEADERS
+ library/cpp/yson_pull/scalar.h
+)
diff --git a/library/cpp/yson_pull/CMakeLists.linux.txt b/library/cpp/yson_pull/CMakeLists.linux.txt
new file mode 100644
index 0000000000..77a975edd5
--- /dev/null
+++ b/library/cpp/yson_pull/CMakeLists.linux.txt
@@ -0,0 +1,37 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(yson_pull)
+target_link_libraries(yson_pull PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(yson_pull PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/consumer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/exceptions.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/input.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/output.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/read_ops.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/reader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/scalar.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/writer.cpp
+)
+generate_enum_serilization(yson_pull
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/event.h
+ INCLUDE_HEADERS
+ library/cpp/yson_pull/event.h
+)
+generate_enum_serilization(yson_pull
+ ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/scalar.h
+ INCLUDE_HEADERS
+ library/cpp/yson_pull/scalar.h
+)
diff --git a/library/cpp/yson_pull/CMakeLists.txt b/library/cpp/yson_pull/CMakeLists.txt
index 342f1532a8..3e0811fb22 100644
--- a/library/cpp/yson_pull/CMakeLists.txt
+++ b/library/cpp/yson_pull/CMakeLists.txt
@@ -6,31 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(yson_pull)
-target_link_libraries(yson_pull PUBLIC
- contrib-libs-cxxsupp
- yutil
- tools-enum_parser-enum_serialization_runtime
-)
-target_sources(yson_pull PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/consumer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/event.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/exceptions.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/input.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/output.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/read_ops.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/reader.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/scalar.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/writer.cpp
-)
-generate_enum_serilization(yson_pull
- ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/event.h
- INCLUDE_HEADERS
- library/cpp/yson_pull/event.h
-)
-generate_enum_serilization(yson_pull
- ${CMAKE_SOURCE_DIR}/library/cpp/yson_pull/scalar.h
- INCLUDE_HEADERS
- library/cpp/yson_pull/scalar.h
-)
+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/yt/assert/CMakeLists.darwin.txt b/library/cpp/yt/assert/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..8ca8806a6b
--- /dev/null
+++ b/library/cpp/yt/assert/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-yt-assert)
+target_link_libraries(cpp-yt-assert PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-yt-assert PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/assert/assert.cpp
+)
diff --git a/library/cpp/yt/assert/CMakeLists.linux-aarch64.txt b/library/cpp/yt/assert/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..0b8a65aa51
--- /dev/null
+++ b/library/cpp/yt/assert/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-yt-assert)
+target_link_libraries(cpp-yt-assert PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-yt-assert PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/assert/assert.cpp
+)
diff --git a/library/cpp/yt/assert/CMakeLists.linux.txt b/library/cpp/yt/assert/CMakeLists.linux.txt
new file mode 100644
index 0000000000..0b8a65aa51
--- /dev/null
+++ b/library/cpp/yt/assert/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-yt-assert)
+target_link_libraries(cpp-yt-assert PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-yt-assert PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/assert/assert.cpp
+)
diff --git a/library/cpp/yt/assert/CMakeLists.txt b/library/cpp/yt/assert/CMakeLists.txt
index 8ca8806a6b..3e0811fb22 100644
--- a/library/cpp/yt/assert/CMakeLists.txt
+++ b/library/cpp/yt/assert/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-yt-assert)
-target_link_libraries(cpp-yt-assert PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-yt-assert PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/assert/assert.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/yt/coding/CMakeLists.darwin.txt b/library/cpp/yt/coding/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..0bd06ca740
--- /dev/null
+++ b/library/cpp/yt/coding/CMakeLists.darwin.txt
@@ -0,0 +1,15 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yt-coding INTERFACE)
+target_link_libraries(cpp-yt-coding INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-exception
+)
diff --git a/library/cpp/yt/coding/CMakeLists.linux-aarch64.txt b/library/cpp/yt/coding/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a59dc2d3f5
--- /dev/null
+++ b/library/cpp/yt/coding/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,16 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yt-coding INTERFACE)
+target_link_libraries(cpp-yt-coding INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-exception
+)
diff --git a/library/cpp/yt/coding/CMakeLists.linux.txt b/library/cpp/yt/coding/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a59dc2d3f5
--- /dev/null
+++ b/library/cpp/yt/coding/CMakeLists.linux.txt
@@ -0,0 +1,16 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yt-coding INTERFACE)
+target_link_libraries(cpp-yt-coding INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-exception
+)
diff --git a/library/cpp/yt/coding/CMakeLists.txt b/library/cpp/yt/coding/CMakeLists.txt
index 0bd06ca740..3e0811fb22 100644
--- a/library/cpp/yt/coding/CMakeLists.txt
+++ b/library/cpp/yt/coding/CMakeLists.txt
@@ -6,10 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-yt-coding INTERFACE)
-target_link_libraries(cpp-yt-coding INTERFACE
- contrib-libs-cxxsupp
- yutil
- cpp-yt-exception
-)
+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/yt/exception/CMakeLists.darwin.txt b/library/cpp/yt/exception/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..591a7a21d1
--- /dev/null
+++ b/library/cpp/yt/exception/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-yt-exception)
+target_link_libraries(cpp-yt-exception PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-yt-exception PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/exception/exception.cpp
+)
diff --git a/library/cpp/yt/exception/CMakeLists.linux-aarch64.txt b/library/cpp/yt/exception/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..cb0d36b8c7
--- /dev/null
+++ b/library/cpp/yt/exception/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-yt-exception)
+target_link_libraries(cpp-yt-exception PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-yt-exception PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/exception/exception.cpp
+)
diff --git a/library/cpp/yt/exception/CMakeLists.linux.txt b/library/cpp/yt/exception/CMakeLists.linux.txt
new file mode 100644
index 0000000000..cb0d36b8c7
--- /dev/null
+++ b/library/cpp/yt/exception/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-yt-exception)
+target_link_libraries(cpp-yt-exception PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-yt-exception PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/exception/exception.cpp
+)
diff --git a/library/cpp/yt/exception/CMakeLists.txt b/library/cpp/yt/exception/CMakeLists.txt
index 591a7a21d1..3e0811fb22 100644
--- a/library/cpp/yt/exception/CMakeLists.txt
+++ b/library/cpp/yt/exception/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-yt-exception)
-target_link_libraries(cpp-yt-exception PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-yt-exception PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/exception/exception.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/yt/malloc/CMakeLists.darwin.txt b/library/cpp/yt/malloc/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..60ae2a46b3
--- /dev/null
+++ b/library/cpp/yt/malloc/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-yt-malloc)
+target_link_libraries(cpp-yt-malloc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-yt-malloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/malloc/malloc.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/malloc/dummy_malloc.cpp
+)
diff --git a/library/cpp/yt/malloc/CMakeLists.linux-aarch64.txt b/library/cpp/yt/malloc/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..172e050130
--- /dev/null
+++ b/library/cpp/yt/malloc/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-yt-malloc)
+target_link_libraries(cpp-yt-malloc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-yt-malloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/malloc/malloc.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/malloc/dummy_malloc.cpp
+)
diff --git a/library/cpp/yt/malloc/CMakeLists.linux.txt b/library/cpp/yt/malloc/CMakeLists.linux.txt
new file mode 100644
index 0000000000..172e050130
--- /dev/null
+++ b/library/cpp/yt/malloc/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-yt-malloc)
+target_link_libraries(cpp-yt-malloc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-yt-malloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/malloc/malloc.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/malloc/dummy_malloc.cpp
+)
diff --git a/library/cpp/yt/malloc/CMakeLists.txt b/library/cpp/yt/malloc/CMakeLists.txt
index 60ae2a46b3..3e0811fb22 100644
--- a/library/cpp/yt/malloc/CMakeLists.txt
+++ b/library/cpp/yt/malloc/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-yt-malloc)
-target_link_libraries(cpp-yt-malloc PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(cpp-yt-malloc PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/malloc/malloc.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/malloc/dummy_malloc.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/yt/memory/CMakeLists.darwin.txt b/library/cpp/yt/memory/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..5bcfddec02
--- /dev/null
+++ b/library/cpp/yt/memory/CMakeLists.darwin.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-yt-memory)
+target_link_libraries(cpp-yt-memory PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-assert
+ cpp-yt-misc
+ cpp-yt-malloc
+)
+target_sources(cpp-yt-memory PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/blob.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_output_stream.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref_tracked.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/shared_range.cpp
+)
diff --git a/library/cpp/yt/memory/CMakeLists.linux-aarch64.txt b/library/cpp/yt/memory/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..0e7c58d94f
--- /dev/null
+++ b/library/cpp/yt/memory/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yt-memory)
+target_link_libraries(cpp-yt-memory PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-assert
+ cpp-yt-misc
+ cpp-yt-malloc
+)
+target_sources(cpp-yt-memory PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/blob.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_output_stream.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref_tracked.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/shared_range.cpp
+)
diff --git a/library/cpp/yt/memory/CMakeLists.linux.txt b/library/cpp/yt/memory/CMakeLists.linux.txt
new file mode 100644
index 0000000000..0e7c58d94f
--- /dev/null
+++ b/library/cpp/yt/memory/CMakeLists.linux.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yt-memory)
+target_link_libraries(cpp-yt-memory PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-assert
+ cpp-yt-misc
+ cpp-yt-malloc
+)
+target_sources(cpp-yt-memory PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/blob.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_output_stream.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref_tracked.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/shared_range.cpp
+)
diff --git a/library/cpp/yt/memory/CMakeLists.txt b/library/cpp/yt/memory/CMakeLists.txt
index 5bcfddec02..3e0811fb22 100644
--- a/library/cpp/yt/memory/CMakeLists.txt
+++ b/library/cpp/yt/memory/CMakeLists.txt
@@ -6,19 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-yt-memory)
-target_link_libraries(cpp-yt-memory PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-yt-assert
- cpp-yt-misc
- cpp-yt-malloc
-)
-target_sources(cpp-yt-memory PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/blob.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_output_stream.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref_tracked.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/shared_range.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/yt/misc/CMakeLists.darwin.txt b/library/cpp/yt/misc/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..696f0f2bed
--- /dev/null
+++ b/library/cpp/yt/misc/CMakeLists.darwin.txt
@@ -0,0 +1,20 @@
+
+# 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-yt-misc)
+target_link_libraries(cpp-yt-misc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-exception
+)
+target_sources(cpp-yt-misc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/guid.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/source_location.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/variant.cpp
+)
diff --git a/library/cpp/yt/misc/CMakeLists.linux-aarch64.txt b/library/cpp/yt/misc/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..833cb57f78
--- /dev/null
+++ b/library/cpp/yt/misc/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,21 @@
+
+# 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-yt-misc)
+target_link_libraries(cpp-yt-misc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-exception
+)
+target_sources(cpp-yt-misc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/guid.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/source_location.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/variant.cpp
+)
diff --git a/library/cpp/yt/misc/CMakeLists.linux.txt b/library/cpp/yt/misc/CMakeLists.linux.txt
new file mode 100644
index 0000000000..833cb57f78
--- /dev/null
+++ b/library/cpp/yt/misc/CMakeLists.linux.txt
@@ -0,0 +1,21 @@
+
+# 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-yt-misc)
+target_link_libraries(cpp-yt-misc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-exception
+)
+target_sources(cpp-yt-misc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/guid.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/source_location.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/variant.cpp
+)
diff --git a/library/cpp/yt/misc/CMakeLists.txt b/library/cpp/yt/misc/CMakeLists.txt
index 696f0f2bed..3e0811fb22 100644
--- a/library/cpp/yt/misc/CMakeLists.txt
+++ b/library/cpp/yt/misc/CMakeLists.txt
@@ -6,15 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-yt-misc)
-target_link_libraries(cpp-yt-misc PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-yt-exception
-)
-target_sources(cpp-yt-misc PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/guid.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/source_location.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/variant.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/yt/small_containers/CMakeLists.darwin.txt b/library/cpp/yt/small_containers/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..241d46e2b9
--- /dev/null
+++ b/library/cpp/yt/small_containers/CMakeLists.darwin.txt
@@ -0,0 +1,16 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yt-small_containers INTERFACE)
+target_link_libraries(cpp-yt-small_containers INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-assert
+ cpp-yt-malloc
+)
diff --git a/library/cpp/yt/small_containers/CMakeLists.linux-aarch64.txt b/library/cpp/yt/small_containers/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..2fcce2b44c
--- /dev/null
+++ b/library/cpp/yt/small_containers/CMakeLists.linux-aarch64.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-yt-small_containers INTERFACE)
+target_link_libraries(cpp-yt-small_containers INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-assert
+ cpp-yt-malloc
+)
diff --git a/library/cpp/yt/small_containers/CMakeLists.linux.txt b/library/cpp/yt/small_containers/CMakeLists.linux.txt
new file mode 100644
index 0000000000..2fcce2b44c
--- /dev/null
+++ b/library/cpp/yt/small_containers/CMakeLists.linux.txt
@@ -0,0 +1,17 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yt-small_containers INTERFACE)
+target_link_libraries(cpp-yt-small_containers INTERFACE
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-assert
+ cpp-yt-malloc
+)
diff --git a/library/cpp/yt/small_containers/CMakeLists.txt b/library/cpp/yt/small_containers/CMakeLists.txt
index 241d46e2b9..3e0811fb22 100644
--- a/library/cpp/yt/small_containers/CMakeLists.txt
+++ b/library/cpp/yt/small_containers/CMakeLists.txt
@@ -6,11 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-yt-small_containers INTERFACE)
-target_link_libraries(cpp-yt-small_containers INTERFACE
- contrib-libs-cxxsupp
- yutil
- cpp-yt-assert
- cpp-yt-malloc
-)
+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/yt/string/CMakeLists.darwin.txt b/library/cpp/yt/string/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..4ee8e8324a
--- /dev/null
+++ b/library/cpp/yt/string/CMakeLists.darwin.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-yt-string)
+target_link_libraries(cpp-yt-string PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-assert
+ cpp-yt-exception
+ cpp-yt-misc
+ cpp-yt-small_containers
+)
+target_sources(cpp-yt-string PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/enum.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/guid.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/string.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/format.cpp
+)
diff --git a/library/cpp/yt/string/CMakeLists.linux-aarch64.txt b/library/cpp/yt/string/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..1fb0fe8b80
--- /dev/null
+++ b/library/cpp/yt/string/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yt-string)
+target_link_libraries(cpp-yt-string PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-assert
+ cpp-yt-exception
+ cpp-yt-misc
+ cpp-yt-small_containers
+)
+target_sources(cpp-yt-string PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/enum.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/guid.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/string.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/format.cpp
+)
diff --git a/library/cpp/yt/string/CMakeLists.linux.txt b/library/cpp/yt/string/CMakeLists.linux.txt
new file mode 100644
index 0000000000..1fb0fe8b80
--- /dev/null
+++ b/library/cpp/yt/string/CMakeLists.linux.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yt-string)
+target_link_libraries(cpp-yt-string PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-assert
+ cpp-yt-exception
+ cpp-yt-misc
+ cpp-yt-small_containers
+)
+target_sources(cpp-yt-string PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/enum.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/guid.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/string.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/format.cpp
+)
diff --git a/library/cpp/yt/string/CMakeLists.txt b/library/cpp/yt/string/CMakeLists.txt
index 4ee8e8324a..3e0811fb22 100644
--- a/library/cpp/yt/string/CMakeLists.txt
+++ b/library/cpp/yt/string/CMakeLists.txt
@@ -6,19 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-yt-string)
-target_link_libraries(cpp-yt-string PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-yt-assert
- cpp-yt-exception
- cpp-yt-misc
- cpp-yt-small_containers
-)
-target_sources(cpp-yt-string PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/enum.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/guid.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/string.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/format.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/yt/yson/CMakeLists.darwin.txt b/library/cpp/yt/yson/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..b4d5d72a0b
--- /dev/null
+++ b/library/cpp/yt/yson/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-yt-yson)
+target_link_libraries(cpp-yt-yson PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-yson_string
+)
+target_sources(cpp-yt-yson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson/consumer.cpp
+)
diff --git a/library/cpp/yt/yson/CMakeLists.linux-aarch64.txt b/library/cpp/yt/yson/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..97c2e3d83b
--- /dev/null
+++ b/library/cpp/yt/yson/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-yt-yson)
+target_link_libraries(cpp-yt-yson PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-yson_string
+)
+target_sources(cpp-yt-yson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson/consumer.cpp
+)
diff --git a/library/cpp/yt/yson/CMakeLists.linux.txt b/library/cpp/yt/yson/CMakeLists.linux.txt
new file mode 100644
index 0000000000..97c2e3d83b
--- /dev/null
+++ b/library/cpp/yt/yson/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-yt-yson)
+target_link_libraries(cpp-yt-yson PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-yson_string
+)
+target_sources(cpp-yt-yson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson/consumer.cpp
+)
diff --git a/library/cpp/yt/yson/CMakeLists.txt b/library/cpp/yt/yson/CMakeLists.txt
index b4d5d72a0b..3e0811fb22 100644
--- a/library/cpp/yt/yson/CMakeLists.txt
+++ b/library/cpp/yt/yson/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-yt-yson)
-target_link_libraries(cpp-yt-yson PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-yt-yson_string
-)
-target_sources(cpp-yt-yson PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson/consumer.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/yt/yson_string/CMakeLists.darwin.txt b/library/cpp/yt/yson_string/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..d2938dc9a3
--- /dev/null
+++ b/library/cpp/yt/yson_string/CMakeLists.darwin.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-yt-yson_string)
+target_link_libraries(cpp-yt-yson_string PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-assert
+ cpp-yt-coding
+ cpp-yt-exception
+ cpp-yt-string
+ cpp-yt-memory
+ cpp-yt-misc
+)
+target_sources(cpp-yt-yson_string PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson_string/convert.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson_string/string.cpp
+)
diff --git a/library/cpp/yt/yson_string/CMakeLists.linux-aarch64.txt b/library/cpp/yt/yson_string/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..85300a3794
--- /dev/null
+++ b/library/cpp/yt/yson_string/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yt-yson_string)
+target_link_libraries(cpp-yt-yson_string PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-assert
+ cpp-yt-coding
+ cpp-yt-exception
+ cpp-yt-string
+ cpp-yt-memory
+ cpp-yt-misc
+)
+target_sources(cpp-yt-yson_string PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson_string/convert.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson_string/string.cpp
+)
diff --git a/library/cpp/yt/yson_string/CMakeLists.linux.txt b/library/cpp/yt/yson_string/CMakeLists.linux.txt
new file mode 100644
index 0000000000..85300a3794
--- /dev/null
+++ b/library/cpp/yt/yson_string/CMakeLists.linux.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-yt-yson_string)
+target_link_libraries(cpp-yt-yson_string PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-assert
+ cpp-yt-coding
+ cpp-yt-exception
+ cpp-yt-string
+ cpp-yt-memory
+ cpp-yt-misc
+)
+target_sources(cpp-yt-yson_string PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson_string/convert.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson_string/string.cpp
+)
diff --git a/library/cpp/yt/yson_string/CMakeLists.txt b/library/cpp/yt/yson_string/CMakeLists.txt
index d2938dc9a3..3e0811fb22 100644
--- a/library/cpp/yt/yson_string/CMakeLists.txt
+++ b/library/cpp/yt/yson_string/CMakeLists.txt
@@ -6,19 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-yt-yson_string)
-target_link_libraries(cpp-yt-yson_string PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-yt-assert
- cpp-yt-coding
- cpp-yt-exception
- cpp-yt-string
- cpp-yt-memory
- cpp-yt-misc
-)
-target_sources(cpp-yt-yson_string PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson_string/convert.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson_string/string.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/ytalloc/api/CMakeLists.darwin.txt b/library/cpp/ytalloc/api/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..f7e8469f72
--- /dev/null
+++ b/library/cpp/ytalloc/api/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-ytalloc-api)
+target_link_libraries(cpp-ytalloc-api PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-misc
+)
+target_sources(cpp-ytalloc-api PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/ytalloc/api/fallback.cpp
+)
diff --git a/library/cpp/ytalloc/api/CMakeLists.linux-aarch64.txt b/library/cpp/ytalloc/api/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..c19ef0c292
--- /dev/null
+++ b/library/cpp/ytalloc/api/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-ytalloc-api)
+target_link_libraries(cpp-ytalloc-api PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-misc
+)
+target_sources(cpp-ytalloc-api PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/ytalloc/api/fallback.cpp
+)
diff --git a/library/cpp/ytalloc/api/CMakeLists.linux.txt b/library/cpp/ytalloc/api/CMakeLists.linux.txt
new file mode 100644
index 0000000000..c19ef0c292
--- /dev/null
+++ b/library/cpp/ytalloc/api/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-ytalloc-api)
+target_link_libraries(cpp-ytalloc-api PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-misc
+)
+target_sources(cpp-ytalloc-api PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/ytalloc/api/fallback.cpp
+)
diff --git a/library/cpp/ytalloc/api/CMakeLists.txt b/library/cpp/ytalloc/api/CMakeLists.txt
index f7e8469f72..3e0811fb22 100644
--- a/library/cpp/ytalloc/api/CMakeLists.txt
+++ b/library/cpp/ytalloc/api/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-ytalloc-api)
-target_link_libraries(cpp-ytalloc-api PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-yt-misc
-)
-target_sources(cpp-ytalloc-api PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/ytalloc/api/fallback.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()