diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-18 15:49:59 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-18 15:49:59 +0300 |
commit | b4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch) | |
tree | 6a64ab25a145265287789bceed3f59e953561206 /library/cpp/containers | |
parent | 5e837a820d5be0671fa4096a1cc1e378453e5132 (diff) | |
download | ydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz |
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'library/cpp/containers')
16 files changed, 156 insertions, 0 deletions
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 +) |