aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 15:49:59 +0300
commitb4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch)
tree6a64ab25a145265287789bceed3f59e953561206 /library/cpp
parent5e837a820d5be0671fa4096a1cc1e378453e5132 (diff)
downloadydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'library/cpp')
-rw-r--r--library/cpp/actors/core/CMakeLists.txt60
-rw-r--r--library/cpp/actors/dnscachelib/CMakeLists.txt13
-rw-r--r--library/cpp/actors/dnsresolver/CMakeLists.txt17
-rw-r--r--library/cpp/actors/helpers/CMakeLists.txt12
-rw-r--r--library/cpp/actors/http/CMakeLists.txt22
-rw-r--r--library/cpp/actors/interconnect/CMakeLists.txt48
-rw-r--r--library/cpp/actors/interconnect/mock/CMakeLists.txt9
-rw-r--r--library/cpp/actors/memory_log/CMakeLists.txt11
-rw-r--r--library/cpp/actors/prof/CMakeLists.txt11
-rw-r--r--library/cpp/actors/protos/CMakeLists.txt16
-rw-r--r--library/cpp/actors/testlib/CMakeLists.txt13
-rw-r--r--library/cpp/actors/util/CMakeLists.txt10
-rw-r--r--library/cpp/actors/wilson/CMakeLists.txt6
-rw-r--r--library/cpp/archive/CMakeLists.txt9
-rw-r--r--library/cpp/binsaver/CMakeLists.txt13
-rw-r--r--library/cpp/bit_io/CMakeLists.txt11
-rw-r--r--library/cpp/blockcodecs/CMakeLists.txt19
-rw-r--r--library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt13
-rw-r--r--library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt12
-rw-r--r--library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt12
-rw-r--r--library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt12
-rw-r--r--library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt13
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt12
-rw-r--r--library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt12
-rw-r--r--library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt14
-rw-r--r--library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt12
-rw-r--r--library/cpp/blockcodecs/core/CMakeLists.txt9
-rw-r--r--library/cpp/bucket_quoter/CMakeLists.txt8
-rw-r--r--library/cpp/build_info/CMakeLists.txt48
-rw-r--r--library/cpp/cache/CMakeLists.txt9
-rw-r--r--library/cpp/case_insensitive_string/CMakeLists.txt11
-rw-r--r--library/cpp/cgiparam/CMakeLists.txt11
-rw-r--r--library/cpp/charset/CMakeLists.txt18
-rw-r--r--library/cpp/codecs/CMakeLists.txt26
-rw-r--r--library/cpp/codecs/greedy_dict/CMakeLists.txt11
-rw-r--r--library/cpp/colorizer/CMakeLists.txt9
-rw-r--r--library/cpp/compproto/CMakeLists.txt8
-rw-r--r--library/cpp/comptable/CMakeLists.txt9
-rw-r--r--library/cpp/containers/2d_array/CMakeLists.txt8
-rw-r--r--library/cpp/containers/atomizer/CMakeLists.txt9
-rw-r--r--library/cpp/containers/bitseq/CMakeLists.txt11
-rw-r--r--library/cpp/containers/compact_vector/CMakeLists.txt8
-rw-r--r--library/cpp/containers/comptrie/CMakeLists.txt22
-rw-r--r--library/cpp/containers/disjoint_interval_tree/CMakeLists.txt8
-rw-r--r--library/cpp/containers/flat_hash/CMakeLists.txt9
-rw-r--r--library/cpp/containers/flat_hash/lib/CMakeLists.txt16
-rw-r--r--library/cpp/containers/intrusive_rb_tree/CMakeLists.txt8
-rw-r--r--library/cpp/containers/paged_vector/CMakeLists.txt8
-rw-r--r--library/cpp/containers/ring_buffer/CMakeLists.txt8
-rw-r--r--library/cpp/containers/sorted_vector/CMakeLists.txt8
-rw-r--r--library/cpp/containers/stack_array/CMakeLists.txt9
-rw-r--r--library/cpp/containers/stack_vector/CMakeLists.txt8
-rw-r--r--library/cpp/containers/str_map/CMakeLists.txt8
-rw-r--r--library/cpp/containers/top_keeper/CMakeLists.txt8
-rw-r--r--library/cpp/coroutine/engine/CMakeLists.txt33
-rw-r--r--library/cpp/coroutine/listener/CMakeLists.txt9
-rw-r--r--library/cpp/cppparser/CMakeLists.txt8
-rw-r--r--library/cpp/cpuid_check/CMakeLists.txt10
-rw-r--r--library/cpp/dbg_output/CMakeLists.txt11
-rw-r--r--library/cpp/deprecated/accessors/CMakeLists.txt10
-rw-r--r--library/cpp/deprecated/enum_codegen/CMakeLists.txt8
-rw-r--r--library/cpp/deprecated/kmp/CMakeLists.txt8
-rw-r--r--library/cpp/deprecated/split/CMakeLists.txt10
-rw-r--r--library/cpp/diff/CMakeLists.txt10
-rw-r--r--library/cpp/digest/argonish/CMakeLists.txt14
-rw-r--r--library/cpp/digest/argonish/internal/argon2/CMakeLists.txt7
-rw-r--r--library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt6
-rw-r--r--library/cpp/digest/argonish/internal/blamka/CMakeLists.txt6
-rw-r--r--library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt19
-rw-r--r--library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt5
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt10
-rw-r--r--library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt18
-rw-r--r--library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt18
-rw-r--r--library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt18
-rw-r--r--library/cpp/digest/argonish/internal/rotations/CMakeLists.txt5
-rw-r--r--library/cpp/digest/crc32c/CMakeLists.txt9
-rw-r--r--library/cpp/digest/lower_case/CMakeLists.txt10
-rw-r--r--library/cpp/digest/md5/CMakeLists.txt10
-rw-r--r--library/cpp/digest/murmur/CMakeLists.txt8
-rw-r--r--library/cpp/digest/old_crc/CMakeLists.txt21
-rw-r--r--library/cpp/digest/old_crc/gencrc/CMakeLists.txt16
-rw-r--r--library/cpp/digest/sfh/CMakeLists.txt8
-rw-r--r--library/cpp/dns/CMakeLists.txt10
-rw-r--r--library/cpp/enumbitset/CMakeLists.txt8
-rw-r--r--library/cpp/execprofile/CMakeLists.txt8
-rw-r--r--library/cpp/getopt/CMakeLists.txt13
-rw-r--r--library/cpp/getopt/small/CMakeLists.txt24
-rw-r--r--library/cpp/grpc/client/CMakeLists.txt9
-rw-r--r--library/cpp/grpc/server/CMakeLists.txt19
-rw-r--r--library/cpp/grpc/server/actors/CMakeLists.txt9
-rw-r--r--library/cpp/histogram/adaptive/CMakeLists.txt13
-rw-r--r--library/cpp/histogram/adaptive/protos/CMakeLists.txt13
-rw-r--r--library/cpp/histogram/hdr/CMakeLists.txt10
-rw-r--r--library/cpp/html/escape/CMakeLists.txt8
-rw-r--r--library/cpp/html/pcdata/CMakeLists.txt8
-rw-r--r--library/cpp/http/fetch/CMakeLists.txt32
-rw-r--r--library/cpp/http/io/CMakeLists.txt15
-rw-r--r--library/cpp/http/misc/CMakeLists.txt20
-rw-r--r--library/cpp/http/server/CMakeLists.txt15
-rw-r--r--library/cpp/hyperloglog/CMakeLists.txt8
-rw-r--r--library/cpp/int128/CMakeLists.txt8
-rw-r--r--library/cpp/ipmath/CMakeLists.txt10
-rw-r--r--library/cpp/ipv6_address/CMakeLists.txt9
-rw-r--r--library/cpp/iterator/CMakeLists.txt16
-rw-r--r--library/cpp/json/CMakeLists.txt16
-rw-r--r--library/cpp/json/common/CMakeLists.txt8
-rw-r--r--library/cpp/json/easy_parse/CMakeLists.txt9
-rw-r--r--library/cpp/json/fast_sax/CMakeLists.txt14
-rw-r--r--library/cpp/json/writer/CMakeLists.txt16
-rw-r--r--library/cpp/json/yson/CMakeLists.txt11
-rw-r--r--library/cpp/lcs/CMakeLists.txt9
-rw-r--r--library/cpp/lfalloc/alloc_profiler/CMakeLists.txt11
-rw-r--r--library/cpp/lfalloc/dbg_info/CMakeLists.txt9
-rw-r--r--library/cpp/logger/CMakeLists.txt41
-rw-r--r--library/cpp/logger/global/CMakeLists.txt11
-rw-r--r--library/cpp/lwtrace/CMakeLists.txt21
-rw-r--r--library/cpp/lwtrace/mon/CMakeLists.txt92
-rw-r--r--library/cpp/lwtrace/mon/analytics/CMakeLists.txt8
-rw-r--r--library/cpp/lwtrace/protos/CMakeLists.txt13
-rw-r--r--library/cpp/malloc/api/CMakeLists.txt7
-rw-r--r--library/cpp/malloc/jemalloc/CMakeLists.txt9
-rw-r--r--library/cpp/malloc/system/malloc-info.cpp9
-rw-r--r--library/cpp/malloc/system/ya.make17
-rw-r--r--library/cpp/malloc/tcmalloc/CMakeLists.txt9
-rw-r--r--library/cpp/messagebus/CMakeLists.txt54
-rw-r--r--library/cpp/messagebus/actor/CMakeLists.txt10
-rw-r--r--library/cpp/messagebus/config/CMakeLists.txt11
-rw-r--r--library/cpp/messagebus/monitoring/CMakeLists.txt14
-rw-r--r--library/cpp/messagebus/oldmodule/CMakeLists.txt11
-rw-r--r--library/cpp/messagebus/protobuf/CMakeLists.txt11
-rw-r--r--library/cpp/messagebus/scheduler/CMakeLists.txt9
-rw-r--r--library/cpp/messagebus/www/CMakeLists.txt33
-rw-r--r--library/cpp/mime/types/CMakeLists.txt14
-rw-r--r--library/cpp/monlib/deprecated/json/CMakeLists.txt9
-rw-r--r--library/cpp/monlib/dynamic_counters/CMakeLists.txt18
-rw-r--r--library/cpp/monlib/dynamic_counters/percentile/CMakeLists.txt7
-rw-r--r--library/cpp/monlib/encode/CMakeLists.txt19
-rw-r--r--library/cpp/monlib/encode/buffered/CMakeLists.txt11
-rw-r--r--library/cpp/monlib/encode/json/CMakeLists.txt14
-rw-r--r--library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt13
-rw-r--r--library/cpp/monlib/encode/prometheus/CMakeLists.txt10
-rw-r--r--library/cpp/monlib/encode/spack/CMakeLists.txt19
-rw-r--r--library/cpp/monlib/encode/text/CMakeLists.txt9
-rw-r--r--library/cpp/monlib/exception/CMakeLists.txt8
-rw-r--r--library/cpp/monlib/messagebus/CMakeLists.txt12
-rw-r--r--library/cpp/monlib/metrics/CMakeLists.txt28
-rw-r--r--library/cpp/monlib/service/CMakeLists.txt24
-rw-r--r--library/cpp/monlib/service/pages/CMakeLists.txt25
-rw-r--r--library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt21
-rw-r--r--library/cpp/on_disk/chunks/CMakeLists.txt10
-rw-r--r--library/cpp/openssl/holders/CMakeLists.txt12
-rw-r--r--library/cpp/openssl/init/CMakeLists.txt11
-rw-r--r--library/cpp/openssl/io/CMakeLists.txt14
-rw-r--r--library/cpp/openssl/method/CMakeLists.txt12
-rw-r--r--library/cpp/packedtypes/CMakeLists.txt10
-rw-r--r--library/cpp/packers/CMakeLists.txt10
-rw-r--r--library/cpp/pop_count/CMakeLists.txt8
-rw-r--r--library/cpp/protobuf/interop/CMakeLists.txt9
-rw-r--r--library/cpp/protobuf/json/CMakeLists.txt20
-rw-r--r--library/cpp/protobuf/util/CMakeLists.txt17
-rw-r--r--library/cpp/protobuf/util/proto/CMakeLists.txt13
-rw-r--r--library/cpp/random_provider/CMakeLists.txt8
-rw-r--r--library/cpp/regex/hyperscan/CMakeLists.txt13
-rw-r--r--library/cpp/regex/pcre/CMakeLists.txt13
-rw-r--r--library/cpp/regex/pire/CMakeLists.txt36
-rw-r--r--library/cpp/resource/CMakeLists.txt11
-rw-r--r--library/cpp/retry/CMakeLists.txt10
-rw-r--r--library/cpp/retry/protos/CMakeLists.txt13
-rw-r--r--library/cpp/scheme/CMakeLists.txt26
-rw-r--r--library/cpp/sighandler/CMakeLists.txt8
-rw-r--r--library/cpp/sliding_window/CMakeLists.txt8
-rw-r--r--library/cpp/sse/CMakeLists.txt8
-rw-r--r--library/cpp/streams/brotli/CMakeLists.txt10
-rw-r--r--library/cpp/streams/bzip2/CMakeLists.txt9
-rw-r--r--library/cpp/streams/lzma/CMakeLists.txt9
-rw-r--r--library/cpp/streams/zc_memory_input/CMakeLists.txt8
-rw-r--r--library/cpp/streams/zstd/CMakeLists.txt9
-rw-r--r--library/cpp/string_utils/base64/CMakeLists.txt14
-rw-r--r--library/cpp/string_utils/indent_text/CMakeLists.txt8
-rw-r--r--library/cpp/string_utils/levenshtein_diff/CMakeLists.txt9
-rw-r--r--library/cpp/string_utils/parse_size/CMakeLists.txt8
-rw-r--r--library/cpp/string_utils/quote/CMakeLists.txt8
-rw-r--r--library/cpp/string_utils/relaxed_escaper/CMakeLists.txt8
-rw-r--r--library/cpp/string_utils/scan/CMakeLists.txt8
-rw-r--r--library/cpp/string_utils/url/CMakeLists.txt8
-rw-r--r--library/cpp/string_utils/ztstrbuf/CMakeLists.txt8
-rw-r--r--library/cpp/svnversion/CMakeLists.txt9
-rw-r--r--library/cpp/terminate_handler/CMakeLists.txt13
-rw-r--r--library/cpp/testing/common/CMakeLists.txt12
-rw-r--r--library/cpp/testing/gmock_in_unittest/CMakeLists.txt17
-rw-r--r--library/cpp/testing/gtest_extensions/CMakeLists.txt14
-rw-r--r--library/cpp/testing/hook/CMakeLists.txt8
-rw-r--r--library/cpp/testing/unittest/CMakeLists.txt19
-rw-r--r--library/cpp/testing/unittest_main/CMakeLists.txt10
-rw-r--r--library/cpp/threading/equeue/CMakeLists.txt8
-rw-r--r--library/cpp/threading/future/CMakeLists.txt15
-rw-r--r--library/cpp/threading/light_rw_lock/CMakeLists.txt8
-rw-r--r--library/cpp/threading/local_executor/CMakeLists.txt11
-rw-r--r--library/cpp/threading/poor_man_openmp/CMakeLists.txt8
-rw-r--r--library/cpp/threading/queue/CMakeLists.txt12
-rw-r--r--library/cpp/threading/task_scheduler/CMakeLists.txt8
-rw-r--r--library/cpp/time_provider/CMakeLists.txt8
-rw-r--r--library/cpp/timezone_conversion/CMakeLists.txt17
-rw-r--r--library/cpp/tld/CMakeLists.txt27
-rw-r--r--library/cpp/unicode/normalization/CMakeLists.txt9
-rw-r--r--library/cpp/unicode/punycode/CMakeLists.txt9
-rw-r--r--library/cpp/uri/CMakeLists.txt27
-rw-r--r--library/cpp/xml/document/CMakeLists.txt13
-rw-r--r--library/cpp/xml/init/CMakeLists.txt11
-rw-r--r--library/cpp/yaml/as/CMakeLists.txt6
-rw-r--r--library/cpp/yson/CMakeLists.txt16
-rw-r--r--library/cpp/yson/json/CMakeLists.txt10
-rw-r--r--library/cpp/yson/node/CMakeLists.txt20
-rw-r--r--library/cpp/yson_pull/CMakeLists.txt27
-rw-r--r--library/cpp/yt/assert/CMakeLists.txt8
-rw-r--r--library/cpp/yt/coding/CMakeLists.txt6
-rw-r--r--library/cpp/yt/exception/CMakeLists.txt8
-rw-r--r--library/cpp/yt/memory/CMakeLists.txt13
-rw-r--r--library/cpp/yt/misc/CMakeLists.txt10
-rw-r--r--library/cpp/yt/string/CMakeLists.txt13
-rw-r--r--library/cpp/yt/yson/CMakeLists.txt9
-rw-r--r--library/cpp/yt/yson_string/CMakeLists.txt15
-rw-r--r--library/cpp/ytalloc/api/CMakeLists.txt9
223 files changed, 2996 insertions, 0 deletions
diff --git a/library/cpp/actors/core/CMakeLists.txt b/library/cpp/actors/core/CMakeLists.txt
new file mode 100644
index 0000000000..8b3d80e20e
--- /dev/null
+++ b/library/cpp/actors/core/CMakeLists.txt
@@ -0,0 +1,60 @@
+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
+ cpp-threading-future
+)
+target_sources(cpp-actors-core PRIVATE
+ ${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/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/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/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/mailbox.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/memory_track.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/memory_tracker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic.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/dnscachelib/CMakeLists.txt b/library/cpp/actors/dnscachelib/CMakeLists.txt
new file mode 100644
index 0000000000..9dd2d25435
--- /dev/null
+++ b/library/cpp/actors/dnscachelib/CMakeLists.txt
@@ -0,0 +1,13 @@
+find_package(c-ares)
+
+add_library(cpp-actors-dnscachelib)
+target_link_libraries(cpp-actors-dnscachelib PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ c-ares::c-ares
+ library-cpp-lwtrace
+)
+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/dnsresolver/CMakeLists.txt b/library/cpp/actors/dnsresolver/CMakeLists.txt
new file mode 100644
index 0000000000..f465734a92
--- /dev/null
+++ b/library/cpp/actors/dnsresolver/CMakeLists.txt
@@ -0,0 +1,17 @@
+find_package(c-ares)
+
+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/helpers/CMakeLists.txt b/library/cpp/actors/helpers/CMakeLists.txt
new file mode 100644
index 0000000000..d4d7c6e3bf
--- /dev/null
+++ b/library/cpp/actors/helpers/CMakeLists.txt
@@ -0,0 +1,12 @@
+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/http/CMakeLists.txt b/library/cpp/actors/http/CMakeLists.txt
new file mode 100644
index 0000000000..a1e2b6e0c9
--- /dev/null
+++ b/library/cpp/actors/http/CMakeLists.txt
@@ -0,0 +1,22 @@
+find_package(OpenSSL)
+
+add_library(cpp-actors-http)
+target_link_libraries(cpp-actors-http PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ 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_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/interconnect/CMakeLists.txt b/library/cpp/actors/interconnect/CMakeLists.txt
new file mode 100644
index 0000000000..62b2b3cc52
--- /dev/null
+++ b/library/cpp/actors/interconnect/CMakeLists.txt
@@ -0,0 +1,48 @@
+find_package(OpenSSL)
+
+add_library(cpp-actors-interconnect)
+target_link_libraries(cpp-actors-interconnect PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libc_compat
+ OpenSSL::OpenSSL
+ cpp-actors-core
+ cpp-actors-dnscachelib
+ cpp-actors-dnsresolver
+ cpp-actors-helpers
+ cpp-actors-prof
+ cpp-actors-protos
+ cpp-actors-util
+ cpp-digest-crc32c
+ library-cpp-json
+ library-cpp-lwtrace
+ cpp-monlib-dynamic_counters
+ cpp-monlib-metrics
+ service-pages-tablesorter
+ cpp-openssl-init
+ library-cpp-packedtypes
+)
+target_sources(cpp-actors-interconnect PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_address.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_channel.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_counters.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_handshake.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_mon.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_nameserver_dynamic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_nameserver_table.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_proxy_wrapper.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_resolve.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_stream.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_input_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_proxy.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_server.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/interconnect_tcp_session.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/load.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/packet.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_actor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp_unit.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp_unit_select.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/types.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/poller_tcp_unit_epoll.cpp
+)
diff --git a/library/cpp/actors/interconnect/mock/CMakeLists.txt b/library/cpp/actors/interconnect/mock/CMakeLists.txt
new file mode 100644
index 0000000000..c731927c40
--- /dev/null
+++ b/library/cpp/actors/interconnect/mock/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/memory_log/CMakeLists.txt b/library/cpp/actors/memory_log/CMakeLists.txt
new file mode 100644
index 0000000000..fedf897a7c
--- /dev/null
+++ b/library/cpp/actors/memory_log/CMakeLists.txt
@@ -0,0 +1,11 @@
+add_library(cpp-actors-memory_log)
+target_link_libraries(cpp-actors-memory_log PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-queue
+ contrib-libs-linuxvdso
+)
+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/prof/CMakeLists.txt b/library/cpp/actors/prof/CMakeLists.txt
new file mode 100644
index 0000000000..bb4d29584f
--- /dev/null
+++ b/library/cpp/actors/prof/CMakeLists.txt
@@ -0,0 +1,11 @@
+add_library(cpp-actors-prof)
+target_link_libraries(cpp-actors-prof PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ 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_null.cpp
+)
diff --git a/library/cpp/actors/protos/CMakeLists.txt b/library/cpp/actors/protos/CMakeLists.txt
new file mode 100644
index 0000000000..4fc386c54c
--- /dev/null
+++ b/library/cpp/actors/protos/CMakeLists.txt
@@ -0,0 +1,16 @@
+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_plugin(cpp-actors-protos
+ cpp_styleguide
+ cpp_styleguide
+)
diff --git a/library/cpp/actors/testlib/CMakeLists.txt b/library/cpp/actors/testlib/CMakeLists.txt
new file mode 100644
index 0000000000..13e311a606
--- /dev/null
+++ b/library/cpp/actors/testlib/CMakeLists.txt
@@ -0,0 +1,13 @@
+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/util/CMakeLists.txt b/library/cpp/actors/util/CMakeLists.txt
new file mode 100644
index 0000000000..1b07b3b2e8
--- /dev/null
+++ b/library/cpp/actors/util/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_library(cpp-actors-util)
+target_link_libraries(cpp-actors-util PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-actors-util PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/affinity.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/wilson/CMakeLists.txt b/library/cpp/actors/wilson/CMakeLists.txt
new file mode 100644
index 0000000000..396edfd4a6
--- /dev/null
+++ b/library/cpp/actors/wilson/CMakeLists.txt
@@ -0,0 +1,6 @@
+add_library(cpp-actors-wilson INTERFACE)
+target_link_libraries(cpp-actors-wilson INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ cpp-string_utils-base64
+)
diff --git a/library/cpp/archive/CMakeLists.txt b/library/cpp/archive/CMakeLists.txt
new file mode 100644
index 0000000000..8ff02977a5
--- /dev/null
+++ b/library/cpp/archive/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/binsaver/CMakeLists.txt b/library/cpp/binsaver/CMakeLists.txt
new file mode 100644
index 0000000000..11e0041aee
--- /dev/null
+++ b/library/cpp/binsaver/CMakeLists.txt
@@ -0,0 +1,13 @@
+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/bit_io/CMakeLists.txt b/library/cpp/bit_io/CMakeLists.txt
new file mode 100644
index 0000000000..de9622f81c
--- /dev/null
+++ b/library/cpp/bit_io/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/blockcodecs/CMakeLists.txt b/library/cpp/blockcodecs/CMakeLists.txt
new file mode 100644
index 0000000000..f1bf306e55
--- /dev/null
+++ b/library/cpp/blockcodecs/CMakeLists.txt
@@ -0,0 +1,19 @@
+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/codecs/brotli/CMakeLists.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt
new file mode 100644
index 0000000000..c804bdf9af
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt
@@ -0,0 +1,13 @@
+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_sources(blockcodecs-codecs-brotli.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/brotli/brotli.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt
new file mode 100644
index 0000000000..77b71a9b74
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt
@@ -0,0 +1,12 @@
+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_sources(blockcodecs-codecs-bzip.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/bzip/bzip.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt
new file mode 100644
index 0000000000..d79e69e778
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt
@@ -0,0 +1,12 @@
+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_sources(blockcodecs-codecs-fastlz.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt
new file mode 100644
index 0000000000..92e3fd87b8
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt
@@ -0,0 +1,12 @@
+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_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/lz4/CMakeLists.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt
new file mode 100644
index 0000000000..a86be8cb36
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt
@@ -0,0 +1,13 @@
+add_library(blockcodecs-codecs-lz4 INTERFACE)
+target_link_libraries(blockcodecs-codecs-lz4 INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-lz4
+ libs-lz4-generated
+ cpp-blockcodecs-core
+)
+
+add_global_library_for(blockcodecs-codecs-lz4.global blockcodecs-codecs-lz4)
+target_sources(blockcodecs-codecs-lz4.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lz4/lz4.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt
new file mode 100644
index 0000000000..2a9a843736
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt
@@ -0,0 +1,12 @@
+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_sources(blockcodecs-codecs-lzma.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lzma/lzma.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt
new file mode 100644
index 0000000000..ebb973f446
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt
@@ -0,0 +1,12 @@
+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_sources(blockcodecs-codecs-snappy.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/snappy/snappy.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt
new file mode 100644
index 0000000000..339dab43cb
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt
@@ -0,0 +1,14 @@
+find_package(ZLIB)
+
+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_sources(blockcodecs-codecs-zlib.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zlib/zlib.cpp
+)
diff --git a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt
new file mode 100644
index 0000000000..b276eee972
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt
@@ -0,0 +1,12 @@
+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_sources(blockcodecs-codecs-zstd.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zstd/zstd.cpp
+)
diff --git a/library/cpp/blockcodecs/core/CMakeLists.txt b/library/cpp/blockcodecs/core/CMakeLists.txt
new file mode 100644
index 0000000000..ead54b5bd7
--- /dev/null
+++ b/library/cpp/blockcodecs/core/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/bucket_quoter/CMakeLists.txt b/library/cpp/bucket_quoter/CMakeLists.txt
new file mode 100644
index 0000000000..d10b13a220
--- /dev/null
+++ b/library/cpp/bucket_quoter/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_library(library-cpp-bucket_quoter)
+target_link_libraries(library-cpp-bucket_quoter PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-bucket_quoter PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/bucket_quoter/bucket_quoter.cpp
+)
diff --git a/library/cpp/build_info/CMakeLists.txt b/library/cpp/build_info/CMakeLists.txt
new file mode 100644
index 0000000000..3f2ab03f7b
--- /dev/null
+++ b/library/cpp/build_info/CMakeLists.txt
@@ -0,0 +1,48 @@
+find_package(Python2)
+
+add_library(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 INTERFACE
+ ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h
+)
+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/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/cache/CMakeLists.txt b/library/cpp/cache/CMakeLists.txt
new file mode 100644
index 0000000000..eccd0038f2
--- /dev/null
+++ b/library/cpp/cache/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/case_insensitive_string/CMakeLists.txt b/library/cpp/case_insensitive_string/CMakeLists.txt
new file mode 100644
index 0000000000..2a506bc045
--- /dev/null
+++ b/library/cpp/case_insensitive_string/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/cgiparam/CMakeLists.txt b/library/cpp/cgiparam/CMakeLists.txt
new file mode 100644
index 0000000000..0c69235409
--- /dev/null
+++ b/library/cpp/cgiparam/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/charset/CMakeLists.txt b/library/cpp/charset/CMakeLists.txt
new file mode 100644
index 0000000000..6cadbc7418
--- /dev/null
+++ b/library/cpp/charset/CMakeLists.txt
@@ -0,0 +1,18 @@
+find_package(Iconv)
+
+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/codecs/CMakeLists.txt b/library/cpp/codecs/CMakeLists.txt
new file mode 100644
index 0000000000..f81ed61a08
--- /dev/null
+++ b/library/cpp/codecs/CMakeLists.txt
@@ -0,0 +1,26 @@
+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/greedy_dict/CMakeLists.txt b/library/cpp/codecs/greedy_dict/CMakeLists.txt
new file mode 100644
index 0000000000..430f26f792
--- /dev/null
+++ b/library/cpp/codecs/greedy_dict/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/colorizer/CMakeLists.txt b/library/cpp/colorizer/CMakeLists.txt
new file mode 100644
index 0000000000..2edf9b3679
--- /dev/null
+++ b/library/cpp/colorizer/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/compproto/CMakeLists.txt b/library/cpp/compproto/CMakeLists.txt
new file mode 100644
index 0000000000..2ee775e4ea
--- /dev/null
+++ b/library/cpp/compproto/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/comptable/CMakeLists.txt b/library/cpp/comptable/CMakeLists.txt
new file mode 100644
index 0000000000..d05182bf99
--- /dev/null
+++ b/library/cpp/comptable/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/containers/2d_array/CMakeLists.txt b/library/cpp/containers/2d_array/CMakeLists.txt
new file mode 100644
index 0000000000..4a7ba6bf9d
--- /dev/null
+++ b/library/cpp/containers/2d_array/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/atomizer/CMakeLists.txt b/library/cpp/containers/atomizer/CMakeLists.txt
new file mode 100644
index 0000000000..09cc455f1d
--- /dev/null
+++ b/library/cpp/containers/atomizer/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/bitseq/CMakeLists.txt b/library/cpp/containers/bitseq/CMakeLists.txt
new file mode 100644
index 0000000000..6a0905c2d0
--- /dev/null
+++ b/library/cpp/containers/bitseq/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/compact_vector/CMakeLists.txt b/library/cpp/containers/compact_vector/CMakeLists.txt
new file mode 100644
index 0000000000..43d7010182
--- /dev/null
+++ b/library/cpp/containers/compact_vector/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/comptrie/CMakeLists.txt b/library/cpp/containers/comptrie/CMakeLists.txt
new file mode 100644
index 0000000000..cc9e5f2b04
--- /dev/null
+++ b/library/cpp/containers/comptrie/CMakeLists.txt
@@ -0,0 +1,22 @@
+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/disjoint_interval_tree/CMakeLists.txt b/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt
new file mode 100644
index 0000000000..4ac71247a8
--- /dev/null
+++ b/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/flat_hash/CMakeLists.txt b/library/cpp/containers/flat_hash/CMakeLists.txt
new file mode 100644
index 0000000000..a89ce7b34a
--- /dev/null
+++ b/library/cpp/containers/flat_hash/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_library(cpp-containers-flat_hash)
+target_link_libraries(cpp-containers-flat_hash PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ containers-flat_hash-lib
+)
+target_sources(cpp-containers-flat_hash PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/flat_hash.cpp
+)
diff --git a/library/cpp/containers/flat_hash/lib/CMakeLists.txt b/library/cpp/containers/flat_hash/lib/CMakeLists.txt
new file mode 100644
index 0000000000..7147ca81da
--- /dev/null
+++ b/library/cpp/containers/flat_hash/lib/CMakeLists.txt
@@ -0,0 +1,16 @@
+add_library(containers-flat_hash-lib)
+target_link_libraries(containers-flat_hash-lib PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(containers-flat_hash-lib PRIVATE
+ ${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/intrusive_rb_tree/CMakeLists.txt b/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt
new file mode 100644
index 0000000000..03a3be6930
--- /dev/null
+++ b/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/paged_vector/CMakeLists.txt b/library/cpp/containers/paged_vector/CMakeLists.txt
new file mode 100644
index 0000000000..ebe2f49e80
--- /dev/null
+++ b/library/cpp/containers/paged_vector/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/ring_buffer/CMakeLists.txt b/library/cpp/containers/ring_buffer/CMakeLists.txt
new file mode 100644
index 0000000000..c56fec0dcf
--- /dev/null
+++ b/library/cpp/containers/ring_buffer/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/sorted_vector/CMakeLists.txt b/library/cpp/containers/sorted_vector/CMakeLists.txt
new file mode 100644
index 0000000000..58f488795f
--- /dev/null
+++ b/library/cpp/containers/sorted_vector/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/stack_array/CMakeLists.txt b/library/cpp/containers/stack_array/CMakeLists.txt
new file mode 100644
index 0000000000..bd230b96d4
--- /dev/null
+++ b/library/cpp/containers/stack_array/CMakeLists.txt
@@ -0,0 +1,9 @@
+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_vector/CMakeLists.txt b/library/cpp/containers/stack_vector/CMakeLists.txt
new file mode 100644
index 0000000000..6329f93a1b
--- /dev/null
+++ b/library/cpp/containers/stack_vector/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/str_map/CMakeLists.txt b/library/cpp/containers/str_map/CMakeLists.txt
new file mode 100644
index 0000000000..9161234ff8
--- /dev/null
+++ b/library/cpp/containers/str_map/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/top_keeper/CMakeLists.txt b/library/cpp/containers/top_keeper/CMakeLists.txt
new file mode 100644
index 0000000000..5a3ed45f1b
--- /dev/null
+++ b/library/cpp/containers/top_keeper/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/coroutine/engine/CMakeLists.txt b/library/cpp/coroutine/engine/CMakeLists.txt
new file mode 100644
index 0000000000..3fc34e6011
--- /dev/null
+++ b/library/cpp/coroutine/engine/CMakeLists.txt
@@ -0,0 +1,33 @@
+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
+)
+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/listener/CMakeLists.txt b/library/cpp/coroutine/listener/CMakeLists.txt
new file mode 100644
index 0000000000..cb9776982e
--- /dev/null
+++ b/library/cpp/coroutine/listener/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/cppparser/CMakeLists.txt b/library/cpp/cppparser/CMakeLists.txt
new file mode 100644
index 0000000000..76a34ff1d3
--- /dev/null
+++ b/library/cpp/cppparser/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/cpuid_check/CMakeLists.txt b/library/cpp/cpuid_check/CMakeLists.txt
new file mode 100644
index 0000000000..feecdc090b
--- /dev/null
+++ b/library/cpp/cpuid_check/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_library(library-cpp-cpuid_check INTERFACE)
+target_link_libraries(library-cpp-cpuid_check INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+)
+
+add_global_library_for(library-cpp-cpuid_check.global library-cpp-cpuid_check)
+target_sources(library-cpp-cpuid_check.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/cpuid_check/cpu_id_check.cpp
+)
diff --git a/library/cpp/dbg_output/CMakeLists.txt b/library/cpp/dbg_output/CMakeLists.txt
new file mode 100644
index 0000000000..901c46983c
--- /dev/null
+++ b/library/cpp/dbg_output/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/deprecated/accessors/CMakeLists.txt b/library/cpp/deprecated/accessors/CMakeLists.txt
new file mode 100644
index 0000000000..152bdcb32e
--- /dev/null
+++ b/library/cpp/deprecated/accessors/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/enum_codegen/CMakeLists.txt b/library/cpp/deprecated/enum_codegen/CMakeLists.txt
new file mode 100644
index 0000000000..17b371cc50
--- /dev/null
+++ b/library/cpp/deprecated/enum_codegen/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/kmp/CMakeLists.txt b/library/cpp/deprecated/kmp/CMakeLists.txt
new file mode 100644
index 0000000000..8db5b3c527
--- /dev/null
+++ b/library/cpp/deprecated/kmp/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/split/CMakeLists.txt b/library/cpp/deprecated/split/CMakeLists.txt
new file mode 100644
index 0000000000..c24d5129c4
--- /dev/null
+++ b/library/cpp/deprecated/split/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/diff/CMakeLists.txt b/library/cpp/diff/CMakeLists.txt
new file mode 100644
index 0000000000..234256cd6d
--- /dev/null
+++ b/library/cpp/diff/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/digest/argonish/CMakeLists.txt b/library/cpp/digest/argonish/CMakeLists.txt
new file mode 100644
index 0000000000..c45a02de03
--- /dev/null
+++ b/library/cpp/digest/argonish/CMakeLists.txt
@@ -0,0 +1,14 @@
+add_library(cpp-digest-argonish)
+target_link_libraries(cpp-digest-argonish PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-poor_man_openmp
+ internal-proxies-avx2
+ internal-proxies-ref
+ internal-proxies-sse2
+ internal-proxies-sse41
+ internal-proxies-ssse3
+)
+target_sources(cpp-digest-argonish PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/factory/factory.cpp
+)
diff --git a/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt b/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt
new file mode 100644
index 0000000000..c0cc547d0b
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_library(argonish-internal-argon2 INTERFACE)
+target_link_libraries(argonish-internal-argon2 INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+ argonish-internal-blamka
+ argonish-internal-blake2b
+)
diff --git a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt
new file mode 100644
index 0000000000..b5e8b71969
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt
@@ -0,0 +1,6 @@
+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/blamka/CMakeLists.txt b/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt
new file mode 100644
index 0000000000..626df3ebab
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt
@@ -0,0 +1,6 @@
+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/proxies/avx2/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt
new file mode 100644
index 0000000000..cf5b985a87
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt
@@ -0,0 +1,19 @@
+add_library(internal-proxies-avx2)
+target_link_libraries(internal-proxies-avx2 PUBLIC
+ contrib-libs-cxxsupp
+ internal-proxies-macro
+ argonish-internal-argon2
+ argonish-internal-blake2b
+)
+target_sources(internal-proxies-avx2 PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/avx2/proxy_avx2.cpp
+)
+set_property(
+ SOURCE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/avx2/proxy_avx2.cpp
+ APPEND
+ PROPERTY
+ COMPILE_OPTIONS
+ -mavx2
+ -mfma
+)
diff --git a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt
new file mode 100644
index 0000000000..9473ee8b6f
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt
@@ -0,0 +1,5 @@
+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/ref/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt
new file mode 100644
index 0000000000..1d95001e14
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/sse2/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt
new file mode 100644
index 0000000000..9a547f77c8
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt
@@ -0,0 +1,18 @@
+add_library(internal-proxies-sse2)
+target_link_libraries(internal-proxies-sse2 PUBLIC
+ contrib-libs-cxxsupp
+ internal-proxies-macro
+ argonish-internal-argon2
+ argonish-internal-blake2b
+)
+target_sources(internal-proxies-sse2 PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse2/proxy_sse2.cpp
+)
+set_property(
+ SOURCE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse2/proxy_sse2.cpp
+ APPEND
+ PROPERTY
+ COMPILE_OPTIONS
+ -msse2
+)
diff --git a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt
new file mode 100644
index 0000000000..e91ee83da0
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt
@@ -0,0 +1,18 @@
+add_library(internal-proxies-sse41)
+target_link_libraries(internal-proxies-sse41 PUBLIC
+ contrib-libs-cxxsupp
+ internal-proxies-macro
+ argonish-internal-argon2
+ argonish-internal-blake2b
+)
+target_sources(internal-proxies-sse41 PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse41/proxy_sse41.cpp
+)
+set_property(
+ SOURCE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse41/proxy_sse41.cpp
+ APPEND
+ PROPERTY
+ COMPILE_OPTIONS
+ -msse4.1
+)
diff --git a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt
new file mode 100644
index 0000000000..45c510d50d
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt
@@ -0,0 +1,18 @@
+add_library(internal-proxies-ssse3)
+target_link_libraries(internal-proxies-ssse3 PUBLIC
+ contrib-libs-cxxsupp
+ internal-proxies-macro
+ argonish-internal-argon2
+ argonish-internal-blake2b
+)
+target_sources(internal-proxies-ssse3 PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/ssse3/proxy_ssse3.cpp
+)
+set_property(
+ SOURCE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/ssse3/proxy_ssse3.cpp
+ APPEND
+ PROPERTY
+ COMPILE_OPTIONS
+ -mssse3
+)
diff --git a/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt b/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt
new file mode 100644
index 0000000000..ba13db2c7c
--- /dev/null
+++ b/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt
@@ -0,0 +1,5 @@
+add_library(argonish-internal-rotations INTERFACE)
+target_link_libraries(argonish-internal-rotations INTERFACE
+ contrib-libs-cxxsupp
+ yutil
+)
diff --git a/library/cpp/digest/crc32c/CMakeLists.txt b/library/cpp/digest/crc32c/CMakeLists.txt
new file mode 100644
index 0000000000..8dae80f476
--- /dev/null
+++ b/library/cpp/digest/crc32c/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/lower_case/CMakeLists.txt b/library/cpp/digest/lower_case/CMakeLists.txt
new file mode 100644
index 0000000000..523fb58d43
--- /dev/null
+++ b/library/cpp/digest/lower_case/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/md5/CMakeLists.txt b/library/cpp/digest/md5/CMakeLists.txt
new file mode 100644
index 0000000000..7e16cb1b55
--- /dev/null
+++ b/library/cpp/digest/md5/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/murmur/CMakeLists.txt b/library/cpp/digest/murmur/CMakeLists.txt
new file mode 100644
index 0000000000..30c2de550e
--- /dev/null
+++ b/library/cpp/digest/murmur/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/old_crc/CMakeLists.txt b/library/cpp/digest/old_crc/CMakeLists.txt
new file mode 100644
index 0000000000..dda20afa32
--- /dev/null
+++ b/library/cpp/digest/old_crc/CMakeLists.txt
@@ -0,0 +1,21 @@
+add_library(cpp-digest-old_crc)
+target_link_libraries(cpp-digest-old_crc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-digest-old_crc INTERFACE
+ ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
+)
+target_sources(cpp-digest-old_crc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/crc.cpp
+)
+add_custom_command(
+ OUTPUT
+ ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc
+ DEPENDS
+ ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc
+ COMMAND
+ ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc
+ >
+ crc.inc
+)
diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt
new file mode 100644
index 0000000000..24f2dc82de
--- /dev/null
+++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt
@@ -0,0 +1,16 @@
+add_executable(gencrc)
+target_link_libraries(gencrc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-cpuid_check
+)
+target_sources(gencrc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp
+)
+target_link_flags(gencrc
+ PUBLIC
+ -lpthread
+ -lrt
+ -ldl
+)
+vcs_info(gencrc)
diff --git a/library/cpp/digest/sfh/CMakeLists.txt b/library/cpp/digest/sfh/CMakeLists.txt
new file mode 100644
index 0000000000..ab48eb5700
--- /dev/null
+++ b/library/cpp/digest/sfh/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/dns/CMakeLists.txt b/library/cpp/dns/CMakeLists.txt
new file mode 100644
index 0000000000..109c59dba4
--- /dev/null
+++ b/library/cpp/dns/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/enumbitset/CMakeLists.txt b/library/cpp/enumbitset/CMakeLists.txt
new file mode 100644
index 0000000000..2f7d4c6aab
--- /dev/null
+++ b/library/cpp/enumbitset/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/execprofile/CMakeLists.txt b/library/cpp/execprofile/CMakeLists.txt
new file mode 100644
index 0000000000..eea929f7f8
--- /dev/null
+++ b/library/cpp/execprofile/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_library(library-cpp-execprofile)
+target_link_libraries(library-cpp-execprofile PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-execprofile PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/execprofile/profile.cpp
+)
diff --git a/library/cpp/getopt/CMakeLists.txt b/library/cpp/getopt/CMakeLists.txt
new file mode 100644
index 0000000000..fc9fb0610b
--- /dev/null
+++ b/library/cpp/getopt/CMakeLists.txt
@@ -0,0 +1,13 @@
+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_sources(library-cpp-getopt.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/getopt/print.cpp
+)
diff --git a/library/cpp/getopt/small/CMakeLists.txt b/library/cpp/getopt/small/CMakeLists.txt
new file mode 100644
index 0000000000..aea11e19af
--- /dev/null
+++ b/library/cpp/getopt/small/CMakeLists.txt
@@ -0,0 +1,24 @@
+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/grpc/client/CMakeLists.txt b/library/cpp/grpc/client/CMakeLists.txt
new file mode 100644
index 0000000000..80f7b009e7
--- /dev/null
+++ b/library/cpp/grpc/client/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_library(cpp-grpc-client)
+target_link_libraries(cpp-grpc-client PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-grpc
+)
+target_sources(cpp-grpc-client PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/grpc/client/grpc_client_low.cpp
+)
diff --git a/library/cpp/grpc/server/CMakeLists.txt b/library/cpp/grpc/server/CMakeLists.txt
new file mode 100644
index 0000000000..39f277c474
--- /dev/null
+++ b/library/cpp/grpc/server/CMakeLists.txt
@@ -0,0 +1,19 @@
+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/actors/CMakeLists.txt b/library/cpp/grpc/server/actors/CMakeLists.txt
new file mode 100644
index 0000000000..d7bfd9be71
--- /dev/null
+++ b/library/cpp/grpc/server/actors/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/histogram/adaptive/CMakeLists.txt b/library/cpp/histogram/adaptive/CMakeLists.txt
new file mode 100644
index 0000000000..9bfe6245a4
--- /dev/null
+++ b/library/cpp/histogram/adaptive/CMakeLists.txt
@@ -0,0 +1,13 @@
+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/protos/CMakeLists.txt b/library/cpp/histogram/adaptive/protos/CMakeLists.txt
new file mode 100644
index 0000000000..272f39ddce
--- /dev/null
+++ b/library/cpp/histogram/adaptive/protos/CMakeLists.txt
@@ -0,0 +1,13 @@
+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_plugin(histogram-adaptive-protos
+ cpp_styleguide
+ cpp_styleguide
+)
diff --git a/library/cpp/histogram/hdr/CMakeLists.txt b/library/cpp/histogram/hdr/CMakeLists.txt
new file mode 100644
index 0000000000..6a7edce36c
--- /dev/null
+++ b/library/cpp/histogram/hdr/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/html/escape/CMakeLists.txt b/library/cpp/html/escape/CMakeLists.txt
new file mode 100644
index 0000000000..0716420f68
--- /dev/null
+++ b/library/cpp/html/escape/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/pcdata/CMakeLists.txt b/library/cpp/html/pcdata/CMakeLists.txt
new file mode 100644
index 0000000000..799ab406b8
--- /dev/null
+++ b/library/cpp/html/pcdata/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/http/fetch/CMakeLists.txt b/library/cpp/http/fetch/CMakeLists.txt
new file mode 100644
index 0000000000..52f844c8d1
--- /dev/null
+++ b/library/cpp/http/fetch/CMakeLists.txt
@@ -0,0 +1,32 @@
+find_package(ZLIB)
+
+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
+ -CF1
+)
diff --git a/library/cpp/http/io/CMakeLists.txt b/library/cpp/http/io/CMakeLists.txt
new file mode 100644
index 0000000000..2d5f2ba5cf
--- /dev/null
+++ b/library/cpp/http/io/CMakeLists.txt
@@ -0,0 +1,15 @@
+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/misc/CMakeLists.txt b/library/cpp/http/misc/CMakeLists.txt
new file mode 100644
index 0000000000..d8955a9004
--- /dev/null
+++ b/library/cpp/http/misc/CMakeLists.txt
@@ -0,0 +1,20 @@
+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/server/CMakeLists.txt b/library/cpp/http/server/CMakeLists.txt
new file mode 100644
index 0000000000..5e8964e5d7
--- /dev/null
+++ b/library/cpp/http/server/CMakeLists.txt
@@ -0,0 +1,15 @@
+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
+)
+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/hyperloglog/CMakeLists.txt b/library/cpp/hyperloglog/CMakeLists.txt
new file mode 100644
index 0000000000..977ae5b4be
--- /dev/null
+++ b/library/cpp/hyperloglog/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/int128/CMakeLists.txt b/library/cpp/int128/CMakeLists.txt
new file mode 100644
index 0000000000..d908f08e97
--- /dev/null
+++ b/library/cpp/int128/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/ipmath/CMakeLists.txt b/library/cpp/ipmath/CMakeLists.txt
new file mode 100644
index 0000000000..8da7f2f361
--- /dev/null
+++ b/library/cpp/ipmath/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/ipv6_address/CMakeLists.txt b/library/cpp/ipv6_address/CMakeLists.txt
new file mode 100644
index 0000000000..e4792a0c78
--- /dev/null
+++ b/library/cpp/ipv6_address/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/iterator/CMakeLists.txt b/library/cpp/iterator/CMakeLists.txt
new file mode 100644
index 0000000000..d4abe991ff
--- /dev/null
+++ b/library/cpp/iterator/CMakeLists.txt
@@ -0,0 +1,16 @@
+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/json/CMakeLists.txt b/library/cpp/json/CMakeLists.txt
new file mode 100644
index 0000000000..5f32cb5583
--- /dev/null
+++ b/library/cpp/json/CMakeLists.txt
@@ -0,0 +1,16 @@
+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/common/CMakeLists.txt b/library/cpp/json/common/CMakeLists.txt
new file mode 100644
index 0000000000..730074dc4d
--- /dev/null
+++ b/library/cpp/json/common/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/easy_parse/CMakeLists.txt b/library/cpp/json/easy_parse/CMakeLists.txt
new file mode 100644
index 0000000000..bec9ea18bd
--- /dev/null
+++ b/library/cpp/json/easy_parse/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/fast_sax/CMakeLists.txt b/library/cpp/json/fast_sax/CMakeLists.txt
new file mode 100644
index 0000000000..863e6200af
--- /dev/null
+++ b/library/cpp/json/fast_sax/CMakeLists.txt
@@ -0,0 +1,14 @@
+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/writer/CMakeLists.txt b/library/cpp/json/writer/CMakeLists.txt
new file mode 100644
index 0000000000..42cb6251d0
--- /dev/null
+++ b/library/cpp/json/writer/CMakeLists.txt
@@ -0,0 +1,16 @@
+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/yson/CMakeLists.txt b/library/cpp/json/yson/CMakeLists.txt
new file mode 100644
index 0000000000..ec953c9aa9
--- /dev/null
+++ b/library/cpp/json/yson/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/lcs/CMakeLists.txt b/library/cpp/lcs/CMakeLists.txt
new file mode 100644
index 0000000000..e9325de007
--- /dev/null
+++ b/library/cpp/lcs/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/lfalloc/alloc_profiler/CMakeLists.txt b/library/cpp/lfalloc/alloc_profiler/CMakeLists.txt
new file mode 100644
index 0000000000..a572081127
--- /dev/null
+++ b/library/cpp/lfalloc/alloc_profiler/CMakeLists.txt
@@ -0,0 +1,11 @@
+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
+)
+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/dbg_info/CMakeLists.txt b/library/cpp/lfalloc/dbg_info/CMakeLists.txt
new file mode 100644
index 0000000000..6257333113
--- /dev/null
+++ b/library/cpp/lfalloc/dbg_info/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/logger/CMakeLists.txt b/library/cpp/logger/CMakeLists.txt
new file mode 100644
index 0000000000..ec1123d507
--- /dev/null
+++ b/library/cpp/logger/CMakeLists.txt
@@ -0,0 +1,41 @@
+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
+)
+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_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/global/CMakeLists.txt b/library/cpp/logger/global/CMakeLists.txt
new file mode 100644
index 0000000000..5deeaea6f5
--- /dev/null
+++ b/library/cpp/logger/global/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/lwtrace/CMakeLists.txt b/library/cpp/lwtrace/CMakeLists.txt
new file mode 100644
index 0000000000..9977e9b440
--- /dev/null
+++ b/library/cpp/lwtrace/CMakeLists.txt
@@ -0,0 +1,21 @@
+add_library(library-cpp-lwtrace)
+target_link_libraries(library-cpp-lwtrace PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-lwtrace-protos
+)
+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/mon/CMakeLists.txt b/library/cpp/lwtrace/mon/CMakeLists.txt
new file mode 100644
index 0000000000..0fe05ef55a
--- /dev/null
+++ b/library/cpp/lwtrace/mon/CMakeLists.txt
@@ -0,0 +1,92 @@
+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_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/analytics/CMakeLists.txt b/library/cpp/lwtrace/mon/analytics/CMakeLists.txt
new file mode 100644
index 0000000000..53befdd51b
--- /dev/null
+++ b/library/cpp/lwtrace/mon/analytics/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/protos/CMakeLists.txt b/library/cpp/lwtrace/protos/CMakeLists.txt
new file mode 100644
index 0000000000..6cceb38524
--- /dev/null
+++ b/library/cpp/lwtrace/protos/CMakeLists.txt
@@ -0,0 +1,13 @@
+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_plugin(cpp-lwtrace-protos
+ cpp_styleguide
+ cpp_styleguide
+)
diff --git a/library/cpp/malloc/api/CMakeLists.txt b/library/cpp/malloc/api/CMakeLists.txt
new file mode 100644
index 0000000000..6b137ece25
--- /dev/null
+++ b/library/cpp/malloc/api/CMakeLists.txt
@@ -0,0 +1,7 @@
+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/jemalloc/CMakeLists.txt b/library/cpp/malloc/jemalloc/CMakeLists.txt
new file mode 100644
index 0000000000..5db1ef0046
--- /dev/null
+++ b/library/cpp/malloc/jemalloc/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/system/malloc-info.cpp b/library/cpp/malloc/system/malloc-info.cpp
new file mode 100644
index 0000000000..ab6742e203
--- /dev/null
+++ b/library/cpp/malloc/system/malloc-info.cpp
@@ -0,0 +1,9 @@
+#include <library/cpp/malloc/api/malloc.h>
+
+using namespace NMalloc;
+
+TMallocInfo NMalloc::MallocInfo() {
+ TMallocInfo r;
+ r.Name = "system";
+ return r;
+}
diff --git a/library/cpp/malloc/system/ya.make b/library/cpp/malloc/system/ya.make
new file mode 100644
index 0000000000..7dd2d6d9d4
--- /dev/null
+++ b/library/cpp/malloc/system/ya.make
@@ -0,0 +1,17 @@
+LIBRARY()
+
+NO_UTIL()
+
+OWNER(nga)
+
+DISABLE(OPENSOURCE_EXPORT)
+
+PEERDIR(
+ library/cpp/malloc/api
+)
+
+SRCS(
+ malloc-info.cpp
+)
+
+END()
diff --git a/library/cpp/malloc/tcmalloc/CMakeLists.txt b/library/cpp/malloc/tcmalloc/CMakeLists.txt
new file mode 100644
index 0000000000..94fe6e429f
--- /dev/null
+++ b/library/cpp/malloc/tcmalloc/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_library(cpp-malloc-tcmalloc)
+target_link_libraries(cpp-malloc-tcmalloc PUBLIC
+ contrib-libs-cxxsupp
+ cpp-malloc-api
+ libs-tcmalloc-malloc_extension
+)
+target_sources(cpp-malloc-tcmalloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/malloc/tcmalloc/malloc-info.cpp
+)
diff --git a/library/cpp/messagebus/CMakeLists.txt b/library/cpp/messagebus/CMakeLists.txt
new file mode 100644
index 0000000000..4e86eca494
--- /dev/null
+++ b/library/cpp/messagebus/CMakeLists.txt
@@ -0,0 +1,54 @@
+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
+)
+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/actor/CMakeLists.txt b/library/cpp/messagebus/actor/CMakeLists.txt
new file mode 100644
index 0000000000..552e36b19f
--- /dev/null
+++ b/library/cpp/messagebus/actor/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_library(messagebus_actor)
+target_link_libraries(messagebus_actor PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+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/config/CMakeLists.txt b/library/cpp/messagebus/config/CMakeLists.txt
new file mode 100644
index 0000000000..483f7b05c1
--- /dev/null
+++ b/library/cpp/messagebus/config/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/monitoring/CMakeLists.txt b/library/cpp/messagebus/monitoring/CMakeLists.txt
new file mode 100644
index 0000000000..ec708863aa
--- /dev/null
+++ b/library/cpp/messagebus/monitoring/CMakeLists.txt
@@ -0,0 +1,14 @@
+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_plugin(cpp-messagebus-monitoring
+ cpp_styleguide
+ cpp_styleguide
+)
diff --git a/library/cpp/messagebus/oldmodule/CMakeLists.txt b/library/cpp/messagebus/oldmodule/CMakeLists.txt
new file mode 100644
index 0000000000..433181d39d
--- /dev/null
+++ b/library/cpp/messagebus/oldmodule/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/protobuf/CMakeLists.txt b/library/cpp/messagebus/protobuf/CMakeLists.txt
new file mode 100644
index 0000000000..c54e9e145f
--- /dev/null
+++ b/library/cpp/messagebus/protobuf/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/scheduler/CMakeLists.txt b/library/cpp/messagebus/scheduler/CMakeLists.txt
new file mode 100644
index 0000000000..086963790d
--- /dev/null
+++ b/library/cpp/messagebus/scheduler/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_library(cpp-messagebus-scheduler)
+target_link_libraries(cpp-messagebus-scheduler PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-future
+)
+target_sources(cpp-messagebus-scheduler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/scheduler/scheduler.cpp
+)
diff --git a/library/cpp/messagebus/www/CMakeLists.txt b/library/cpp/messagebus/www/CMakeLists.txt
new file mode 100644
index 0000000000..cfef24dc3c
--- /dev/null
+++ b/library/cpp/messagebus/www/CMakeLists.txt
@@ -0,0 +1,33 @@
+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_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/mime/types/CMakeLists.txt b/library/cpp/mime/types/CMakeLists.txt
new file mode 100644
index 0000000000..a674af4c4b
--- /dev/null
+++ b/library/cpp/mime/types/CMakeLists.txt
@@ -0,0 +1,14 @@
+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/monlib/deprecated/json/CMakeLists.txt b/library/cpp/monlib/deprecated/json/CMakeLists.txt
new file mode 100644
index 0000000000..ca447c15af
--- /dev/null
+++ b/library/cpp/monlib/deprecated/json/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/dynamic_counters/CMakeLists.txt b/library/cpp/monlib/dynamic_counters/CMakeLists.txt
new file mode 100644
index 0000000000..9dda29aaf9
--- /dev/null
+++ b/library/cpp/monlib/dynamic_counters/CMakeLists.txt
@@ -0,0 +1,18 @@
+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/percentile/CMakeLists.txt b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.txt
new file mode 100644
index 0000000000..4873cc0375
--- /dev/null
+++ b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.txt
@@ -0,0 +1,7 @@
+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/encode/CMakeLists.txt b/library/cpp/monlib/encode/CMakeLists.txt
new file mode 100644
index 0000000000..884750fd75
--- /dev/null
+++ b/library/cpp/monlib/encode/CMakeLists.txt
@@ -0,0 +1,19 @@
+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/buffered/CMakeLists.txt b/library/cpp/monlib/encode/buffered/CMakeLists.txt
new file mode 100644
index 0000000000..3cf47f8183
--- /dev/null
+++ b/library/cpp/monlib/encode/buffered/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/json/CMakeLists.txt b/library/cpp/monlib/encode/json/CMakeLists.txt
new file mode 100644
index 0000000000..697e424fdd
--- /dev/null
+++ b/library/cpp/monlib/encode/json/CMakeLists.txt
@@ -0,0 +1,14 @@
+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/legacy_protobuf/protos/CMakeLists.txt b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt
new file mode 100644
index 0000000000..ea9bd6c6d9
--- /dev/null
+++ b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt
@@ -0,0 +1,13 @@
+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_plugin(encode-legacy_protobuf-protos
+ cpp_styleguide
+ cpp_styleguide
+)
diff --git a/library/cpp/monlib/encode/prometheus/CMakeLists.txt b/library/cpp/monlib/encode/prometheus/CMakeLists.txt
new file mode 100644
index 0000000000..49b3891bf5
--- /dev/null
+++ b/library/cpp/monlib/encode/prometheus/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_library(monlib-encode-prometheus)
+target_link_libraries(monlib-encode-prometheus PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-monlib-encode
+)
+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/spack/CMakeLists.txt b/library/cpp/monlib/encode/spack/CMakeLists.txt
new file mode 100644
index 0000000000..e6372ee651
--- /dev/null
+++ b/library/cpp/monlib/encode/spack/CMakeLists.txt
@@ -0,0 +1,19 @@
+find_package(ZLIB)
+
+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/text/CMakeLists.txt b/library/cpp/monlib/encode/text/CMakeLists.txt
new file mode 100644
index 0000000000..f398d37526
--- /dev/null
+++ b/library/cpp/monlib/encode/text/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/exception/CMakeLists.txt b/library/cpp/monlib/exception/CMakeLists.txt
new file mode 100644
index 0000000000..1341623a51
--- /dev/null
+++ b/library/cpp/monlib/exception/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/messagebus/CMakeLists.txt b/library/cpp/monlib/messagebus/CMakeLists.txt
new file mode 100644
index 0000000000..73e9ab88aa
--- /dev/null
+++ b/library/cpp/monlib/messagebus/CMakeLists.txt
@@ -0,0 +1,12 @@
+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/metrics/CMakeLists.txt b/library/cpp/monlib/metrics/CMakeLists.txt
new file mode 100644
index 0000000000..0f8487d84a
--- /dev/null
+++ b/library/cpp/monlib/metrics/CMakeLists.txt
@@ -0,0 +1,28 @@
+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_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/service/CMakeLists.txt b/library/cpp/monlib/service/CMakeLists.txt
new file mode 100644
index 0000000000..cebd936de9
--- /dev/null
+++ b/library/cpp/monlib/service/CMakeLists.txt
@@ -0,0 +1,24 @@
+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/pages/CMakeLists.txt b/library/cpp/monlib/service/pages/CMakeLists.txt
new file mode 100644
index 0000000000..8cc4b77a2b
--- /dev/null
+++ b/library/cpp/monlib/service/pages/CMakeLists.txt
@@ -0,0 +1,25 @@
+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/tablesorter/CMakeLists.txt b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt
new file mode 100644
index 0000000000..c600e277c4
--- /dev/null
+++ b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt
@@ -0,0 +1,21 @@
+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_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/on_disk/chunks/CMakeLists.txt b/library/cpp/on_disk/chunks/CMakeLists.txt
new file mode 100644
index 0000000000..bdcab39cc1
--- /dev/null
+++ b/library/cpp/on_disk/chunks/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/openssl/holders/CMakeLists.txt b/library/cpp/openssl/holders/CMakeLists.txt
new file mode 100644
index 0000000000..fa28e78956
--- /dev/null
+++ b/library/cpp/openssl/holders/CMakeLists.txt
@@ -0,0 +1,12 @@
+find_package(OpenSSL)
+
+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/init/CMakeLists.txt b/library/cpp/openssl/init/CMakeLists.txt
new file mode 100644
index 0000000000..3ec2c1ece4
--- /dev/null
+++ b/library/cpp/openssl/init/CMakeLists.txt
@@ -0,0 +1,11 @@
+find_package(OpenSSL)
+
+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/io/CMakeLists.txt b/library/cpp/openssl/io/CMakeLists.txt
new file mode 100644
index 0000000000..7d1369237e
--- /dev/null
+++ b/library/cpp/openssl/io/CMakeLists.txt
@@ -0,0 +1,14 @@
+find_package(OpenSSL)
+
+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/method/CMakeLists.txt b/library/cpp/openssl/method/CMakeLists.txt
new file mode 100644
index 0000000000..729948fc0f
--- /dev/null
+++ b/library/cpp/openssl/method/CMakeLists.txt
@@ -0,0 +1,12 @@
+find_package(OpenSSL)
+
+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/packedtypes/CMakeLists.txt b/library/cpp/packedtypes/CMakeLists.txt
new file mode 100644
index 0000000000..f9dda2f230
--- /dev/null
+++ b/library/cpp/packedtypes/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/packers/CMakeLists.txt b/library/cpp/packers/CMakeLists.txt
new file mode 100644
index 0000000000..9f371e18e1
--- /dev/null
+++ b/library/cpp/packers/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/pop_count/CMakeLists.txt b/library/cpp/pop_count/CMakeLists.txt
new file mode 100644
index 0000000000..7d55f3870e
--- /dev/null
+++ b/library/cpp/pop_count/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/protobuf/interop/CMakeLists.txt b/library/cpp/protobuf/interop/CMakeLists.txt
new file mode 100644
index 0000000000..e9477ec256
--- /dev/null
+++ b/library/cpp/protobuf/interop/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/json/CMakeLists.txt b/library/cpp/protobuf/json/CMakeLists.txt
new file mode 100644
index 0000000000..2afd155339
--- /dev/null
+++ b/library/cpp/protobuf/json/CMakeLists.txt
@@ -0,0 +1,20 @@
+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/util/CMakeLists.txt b/library/cpp/protobuf/util/CMakeLists.txt
new file mode 100644
index 0000000000..ca876d744b
--- /dev/null
+++ b/library/cpp/protobuf/util/CMakeLists.txt
@@ -0,0 +1,17 @@
+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/proto/CMakeLists.txt b/library/cpp/protobuf/util/proto/CMakeLists.txt
new file mode 100644
index 0000000000..7c3a768355
--- /dev/null
+++ b/library/cpp/protobuf/util/proto/CMakeLists.txt
@@ -0,0 +1,13 @@
+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_plugin(protobuf-util-proto
+ cpp_styleguide
+ cpp_styleguide
+)
diff --git a/library/cpp/random_provider/CMakeLists.txt b/library/cpp/random_provider/CMakeLists.txt
new file mode 100644
index 0000000000..0fbb274e77
--- /dev/null
+++ b/library/cpp/random_provider/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/regex/hyperscan/CMakeLists.txt b/library/cpp/regex/hyperscan/CMakeLists.txt
new file mode 100644
index 0000000000..17b4f3fb5b
--- /dev/null
+++ b/library/cpp/regex/hyperscan/CMakeLists.txt
@@ -0,0 +1,13 @@
+add_library(cpp-regex-hyperscan)
+target_link_libraries(cpp-regex-hyperscan PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-hyperscan
+ libs-hyperscan-runtime_core2
+ libs-hyperscan-runtime_corei7
+ libs-hyperscan-runtime_avx2
+ libs-hyperscan-runtime_avx512
+)
+target_sources(cpp-regex-hyperscan PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/regex/hyperscan/hyperscan.cpp
+)
diff --git a/library/cpp/regex/pcre/CMakeLists.txt b/library/cpp/regex/pcre/CMakeLists.txt
new file mode 100644
index 0000000000..e4a6473043
--- /dev/null
+++ b/library/cpp/regex/pcre/CMakeLists.txt
@@ -0,0 +1,13 @@
+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/pire/CMakeLists.txt b/library/cpp/regex/pire/CMakeLists.txt
new file mode 100644
index 0000000000..3f8c31f745
--- /dev/null
+++ b/library/cpp/regex/pire/CMakeLists.txt
@@ -0,0 +1,36 @@
+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_include_directories(cpp-regex-pire PRIVATE
+ ${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/resource/CMakeLists.txt b/library/cpp/resource/CMakeLists.txt
new file mode 100644
index 0000000000..7bd9039a06
--- /dev/null
+++ b/library/cpp/resource/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/retry/CMakeLists.txt b/library/cpp/retry/CMakeLists.txt
new file mode 100644
index 0000000000..6345956a57
--- /dev/null
+++ b/library/cpp/retry/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/protos/CMakeLists.txt b/library/cpp/retry/protos/CMakeLists.txt
new file mode 100644
index 0000000000..3331178ecc
--- /dev/null
+++ b/library/cpp/retry/protos/CMakeLists.txt
@@ -0,0 +1,13 @@
+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_plugin(cpp-retry-protos
+ cpp_styleguide
+ cpp_styleguide
+)
diff --git a/library/cpp/scheme/CMakeLists.txt b/library/cpp/scheme/CMakeLists.txt
new file mode 100644
index 0000000000..fd618ecca9
--- /dev/null
+++ b/library/cpp/scheme/CMakeLists.txt
@@ -0,0 +1,26 @@
+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/sighandler/CMakeLists.txt b/library/cpp/sighandler/CMakeLists.txt
new file mode 100644
index 0000000000..260759a39f
--- /dev/null
+++ b/library/cpp/sighandler/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_library(library-cpp-sighandler)
+target_link_libraries(library-cpp-sighandler PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(library-cpp-sighandler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/sighandler/async_signals_handler.cpp
+)
diff --git a/library/cpp/sliding_window/CMakeLists.txt b/library/cpp/sliding_window/CMakeLists.txt
new file mode 100644
index 0000000000..2199cd6df2
--- /dev/null
+++ b/library/cpp/sliding_window/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/sse/CMakeLists.txt b/library/cpp/sse/CMakeLists.txt
new file mode 100644
index 0000000000..31af1330d6
--- /dev/null
+++ b/library/cpp/sse/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/streams/brotli/CMakeLists.txt b/library/cpp/streams/brotli/CMakeLists.txt
new file mode 100644
index 0000000000..7f4c7f9881
--- /dev/null
+++ b/library/cpp/streams/brotli/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/bzip2/CMakeLists.txt b/library/cpp/streams/bzip2/CMakeLists.txt
new file mode 100644
index 0000000000..f501474af4
--- /dev/null
+++ b/library/cpp/streams/bzip2/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/lzma/CMakeLists.txt b/library/cpp/streams/lzma/CMakeLists.txt
new file mode 100644
index 0000000000..1bd6be5cdf
--- /dev/null
+++ b/library/cpp/streams/lzma/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/zc_memory_input/CMakeLists.txt b/library/cpp/streams/zc_memory_input/CMakeLists.txt
new file mode 100644
index 0000000000..b44328829d
--- /dev/null
+++ b/library/cpp/streams/zc_memory_input/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/zstd/CMakeLists.txt b/library/cpp/streams/zstd/CMakeLists.txt
new file mode 100644
index 0000000000..fcc8476239
--- /dev/null
+++ b/library/cpp/streams/zstd/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/string_utils/base64/CMakeLists.txt b/library/cpp/string_utils/base64/CMakeLists.txt
new file mode 100644
index 0000000000..dae18c03a0
--- /dev/null
+++ b/library/cpp/string_utils/base64/CMakeLists.txt
@@ -0,0 +1,14 @@
+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/indent_text/CMakeLists.txt b/library/cpp/string_utils/indent_text/CMakeLists.txt
new file mode 100644
index 0000000000..832c5fab6a
--- /dev/null
+++ b/library/cpp/string_utils/indent_text/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/levenshtein_diff/CMakeLists.txt b/library/cpp/string_utils/levenshtein_diff/CMakeLists.txt
new file mode 100644
index 0000000000..870fe13749
--- /dev/null
+++ b/library/cpp/string_utils/levenshtein_diff/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/parse_size/CMakeLists.txt b/library/cpp/string_utils/parse_size/CMakeLists.txt
new file mode 100644
index 0000000000..b82e33e9ac
--- /dev/null
+++ b/library/cpp/string_utils/parse_size/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/quote/CMakeLists.txt b/library/cpp/string_utils/quote/CMakeLists.txt
new file mode 100644
index 0000000000..0862ccb6fa
--- /dev/null
+++ b/library/cpp/string_utils/quote/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/relaxed_escaper/CMakeLists.txt b/library/cpp/string_utils/relaxed_escaper/CMakeLists.txt
new file mode 100644
index 0000000000..e354a94c6e
--- /dev/null
+++ b/library/cpp/string_utils/relaxed_escaper/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/scan/CMakeLists.txt b/library/cpp/string_utils/scan/CMakeLists.txt
new file mode 100644
index 0000000000..4f42d54001
--- /dev/null
+++ b/library/cpp/string_utils/scan/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/url/CMakeLists.txt b/library/cpp/string_utils/url/CMakeLists.txt
new file mode 100644
index 0000000000..609cfd3f75
--- /dev/null
+++ b/library/cpp/string_utils/url/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/ztstrbuf/CMakeLists.txt b/library/cpp/string_utils/ztstrbuf/CMakeLists.txt
new file mode 100644
index 0000000000..17c41ce2d5
--- /dev/null
+++ b/library/cpp/string_utils/ztstrbuf/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/svnversion/CMakeLists.txt b/library/cpp/svnversion/CMakeLists.txt
new file mode 100644
index 0000000000..ffee2b17e0
--- /dev/null
+++ b/library/cpp/svnversion/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/terminate_handler/CMakeLists.txt b/library/cpp/terminate_handler/CMakeLists.txt
new file mode 100644
index 0000000000..91674bd7cb
--- /dev/null
+++ b/library/cpp/terminate_handler/CMakeLists.txt
@@ -0,0 +1,13 @@
+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_sources(library-cpp-terminate_handler.global PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/terminate_handler.cpp
+)
diff --git a/library/cpp/testing/common/CMakeLists.txt b/library/cpp/testing/common/CMakeLists.txt
new file mode 100644
index 0000000000..cd819a464c
--- /dev/null
+++ b/library/cpp/testing/common/CMakeLists.txt
@@ -0,0 +1,12 @@
+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/gmock_in_unittest/CMakeLists.txt b/library/cpp/testing/gmock_in_unittest/CMakeLists.txt
new file mode 100644
index 0000000000..b805a1f31f
--- /dev/null
+++ b/library/cpp/testing/gmock_in_unittest/CMakeLists.txt
@@ -0,0 +1,17 @@
+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_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/gtest_extensions/CMakeLists.txt b/library/cpp/testing/gtest_extensions/CMakeLists.txt
new file mode 100644
index 0000000000..50b6d18d2b
--- /dev/null
+++ b/library/cpp/testing/gtest_extensions/CMakeLists.txt
@@ -0,0 +1,14 @@
+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/hook/CMakeLists.txt b/library/cpp/testing/hook/CMakeLists.txt
new file mode 100644
index 0000000000..39272209f3
--- /dev/null
+++ b/library/cpp/testing/hook/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/unittest/CMakeLists.txt b/library/cpp/testing/unittest/CMakeLists.txt
new file mode 100644
index 0000000000..5c4976b8ed
--- /dev/null
+++ b/library/cpp/testing/unittest/CMakeLists.txt
@@ -0,0 +1,19 @@
+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_main/CMakeLists.txt b/library/cpp/testing/unittest_main/CMakeLists.txt
new file mode 100644
index 0000000000..05555b99e7
--- /dev/null
+++ b/library/cpp/testing/unittest_main/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/threading/equeue/CMakeLists.txt b/library/cpp/threading/equeue/CMakeLists.txt
new file mode 100644
index 0000000000..6171b91354
--- /dev/null
+++ b/library/cpp/threading/equeue/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_library(cpp-threading-equeue)
+target_link_libraries(cpp-threading-equeue PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-threading-equeue PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/equeue/equeue.cpp
+)
diff --git a/library/cpp/threading/future/CMakeLists.txt b/library/cpp/threading/future/CMakeLists.txt
new file mode 100644
index 0000000000..48f3998d54
--- /dev/null
+++ b/library/cpp/threading/future/CMakeLists.txt
@@ -0,0 +1,15 @@
+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.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/light_rw_lock/CMakeLists.txt b/library/cpp/threading/light_rw_lock/CMakeLists.txt
new file mode 100644
index 0000000000..5acf6f7955
--- /dev/null
+++ b/library/cpp/threading/light_rw_lock/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/local_executor/CMakeLists.txt b/library/cpp/threading/local_executor/CMakeLists.txt
new file mode 100644
index 0000000000..7b23fb7936
--- /dev/null
+++ b/library/cpp/threading/local_executor/CMakeLists.txt
@@ -0,0 +1,11 @@
+add_library(cpp-threading-local_executor)
+target_link_libraries(cpp-threading-local_executor PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-tbb
+ cpp-threading-future
+)
+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/poor_man_openmp/CMakeLists.txt b/library/cpp/threading/poor_man_openmp/CMakeLists.txt
new file mode 100644
index 0000000000..b52ff4f4bf
--- /dev/null
+++ b/library/cpp/threading/poor_man_openmp/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_library(cpp-threading-poor_man_openmp)
+target_link_libraries(cpp-threading-poor_man_openmp PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+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/queue/CMakeLists.txt b/library/cpp/threading/queue/CMakeLists.txt
new file mode 100644
index 0000000000..3404cae982
--- /dev/null
+++ b/library/cpp/threading/queue/CMakeLists.txt
@@ -0,0 +1,12 @@
+add_library(cpp-threading-queue)
+target_link_libraries(cpp-threading-queue PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+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/task_scheduler/CMakeLists.txt b/library/cpp/threading/task_scheduler/CMakeLists.txt
new file mode 100644
index 0000000000..ee3db14c8f
--- /dev/null
+++ b/library/cpp/threading/task_scheduler/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_library(cpp-threading-task_scheduler)
+target_link_libraries(cpp-threading-task_scheduler PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(cpp-threading-task_scheduler PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/threading/task_scheduler/task_scheduler.cpp
+)
diff --git a/library/cpp/time_provider/CMakeLists.txt b/library/cpp/time_provider/CMakeLists.txt
new file mode 100644
index 0000000000..73ef1db39a
--- /dev/null
+++ b/library/cpp/time_provider/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/time_provider.cpp
+)
diff --git a/library/cpp/timezone_conversion/CMakeLists.txt b/library/cpp/timezone_conversion/CMakeLists.txt
new file mode 100644
index 0000000000..3393e79a0b
--- /dev/null
+++ b/library/cpp/timezone_conversion/CMakeLists.txt
@@ -0,0 +1,17 @@
+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/tld/CMakeLists.txt b/library/cpp/tld/CMakeLists.txt
new file mode 100644
index 0000000000..0a8cb1877c
--- /dev/null
+++ b/library/cpp/tld/CMakeLists.txt
@@ -0,0 +1,27 @@
+find_package(Python2)
+
+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 INTERFACE
+ ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc
+)
+target_sources(library-cpp-tld PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/tld/tld.cpp
+)
+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/unicode/normalization/CMakeLists.txt b/library/cpp/unicode/normalization/CMakeLists.txt
new file mode 100644
index 0000000000..516ff91f28
--- /dev/null
+++ b/library/cpp/unicode/normalization/CMakeLists.txt
@@ -0,0 +1,9 @@
+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/punycode/CMakeLists.txt b/library/cpp/unicode/punycode/CMakeLists.txt
new file mode 100644
index 0000000000..d49061a465
--- /dev/null
+++ b/library/cpp/unicode/punycode/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_library(cpp-unicode-punycode)
+target_link_libraries(cpp-unicode-punycode PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libidn
+)
+target_sources(cpp-unicode-punycode PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/unicode/punycode/punycode.cpp
+)
diff --git a/library/cpp/uri/CMakeLists.txt b/library/cpp/uri/CMakeLists.txt
new file mode 100644
index 0000000000..e4aa518b60
--- /dev/null
+++ b/library/cpp/uri/CMakeLists.txt
@@ -0,0 +1,27 @@
+add_library(library-cpp-uri)
+target_link_libraries(library-cpp-uri PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-libidn
+ 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/xml/document/CMakeLists.txt b/library/cpp/xml/document/CMakeLists.txt
new file mode 100644
index 0000000000..373dcd1a94
--- /dev/null
+++ b/library/cpp/xml/document/CMakeLists.txt
@@ -0,0 +1,13 @@
+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/init/CMakeLists.txt b/library/cpp/xml/init/CMakeLists.txt
new file mode 100644
index 0000000000..d7736ee033
--- /dev/null
+++ b/library/cpp/xml/init/CMakeLists.txt
@@ -0,0 +1,11 @@
+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/yaml/as/CMakeLists.txt b/library/cpp/yaml/as/CMakeLists.txt
new file mode 100644
index 0000000000..74c8a3ddb6
--- /dev/null
+++ b/library/cpp/yaml/as/CMakeLists.txt
@@ -0,0 +1,6 @@
+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/yson/CMakeLists.txt b/library/cpp/yson/CMakeLists.txt
new file mode 100644
index 0000000000..e12d985bbf
--- /dev/null
+++ b/library/cpp/yson/CMakeLists.txt
@@ -0,0 +1,16 @@
+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/json/CMakeLists.txt b/library/cpp/yson/json/CMakeLists.txt
new file mode 100644
index 0000000000..ef39ea0eed
--- /dev/null
+++ b/library/cpp/yson/json/CMakeLists.txt
@@ -0,0 +1,10 @@
+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/node/CMakeLists.txt b/library/cpp/yson/node/CMakeLists.txt
new file mode 100644
index 0000000000..79e2458e21
--- /dev/null
+++ b/library/cpp/yson/node/CMakeLists.txt
@@ -0,0 +1,20 @@
+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_pull/CMakeLists.txt b/library/cpp/yson_pull/CMakeLists.txt
new file mode 100644
index 0000000000..4ca6e19459
--- /dev/null
+++ b/library/cpp/yson_pull/CMakeLists.txt
@@ -0,0 +1,27 @@
+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/yt/assert/CMakeLists.txt b/library/cpp/yt/assert/CMakeLists.txt
new file mode 100644
index 0000000000..b54c8c6016
--- /dev/null
+++ b/library/cpp/yt/assert/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/coding/CMakeLists.txt b/library/cpp/yt/coding/CMakeLists.txt
new file mode 100644
index 0000000000..6313fcdc36
--- /dev/null
+++ b/library/cpp/yt/coding/CMakeLists.txt
@@ -0,0 +1,6 @@
+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/exception/CMakeLists.txt b/library/cpp/yt/exception/CMakeLists.txt
new file mode 100644
index 0000000000..26ead463a0
--- /dev/null
+++ b/library/cpp/yt/exception/CMakeLists.txt
@@ -0,0 +1,8 @@
+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/memory/CMakeLists.txt b/library/cpp/yt/memory/CMakeLists.txt
new file mode 100644
index 0000000000..ef15eea6fd
--- /dev/null
+++ b/library/cpp/yt/memory/CMakeLists.txt
@@ -0,0 +1,13 @@
+add_library(cpp-yt-memory)
+target_link_libraries(cpp-yt-memory PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-yt-assert
+ cpp-yt-misc
+ cpp-ytalloc-api
+)
+target_sources(cpp-yt-memory PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/blob.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref_tracked.cpp
+)
diff --git a/library/cpp/yt/misc/CMakeLists.txt b/library/cpp/yt/misc/CMakeLists.txt
new file mode 100644
index 0000000000..c9ac50fd71
--- /dev/null
+++ b/library/cpp/yt/misc/CMakeLists.txt
@@ -0,0 +1,10 @@
+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
+)
diff --git a/library/cpp/yt/string/CMakeLists.txt b/library/cpp/yt/string/CMakeLists.txt
new file mode 100644
index 0000000000..d26e6e35be
--- /dev/null
+++ b/library/cpp/yt/string/CMakeLists.txt
@@ -0,0 +1,13 @@
+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
+)
+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
+)
diff --git a/library/cpp/yt/yson/CMakeLists.txt b/library/cpp/yt/yson/CMakeLists.txt
new file mode 100644
index 0000000000..932a649365
--- /dev/null
+++ b/library/cpp/yt/yson/CMakeLists.txt
@@ -0,0 +1,9 @@
+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_string/CMakeLists.txt b/library/cpp/yt/yson_string/CMakeLists.txt
new file mode 100644
index 0000000000..f99bb3d9b2
--- /dev/null
+++ b/library/cpp/yt/yson_string/CMakeLists.txt
@@ -0,0 +1,15 @@
+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/ytalloc/api/CMakeLists.txt b/library/cpp/ytalloc/api/CMakeLists.txt
new file mode 100644
index 0000000000..ea481e4341
--- /dev/null
+++ b/library/cpp/ytalloc/api/CMakeLists.txt
@@ -0,0 +1,9 @@
+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
+)