diff options
author | robot-ya-builder <robot-ya-builder@yandex-team.com> | 2022-09-01 05:47:31 +0300 |
---|---|---|
committer | robot-ya-builder <robot-ya-builder@yandex-team.com> | 2022-09-01 05:47:31 +0300 |
commit | e83b936566d59e48df0aa4c414beaf0c4519c772 (patch) | |
tree | 43d715760743f81e2060d6ee6f4d4c9d8693751e /library/cpp | |
parent | fc8096bf8173562afc5da58dbbb019af2ce1ee2f (diff) | |
download | ydb-e83b936566d59e48df0aa4c414beaf0c4519c772.tar.gz |
Update external build system generation utility
* [cmake] Hierarchical add_subdirectroy structure
* [cmake] Support for same file compilation multiple times with different flags
Diffstat (limited to 'library/cpp')
64 files changed, 619 insertions, 12 deletions
diff --git a/library/cpp/CMakeLists.txt b/library/cpp/CMakeLists.txt new file mode 100644 index 0000000000..2be083d69c --- /dev/null +++ b/library/cpp/CMakeLists.txt @@ -0,0 +1,88 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(accurate_accumulate) +add_subdirectory(actors) +add_subdirectory(archive) +add_subdirectory(balloc) +add_subdirectory(binsaver) +add_subdirectory(bit_io) +add_subdirectory(blockcodecs) +add_subdirectory(bucket_quoter) +add_subdirectory(build_info) +add_subdirectory(cache) +add_subdirectory(case_insensitive_string) +add_subdirectory(cgiparam) +add_subdirectory(charset) +add_subdirectory(codecs) +add_subdirectory(colorizer) +add_subdirectory(compproto) +add_subdirectory(comptable) +add_subdirectory(containers) +add_subdirectory(coroutine) +add_subdirectory(cppparser) +add_subdirectory(cpuid_check) +add_subdirectory(dbg_output) +add_subdirectory(deprecated) +add_subdirectory(diff) +add_subdirectory(digest) +add_subdirectory(dns) +add_subdirectory(enumbitset) +add_subdirectory(execprofile) +add_subdirectory(getopt) +add_subdirectory(grpc) +add_subdirectory(histogram) +add_subdirectory(html) +add_subdirectory(http) +add_subdirectory(hyperloglog) +add_subdirectory(int128) +add_subdirectory(ipmath) +add_subdirectory(ipv6_address) +add_subdirectory(iterator) +add_subdirectory(json) +add_subdirectory(lcs) +add_subdirectory(lfalloc) +add_subdirectory(linear_regression) +add_subdirectory(logger) +add_subdirectory(lwtrace) +add_subdirectory(malloc) +add_subdirectory(messagebus) +add_subdirectory(mime) +add_subdirectory(monlib) +add_subdirectory(on_disk) +add_subdirectory(openssl) +add_subdirectory(packedtypes) +add_subdirectory(packers) +add_subdirectory(pop_count) +add_subdirectory(presort) +add_subdirectory(protobuf) +add_subdirectory(random_provider) +add_subdirectory(regex) +add_subdirectory(resource) +add_subdirectory(retry) +add_subdirectory(scheme) +add_subdirectory(sighandler) +add_subdirectory(sliding_window) +add_subdirectory(sse) +add_subdirectory(streams) +add_subdirectory(string_utils) +add_subdirectory(svnversion) +add_subdirectory(terminate_handler) +add_subdirectory(testing) +add_subdirectory(threading) +add_subdirectory(time_provider) +add_subdirectory(timezone_conversion) +add_subdirectory(tld) +add_subdirectory(unicode) +add_subdirectory(uri) +add_subdirectory(xml) +add_subdirectory(yaml) +add_subdirectory(yson) +add_subdirectory(yson_pull) +add_subdirectory(yt) +add_subdirectory(ytalloc) diff --git a/library/cpp/actors/CMakeLists.txt b/library/cpp/actors/CMakeLists.txt new file mode 100644 index 0000000000..b19b18f7a9 --- /dev/null +++ b/library/cpp/actors/CMakeLists.txt @@ -0,0 +1,20 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(core) +add_subdirectory(dnscachelib) +add_subdirectory(dnsresolver) +add_subdirectory(helpers) +add_subdirectory(http) +add_subdirectory(interconnect) +add_subdirectory(memory_log) +add_subdirectory(prof) +add_subdirectory(protos) +add_subdirectory(testlib) +add_subdirectory(util) +add_subdirectory(wilson) diff --git a/library/cpp/actors/interconnect/CMakeLists.darwin.txt b/library/cpp/actors/interconnect/CMakeLists.darwin.txt index 9bd0c83fce..f73af2defe 100644 --- a/library/cpp/actors/interconnect/CMakeLists.darwin.txt +++ b/library/cpp/actors/interconnect/CMakeLists.darwin.txt @@ -7,6 +7,7 @@ find_package(OpenSSL REQUIRED) +add_subdirectory(mock) add_library(cpp-actors-interconnect) target_link_libraries(cpp-actors-interconnect PUBLIC diff --git a/library/cpp/actors/interconnect/CMakeLists.linux.txt b/library/cpp/actors/interconnect/CMakeLists.linux.txt index c0e1b39c45..94a7bda34d 100644 --- a/library/cpp/actors/interconnect/CMakeLists.linux.txt +++ b/library/cpp/actors/interconnect/CMakeLists.linux.txt @@ -7,6 +7,7 @@ find_package(OpenSSL REQUIRED) +add_subdirectory(mock) add_library(cpp-actors-interconnect) target_link_libraries(cpp-actors-interconnect PUBLIC diff --git a/library/cpp/actors/wilson/CMakeLists.txt b/library/cpp/actors/wilson/CMakeLists.txt index 09a555a131..74661ec192 100644 --- a/library/cpp/actors/wilson/CMakeLists.txt +++ b/library/cpp/actors/wilson/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(protos) add_library(cpp-actors-wilson) target_link_libraries(cpp-actors-wilson PUBLIC diff --git a/library/cpp/balloc/CMakeLists.txt b/library/cpp/balloc/CMakeLists.txt index d4ed3b53d2..9f044845ba 100644 --- a/library/cpp/balloc/CMakeLists.txt +++ b/library/cpp/balloc/CMakeLists.txt @@ -6,6 +6,8 @@ # original buildsystem will not be accepted. +add_subdirectory(lib) +add_subdirectory(setup) add_library(library-cpp-balloc) target_compile_options(library-cpp-balloc PRIVATE diff --git a/library/cpp/blockcodecs/CMakeLists.txt b/library/cpp/blockcodecs/CMakeLists.txt index 7610f291a0..999004c65a 100644 --- a/library/cpp/blockcodecs/CMakeLists.txt +++ b/library/cpp/blockcodecs/CMakeLists.txt @@ -6,6 +6,8 @@ # original buildsystem will not be accepted. +add_subdirectory(codecs) +add_subdirectory(core) add_library(library-cpp-blockcodecs) target_link_libraries(library-cpp-blockcodecs PUBLIC diff --git a/library/cpp/blockcodecs/codecs/CMakeLists.txt b/library/cpp/blockcodecs/codecs/CMakeLists.txt new file mode 100644 index 0000000000..1dc34f79b8 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/CMakeLists.txt @@ -0,0 +1,17 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(brotli) +add_subdirectory(bzip) +add_subdirectory(fastlz) +add_subdirectory(legacy_zstd06) +add_subdirectory(lz4) +add_subdirectory(lzma) +add_subdirectory(snappy) +add_subdirectory(zlib) +add_subdirectory(zstd) diff --git a/library/cpp/codecs/CMakeLists.txt b/library/cpp/codecs/CMakeLists.txt index 54b76fbea9..776e37d335 100644 --- a/library/cpp/codecs/CMakeLists.txt +++ b/library/cpp/codecs/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(greedy_dict) add_library(library-cpp-codecs) target_link_libraries(library-cpp-codecs PUBLIC diff --git a/library/cpp/containers/CMakeLists.txt b/library/cpp/containers/CMakeLists.txt new file mode 100644 index 0000000000..cf1ec79fb8 --- /dev/null +++ b/library/cpp/containers/CMakeLists.txt @@ -0,0 +1,24 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(2d_array) +add_subdirectory(atomizer) +add_subdirectory(bitseq) +add_subdirectory(compact_vector) +add_subdirectory(comptrie) +add_subdirectory(disjoint_interval_tree) +add_subdirectory(flat_hash) +add_subdirectory(intrusive_avl_tree) +add_subdirectory(intrusive_rb_tree) +add_subdirectory(paged_vector) +add_subdirectory(ring_buffer) +add_subdirectory(sorted_vector) +add_subdirectory(stack_array) +add_subdirectory(stack_vector) +add_subdirectory(str_map) +add_subdirectory(top_keeper) diff --git a/library/cpp/coroutine/CMakeLists.txt b/library/cpp/coroutine/CMakeLists.txt new file mode 100644 index 0000000000..e684f539b2 --- /dev/null +++ b/library/cpp/coroutine/CMakeLists.txt @@ -0,0 +1,10 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(engine) +add_subdirectory(listener) diff --git a/library/cpp/deprecated/CMakeLists.txt b/library/cpp/deprecated/CMakeLists.txt new file mode 100644 index 0000000000..3afb649cd0 --- /dev/null +++ b/library/cpp/deprecated/CMakeLists.txt @@ -0,0 +1,13 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(accessors) +add_subdirectory(atomic) +add_subdirectory(enum_codegen) +add_subdirectory(kmp) +add_subdirectory(split) diff --git a/library/cpp/digest/CMakeLists.txt b/library/cpp/digest/CMakeLists.txt new file mode 100644 index 0000000000..7c361872e4 --- /dev/null +++ b/library/cpp/digest/CMakeLists.txt @@ -0,0 +1,15 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(argonish) +add_subdirectory(crc32c) +add_subdirectory(lower_case) +add_subdirectory(md5) +add_subdirectory(murmur) +add_subdirectory(old_crc) +add_subdirectory(sfh) diff --git a/library/cpp/digest/argonish/CMakeLists.txt b/library/cpp/digest/argonish/CMakeLists.txt index a110539238..617cc9aa13 100644 --- a/library/cpp/digest/argonish/CMakeLists.txt +++ b/library/cpp/digest/argonish/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(internal) add_library(cpp-digest-argonish) target_link_libraries(cpp-digest-argonish PUBLIC diff --git a/library/cpp/digest/argonish/internal/CMakeLists.txt b/library/cpp/digest/argonish/internal/CMakeLists.txt new file mode 100644 index 0000000000..8311b4e2a7 --- /dev/null +++ b/library/cpp/digest/argonish/internal/CMakeLists.txt @@ -0,0 +1,13 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(argon2) +add_subdirectory(blake2b) +add_subdirectory(blamka) +add_subdirectory(proxies) +add_subdirectory(rotations) diff --git a/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt new file mode 100644 index 0000000000..4ea0d5c2d9 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt @@ -0,0 +1,14 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(avx2) +add_subdirectory(macro) +add_subdirectory(ref) +add_subdirectory(sse2) +add_subdirectory(sse41) +add_subdirectory(ssse3) diff --git a/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt index bf72fc385b..4b8bb68b72 100644 --- a/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt @@ -14,3 +14,13 @@ target_link_libraries(internal-proxies-avx2 PUBLIC argonish-internal-argon2 argonish-internal-blake2b ) +target_sources_custom(internal-proxies-avx2 + .avx2 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/avx2/proxy_avx2.cpp + CUSTOM_FLAGS + -mavx2 + -mfma + -mbmi + -mbmi2 +) diff --git a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt index 3ef0a60661..353f9e487e 100644 --- a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt @@ -14,3 +14,10 @@ target_link_libraries(internal-proxies-sse2 PUBLIC argonish-internal-argon2 argonish-internal-blake2b ) +target_sources_custom(internal-proxies-sse2 + .sse2 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse2/proxy_sse2.cpp + CUSTOM_FLAGS + -msse2 +) diff --git a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt index 398f5a6b40..004aaa1e52 100644 --- a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt @@ -14,3 +14,10 @@ target_link_libraries(internal-proxies-sse41 PUBLIC argonish-internal-argon2 argonish-internal-blake2b ) +target_sources_custom(internal-proxies-sse41 + .sse41 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/sse41/proxy_sse41.cpp + CUSTOM_FLAGS + -msse4.1 +) diff --git a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt index adcf9d0085..1a30e0e974 100644 --- a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt @@ -14,3 +14,10 @@ target_link_libraries(internal-proxies-ssse3 PUBLIC argonish-internal-argon2 argonish-internal-blake2b ) +target_sources_custom(internal-proxies-ssse3 + .ssse3 + SRCS + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/ssse3/proxy_ssse3.cpp + CUSTOM_FLAGS + -mssse3 +) diff --git a/library/cpp/digest/old_crc/CMakeLists.txt b/library/cpp/digest/old_crc/CMakeLists.txt index 77debee38f..dedf7adedd 100644 --- a/library/cpp/digest/old_crc/CMakeLists.txt +++ b/library/cpp/digest/old_crc/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(gencrc) add_library(cpp-digest-old_crc) target_link_libraries(cpp-digest-old_crc PUBLIC diff --git a/library/cpp/getopt/CMakeLists.txt b/library/cpp/getopt/CMakeLists.txt index 29ac8b8e2c..7c366f9a33 100644 --- a/library/cpp/getopt/CMakeLists.txt +++ b/library/cpp/getopt/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(small) add_library(library-cpp-getopt INTERFACE) target_link_libraries(library-cpp-getopt INTERFACE diff --git a/library/cpp/grpc/CMakeLists.txt b/library/cpp/grpc/CMakeLists.txt new file mode 100644 index 0000000000..28f45865a3 --- /dev/null +++ b/library/cpp/grpc/CMakeLists.txt @@ -0,0 +1,10 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(client) +add_subdirectory(server) diff --git a/library/cpp/grpc/server/CMakeLists.txt b/library/cpp/grpc/server/CMakeLists.txt index eea6892826..0f7e4f6a93 100644 --- a/library/cpp/grpc/server/CMakeLists.txt +++ b/library/cpp/grpc/server/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(actors) add_library(cpp-grpc-server) target_link_libraries(cpp-grpc-server PUBLIC diff --git a/library/cpp/histogram/CMakeLists.txt b/library/cpp/histogram/CMakeLists.txt new file mode 100644 index 0000000000..0a062c1029 --- /dev/null +++ b/library/cpp/histogram/CMakeLists.txt @@ -0,0 +1,10 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(adaptive) +add_subdirectory(hdr) diff --git a/library/cpp/histogram/adaptive/CMakeLists.txt b/library/cpp/histogram/adaptive/CMakeLists.txt index 8aeaa59dc2..4b8b25ac3f 100644 --- a/library/cpp/histogram/adaptive/CMakeLists.txt +++ b/library/cpp/histogram/adaptive/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(protos) add_library(cpp-histogram-adaptive) target_link_libraries(cpp-histogram-adaptive PUBLIC diff --git a/library/cpp/html/CMakeLists.txt b/library/cpp/html/CMakeLists.txt new file mode 100644 index 0000000000..6489ac4594 --- /dev/null +++ b/library/cpp/html/CMakeLists.txt @@ -0,0 +1,10 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(escape) +add_subdirectory(pcdata) diff --git a/library/cpp/http/CMakeLists.txt b/library/cpp/http/CMakeLists.txt new file mode 100644 index 0000000000..8ce2e73037 --- /dev/null +++ b/library/cpp/http/CMakeLists.txt @@ -0,0 +1,13 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(fetch) +add_subdirectory(io) +add_subdirectory(misc) +add_subdirectory(server) +add_subdirectory(simple) diff --git a/library/cpp/json/CMakeLists.txt b/library/cpp/json/CMakeLists.txt index ca36c8f305..7b11a2bf41 100644 --- a/library/cpp/json/CMakeLists.txt +++ b/library/cpp/json/CMakeLists.txt @@ -6,6 +6,11 @@ # original buildsystem will not be accepted. +add_subdirectory(common) +add_subdirectory(easy_parse) +add_subdirectory(fast_sax) +add_subdirectory(writer) +add_subdirectory(yson) add_library(library-cpp-json) target_link_libraries(library-cpp-json PUBLIC diff --git a/library/cpp/lfalloc/CMakeLists.darwin.txt b/library/cpp/lfalloc/CMakeLists.darwin.txt new file mode 100644 index 0000000000..3c17261bd6 --- /dev/null +++ b/library/cpp/lfalloc/CMakeLists.darwin.txt @@ -0,0 +1,23 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(alloc_profiler) +add_subdirectory(dbg_info) +add_subdirectory(yt) + +add_library(library-cpp-lfalloc) +target_compile_options(library-cpp-lfalloc PRIVATE + -Wno-everything +) +target_link_libraries(library-cpp-lfalloc PUBLIC + contrib-libs-cxxsupp + cpp-malloc-api +) +target_sources(library-cpp-lfalloc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/lf_allocX64.cpp +) diff --git a/library/cpp/lfalloc/CMakeLists.linux.txt b/library/cpp/lfalloc/CMakeLists.linux.txt new file mode 100644 index 0000000000..d3171b42df --- /dev/null +++ b/library/cpp/lfalloc/CMakeLists.linux.txt @@ -0,0 +1,22 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(alloc_profiler) +add_subdirectory(dbg_info) + +add_library(library-cpp-lfalloc) +target_compile_options(library-cpp-lfalloc PRIVATE + -Wno-everything +) +target_link_libraries(library-cpp-lfalloc PUBLIC + contrib-libs-cxxsupp + cpp-malloc-api +) +target_sources(library-cpp-lfalloc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/lf_allocX64.cpp +) diff --git a/library/cpp/lfalloc/CMakeLists.txt b/library/cpp/lfalloc/CMakeLists.txt index 9564ed7af0..fc7b1ee73c 100644 --- a/library/cpp/lfalloc/CMakeLists.txt +++ b/library/cpp/lfalloc/CMakeLists.txt @@ -6,15 +6,8 @@ # original buildsystem will not be accepted. - -add_library(library-cpp-lfalloc) -target_compile_options(library-cpp-lfalloc PRIVATE - -Wno-everything -) -target_link_libraries(library-cpp-lfalloc PUBLIC - contrib-libs-cxxsupp - cpp-malloc-api -) -target_sources(library-cpp-lfalloc PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/lf_allocX64.cpp -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX AND NOT APPLE) + include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/logger/CMakeLists.txt b/library/cpp/logger/CMakeLists.txt index be8b8e4ad1..07d54ae816 100644 --- a/library/cpp/logger/CMakeLists.txt +++ b/library/cpp/logger/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(global) add_library(library-cpp-logger) target_link_libraries(library-cpp-logger PUBLIC diff --git a/library/cpp/lwtrace/CMakeLists.txt b/library/cpp/lwtrace/CMakeLists.txt index ea12841d58..4e5a2aab55 100644 --- a/library/cpp/lwtrace/CMakeLists.txt +++ b/library/cpp/lwtrace/CMakeLists.txt @@ -6,6 +6,8 @@ # original buildsystem will not be accepted. +add_subdirectory(mon) +add_subdirectory(protos) add_library(library-cpp-lwtrace) target_link_libraries(library-cpp-lwtrace PUBLIC diff --git a/library/cpp/lwtrace/mon/CMakeLists.txt b/library/cpp/lwtrace/mon/CMakeLists.txt index ac651febeb..50bdef36cb 100644 --- a/library/cpp/lwtrace/mon/CMakeLists.txt +++ b/library/cpp/lwtrace/mon/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(analytics) add_library(cpp-lwtrace-mon) target_link_libraries(cpp-lwtrace-mon PUBLIC diff --git a/library/cpp/malloc/CMakeLists.darwin.txt b/library/cpp/malloc/CMakeLists.darwin.txt new file mode 100644 index 0000000000..773e71fc8f --- /dev/null +++ b/library/cpp/malloc/CMakeLists.darwin.txt @@ -0,0 +1,10 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(api) +add_subdirectory(jemalloc) diff --git a/library/cpp/malloc/CMakeLists.linux.txt b/library/cpp/malloc/CMakeLists.linux.txt new file mode 100644 index 0000000000..b68a3a50a1 --- /dev/null +++ b/library/cpp/malloc/CMakeLists.linux.txt @@ -0,0 +1,11 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(api) +add_subdirectory(jemalloc) +add_subdirectory(tcmalloc) diff --git a/library/cpp/malloc/CMakeLists.txt b/library/cpp/malloc/CMakeLists.txt new file mode 100644 index 0000000000..fc7b1ee73c --- /dev/null +++ b/library/cpp/malloc/CMakeLists.txt @@ -0,0 +1,13 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX AND NOT APPLE) + include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/messagebus/CMakeLists.txt b/library/cpp/messagebus/CMakeLists.txt index a237adaef8..9f0f8baf67 100644 --- a/library/cpp/messagebus/CMakeLists.txt +++ b/library/cpp/messagebus/CMakeLists.txt @@ -6,6 +6,13 @@ # original buildsystem will not be accepted. +add_subdirectory(actor) +add_subdirectory(config) +add_subdirectory(monitoring) +add_subdirectory(oldmodule) +add_subdirectory(protobuf) +add_subdirectory(scheduler) +add_subdirectory(www) add_library(library-cpp-messagebus) target_link_libraries(library-cpp-messagebus PUBLIC diff --git a/library/cpp/mime/CMakeLists.txt b/library/cpp/mime/CMakeLists.txt new file mode 100644 index 0000000000..e9367ea4a9 --- /dev/null +++ b/library/cpp/mime/CMakeLists.txt @@ -0,0 +1,9 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(types) diff --git a/library/cpp/monlib/CMakeLists.txt b/library/cpp/monlib/CMakeLists.txt new file mode 100644 index 0000000000..f618762aa8 --- /dev/null +++ b/library/cpp/monlib/CMakeLists.txt @@ -0,0 +1,15 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(deprecated) +add_subdirectory(dynamic_counters) +add_subdirectory(encode) +add_subdirectory(exception) +add_subdirectory(messagebus) +add_subdirectory(metrics) +add_subdirectory(service) diff --git a/library/cpp/monlib/deprecated/CMakeLists.txt b/library/cpp/monlib/deprecated/CMakeLists.txt new file mode 100644 index 0000000000..b413e0df87 --- /dev/null +++ b/library/cpp/monlib/deprecated/CMakeLists.txt @@ -0,0 +1,9 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(json) diff --git a/library/cpp/monlib/dynamic_counters/CMakeLists.txt b/library/cpp/monlib/dynamic_counters/CMakeLists.txt index e7bd3b4597..e8dacd3a61 100644 --- a/library/cpp/monlib/dynamic_counters/CMakeLists.txt +++ b/library/cpp/monlib/dynamic_counters/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(percentile) add_library(cpp-monlib-dynamic_counters) target_link_libraries(cpp-monlib-dynamic_counters PUBLIC diff --git a/library/cpp/monlib/encode/CMakeLists.txt b/library/cpp/monlib/encode/CMakeLists.txt index c00a5530e3..539c9b07f3 100644 --- a/library/cpp/monlib/encode/CMakeLists.txt +++ b/library/cpp/monlib/encode/CMakeLists.txt @@ -6,6 +6,12 @@ # original buildsystem will not be accepted. +add_subdirectory(buffered) +add_subdirectory(json) +add_subdirectory(legacy_protobuf) +add_subdirectory(prometheus) +add_subdirectory(spack) +add_subdirectory(text) add_library(cpp-monlib-encode) target_link_libraries(cpp-monlib-encode PUBLIC diff --git a/library/cpp/monlib/encode/legacy_protobuf/CMakeLists.txt b/library/cpp/monlib/encode/legacy_protobuf/CMakeLists.txt new file mode 100644 index 0000000000..dde515d0db --- /dev/null +++ b/library/cpp/monlib/encode/legacy_protobuf/CMakeLists.txt @@ -0,0 +1,9 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(protos) diff --git a/library/cpp/monlib/service/CMakeLists.txt b/library/cpp/monlib/service/CMakeLists.txt index db4bf963ff..24bc76ad29 100644 --- a/library/cpp/monlib/service/CMakeLists.txt +++ b/library/cpp/monlib/service/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(pages) add_library(cpp-monlib-service) target_link_libraries(cpp-monlib-service PUBLIC diff --git a/library/cpp/monlib/service/pages/CMakeLists.txt b/library/cpp/monlib/service/pages/CMakeLists.txt index 36b85fd379..cc2387ede1 100644 --- a/library/cpp/monlib/service/pages/CMakeLists.txt +++ b/library/cpp/monlib/service/pages/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(tablesorter) add_library(monlib-service-pages) target_link_libraries(monlib-service-pages PUBLIC diff --git a/library/cpp/on_disk/CMakeLists.txt b/library/cpp/on_disk/CMakeLists.txt new file mode 100644 index 0000000000..461a4b7a97 --- /dev/null +++ b/library/cpp/on_disk/CMakeLists.txt @@ -0,0 +1,9 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(chunks) diff --git a/library/cpp/openssl/CMakeLists.txt b/library/cpp/openssl/CMakeLists.txt new file mode 100644 index 0000000000..392ccc8eb4 --- /dev/null +++ b/library/cpp/openssl/CMakeLists.txt @@ -0,0 +1,12 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(holders) +add_subdirectory(init) +add_subdirectory(io) +add_subdirectory(method) diff --git a/library/cpp/protobuf/CMakeLists.txt b/library/cpp/protobuf/CMakeLists.txt new file mode 100644 index 0000000000..41b18218f1 --- /dev/null +++ b/library/cpp/protobuf/CMakeLists.txt @@ -0,0 +1,11 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(interop) +add_subdirectory(json) +add_subdirectory(util) diff --git a/library/cpp/protobuf/util/CMakeLists.txt b/library/cpp/protobuf/util/CMakeLists.txt index d25187fbdb..d04f95d395 100644 --- a/library/cpp/protobuf/util/CMakeLists.txt +++ b/library/cpp/protobuf/util/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(proto) add_library(cpp-protobuf-util) target_link_libraries(cpp-protobuf-util PUBLIC diff --git a/library/cpp/regex/CMakeLists.txt b/library/cpp/regex/CMakeLists.txt new file mode 100644 index 0000000000..0eebca8708 --- /dev/null +++ b/library/cpp/regex/CMakeLists.txt @@ -0,0 +1,11 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(hyperscan) +add_subdirectory(pcre) +add_subdirectory(pire) diff --git a/library/cpp/retry/CMakeLists.txt b/library/cpp/retry/CMakeLists.txt index cda3814e3f..3868f3975e 100644 --- a/library/cpp/retry/CMakeLists.txt +++ b/library/cpp/retry/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(protos) add_library(library-cpp-retry) target_link_libraries(library-cpp-retry PUBLIC diff --git a/library/cpp/streams/CMakeLists.txt b/library/cpp/streams/CMakeLists.txt new file mode 100644 index 0000000000..bdb896c6ed --- /dev/null +++ b/library/cpp/streams/CMakeLists.txt @@ -0,0 +1,13 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(brotli) +add_subdirectory(bzip2) +add_subdirectory(lzma) +add_subdirectory(zc_memory_input) +add_subdirectory(zstd) diff --git a/library/cpp/string_utils/CMakeLists.txt b/library/cpp/string_utils/CMakeLists.txt new file mode 100644 index 0000000000..d256782733 --- /dev/null +++ b/library/cpp/string_utils/CMakeLists.txt @@ -0,0 +1,17 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(base64) +add_subdirectory(indent_text) +add_subdirectory(levenshtein_diff) +add_subdirectory(parse_size) +add_subdirectory(quote) +add_subdirectory(relaxed_escaper) +add_subdirectory(scan) +add_subdirectory(url) +add_subdirectory(ztstrbuf) diff --git a/library/cpp/testing/CMakeLists.txt b/library/cpp/testing/CMakeLists.txt new file mode 100644 index 0000000000..8a69d51279 --- /dev/null +++ b/library/cpp/testing/CMakeLists.txt @@ -0,0 +1,15 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(benchmark) +add_subdirectory(common) +add_subdirectory(gmock_in_unittest) +add_subdirectory(gtest_extensions) +add_subdirectory(hook) +add_subdirectory(unittest) +add_subdirectory(unittest_main) diff --git a/library/cpp/testing/benchmark/CMakeLists.txt b/library/cpp/testing/benchmark/CMakeLists.txt index 2df1ac1d91..359c73c5f4 100644 --- a/library/cpp/testing/benchmark/CMakeLists.txt +++ b/library/cpp/testing/benchmark/CMakeLists.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(main) add_library(cpp-testing-benchmark) target_link_libraries(cpp-testing-benchmark PUBLIC diff --git a/library/cpp/threading/CMakeLists.txt b/library/cpp/threading/CMakeLists.txt new file mode 100644 index 0000000000..1246829e67 --- /dev/null +++ b/library/cpp/threading/CMakeLists.txt @@ -0,0 +1,18 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(atomic) +add_subdirectory(chunk_queue) +add_subdirectory(equeue) +add_subdirectory(future) +add_subdirectory(light_rw_lock) +add_subdirectory(local_executor) +add_subdirectory(poor_man_openmp) +add_subdirectory(queue) +add_subdirectory(skip_list) +add_subdirectory(task_scheduler) diff --git a/library/cpp/unicode/CMakeLists.txt b/library/cpp/unicode/CMakeLists.txt new file mode 100644 index 0000000000..915ed345c1 --- /dev/null +++ b/library/cpp/unicode/CMakeLists.txt @@ -0,0 +1,10 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(normalization) +add_subdirectory(punycode) diff --git a/library/cpp/xml/CMakeLists.txt b/library/cpp/xml/CMakeLists.txt new file mode 100644 index 0000000000..504e1326a6 --- /dev/null +++ b/library/cpp/xml/CMakeLists.txt @@ -0,0 +1,10 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(document) +add_subdirectory(init) diff --git a/library/cpp/yaml/CMakeLists.txt b/library/cpp/yaml/CMakeLists.txt new file mode 100644 index 0000000000..df58c83133 --- /dev/null +++ b/library/cpp/yaml/CMakeLists.txt @@ -0,0 +1,9 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(as) diff --git a/library/cpp/yson/CMakeLists.txt b/library/cpp/yson/CMakeLists.txt index 7933584935..43fd932e00 100644 --- a/library/cpp/yson/CMakeLists.txt +++ b/library/cpp/yson/CMakeLists.txt @@ -6,6 +6,8 @@ # original buildsystem will not be accepted. +add_subdirectory(json) +add_subdirectory(node) add_library(library-cpp-yson) target_link_libraries(library-cpp-yson PUBLIC diff --git a/library/cpp/yt/CMakeLists.txt b/library/cpp/yt/CMakeLists.txt new file mode 100644 index 0000000000..c90bdf25de --- /dev/null +++ b/library/cpp/yt/CMakeLists.txt @@ -0,0 +1,18 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(assert) +add_subdirectory(coding) +add_subdirectory(exception) +add_subdirectory(malloc) +add_subdirectory(memory) +add_subdirectory(misc) +add_subdirectory(small_containers) +add_subdirectory(string) +add_subdirectory(yson) +add_subdirectory(yson_string) diff --git a/library/cpp/ytalloc/CMakeLists.txt b/library/cpp/ytalloc/CMakeLists.txt new file mode 100644 index 0000000000..0a386de02f --- /dev/null +++ b/library/cpp/ytalloc/CMakeLists.txt @@ -0,0 +1,9 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(api) |