diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-09 12:42:44 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-09 12:42:44 +0300 |
commit | 6324d075a5e80b6943b5de6b465b775050fe83df (patch) | |
tree | e02ce32e988042438f64df770a528164ac572879 /library | |
parent | 039e25e1597bec288de44e5061c1b84e195add08 (diff) | |
download | ydb-6324d075a5e80b6943b5de6b465b775050fe83df.tar.gz |
Intermediate changes
Diffstat (limited to 'library')
504 files changed, 6866 insertions, 2 deletions
diff --git a/library/cpp/CMakeLists.txt b/library/cpp/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/CMakeLists.txt +++ b/library/cpp/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/CMakeLists.windows-x86_64.txt b/library/cpp/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2e5648a15c --- /dev/null +++ b/library/cpp/CMakeLists.windows-x86_64.txt @@ -0,0 +1,92 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to 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(config) +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(lua) +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(tdigest) +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(unified_agent_client) +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/accurate_accumulate/CMakeLists.txt b/library/cpp/accurate_accumulate/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/accurate_accumulate/CMakeLists.txt +++ b/library/cpp/accurate_accumulate/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/accurate_accumulate/CMakeLists.windows-x86_64.txt b/library/cpp/accurate_accumulate/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..6d68faefed --- /dev/null +++ b/library/cpp/accurate_accumulate/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-accurate_accumulate) +target_link_libraries(library-cpp-accurate_accumulate PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-accurate_accumulate PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/accurate_accumulate/accurate_accumulate.cpp +) diff --git a/library/cpp/actors/core/CMakeLists.txt b/library/cpp/actors/core/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/core/CMakeLists.txt +++ b/library/cpp/actors/core/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/core/CMakeLists.windows-x86_64.txt b/library/cpp/actors/core/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..7fe4e2c2ff --- /dev/null +++ b/library/cpp/actors/core/CMakeLists.windows-x86_64.txt @@ -0,0 +1,86 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +add_library(cpp-actors-core) +target_link_libraries(cpp-actors-core PUBLIC + contrib-libs-cxxsupp + yutil + tools-enum_parser-enum_serialization_runtime + cpp-actors-memory_log + cpp-actors-prof + cpp-actors-protos + cpp-actors-util + library-cpp-execprofile + cpp-json-writer + library-cpp-logger + library-cpp-lwtrace + cpp-monlib-dynamic_counters + library-cpp-svnversion + library-cpp-time_provider + cpp-threading-future +) +target_sources(cpp-actors-core PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_bootstrapped.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_coroutine.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_virtual.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorid.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorsystem.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/ask.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/av_bootstrapped.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/balancer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/buffer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/callstack.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/cpu_manager.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/events_undelivered.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_base.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_basic.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_io.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_united.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_thread.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/harmonizer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/interconnect.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/io_dispatcher.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_settings.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_buffer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/mailbox.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic_provider.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/worker_context.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/probes.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/process_stats.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_actor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_basic.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_cookie.cpp +) +generate_enum_serilization(cpp-actors-core + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/defs.h + INCLUDE_HEADERS + library/cpp/actors/core/defs.h +) +generate_enum_serilization(cpp-actors-core + ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.h + INCLUDE_HEADERS + library/cpp/actors/core/actor.h +) diff --git a/library/cpp/actors/dnscachelib/CMakeLists.txt b/library/cpp/actors/dnscachelib/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/dnscachelib/CMakeLists.txt +++ b/library/cpp/actors/dnscachelib/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/dnscachelib/CMakeLists.windows-x86_64.txt b/library/cpp/actors/dnscachelib/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..539f17a1a2 --- /dev/null +++ b/library/cpp/actors/dnscachelib/CMakeLists.windows-x86_64.txt @@ -0,0 +1,22 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(c-ares REQUIRED) + +add_library(cpp-actors-dnscachelib) +target_link_libraries(cpp-actors-dnscachelib PUBLIC + contrib-libs-cxxsupp + yutil + c-ares::c-ares + library-cpp-lwtrace + cpp-deprecated-atomic +) +target_sources(cpp-actors-dnscachelib PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/dnscache.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/probes.cpp +) diff --git a/library/cpp/actors/dnsresolver/CMakeLists.txt b/library/cpp/actors/dnsresolver/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/dnsresolver/CMakeLists.txt +++ b/library/cpp/actors/dnsresolver/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/dnsresolver/CMakeLists.windows-x86_64.txt b/library/cpp/actors/dnsresolver/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..341f9e7593 --- /dev/null +++ b/library/cpp/actors/dnsresolver/CMakeLists.windows-x86_64.txt @@ -0,0 +1,25 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(c-ares REQUIRED) + +add_library(cpp-actors-dnsresolver) +target_include_directories(cpp-actors-dnsresolver PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include +) +target_link_libraries(cpp-actors-dnsresolver PUBLIC + contrib-libs-cxxsupp + yutil + cpp-actors-core + c-ares::c-ares +) +target_sources(cpp-actors-dnsresolver PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand.cpp +) diff --git a/library/cpp/actors/helpers/CMakeLists.txt b/library/cpp/actors/helpers/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/helpers/CMakeLists.txt +++ b/library/cpp/actors/helpers/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/helpers/CMakeLists.windows-x86_64.txt b/library/cpp/actors/helpers/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..16ecfc7b98 --- /dev/null +++ b/library/cpp/actors/helpers/CMakeLists.windows-x86_64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-actors-helpers) +target_link_libraries(cpp-actors-helpers PUBLIC + contrib-libs-cxxsupp + yutil + cpp-actors-core + cpp-monlib-dynamic_counters +) +target_sources(cpp-actors-helpers PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/activeactors.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/flow_controlled_queue.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/selfping_actor.cpp +) diff --git a/library/cpp/actors/http/CMakeLists.txt b/library/cpp/actors/http/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/http/CMakeLists.txt +++ b/library/cpp/actors/http/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/http/CMakeLists.windows-x86_64.txt b/library/cpp/actors/http/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c60599beaa --- /dev/null +++ b/library/cpp/actors/http/CMakeLists.windows-x86_64.txt @@ -0,0 +1,33 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(OpenSSL REQUIRED) +find_package(ZLIB REQUIRED) + +add_library(cpp-actors-http) +target_link_libraries(cpp-actors-http PUBLIC + contrib-libs-cxxsupp + yutil + OpenSSL::OpenSSL + ZLIB::ZLIB + cpp-actors-core + cpp-actors-interconnect + library-cpp-dns + cpp-monlib-metrics + cpp-string_utils-quote +) +target_sources(cpp-actors-http PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_cache.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_compress.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_acceptor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_incoming.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_outgoing.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_static.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http.cpp +) diff --git a/library/cpp/actors/interconnect/CMakeLists.txt b/library/cpp/actors/interconnect/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/interconnect/CMakeLists.txt +++ b/library/cpp/actors/interconnect/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/interconnect/CMakeLists.windows-x86_64.txt b/library/cpp/actors/interconnect/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..49ad9e634b --- /dev/null +++ b/library/cpp/actors/interconnect/CMakeLists.windows-x86_64.txt @@ -0,0 +1,57 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(OpenSSL REQUIRED) +add_subdirectory(mock) + +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-actors-wilson + 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 +) diff --git a/library/cpp/actors/interconnect/mock/CMakeLists.txt b/library/cpp/actors/interconnect/mock/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/interconnect/mock/CMakeLists.txt +++ b/library/cpp/actors/interconnect/mock/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/interconnect/mock/CMakeLists.windows-x86_64.txt b/library/cpp/actors/interconnect/mock/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c29d87b0ce --- /dev/null +++ b/library/cpp/actors/interconnect/mock/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(actors-interconnect-mock) +target_link_libraries(actors-interconnect-mock PUBLIC + contrib-libs-cxxsupp + yutil + cpp-actors-interconnect +) +target_sources(actors-interconnect-mock PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/mock/ic_mock.cpp +) diff --git a/library/cpp/actors/log_backend/CMakeLists.txt b/library/cpp/actors/log_backend/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/log_backend/CMakeLists.txt +++ b/library/cpp/actors/log_backend/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/log_backend/CMakeLists.windows-x86_64.txt b/library/cpp/actors/log_backend/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2845e78e35 --- /dev/null +++ b/library/cpp/actors/log_backend/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-actors-log_backend) +target_link_libraries(cpp-actors-log_backend PUBLIC + contrib-libs-cxxsupp + yutil + cpp-actors-core + library-cpp-logger +) +target_sources(cpp-actors-log_backend PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/log_backend/actor_log_backend.cpp +) diff --git a/library/cpp/actors/memory_log/CMakeLists.txt b/library/cpp/actors/memory_log/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/memory_log/CMakeLists.txt +++ b/library/cpp/actors/memory_log/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/memory_log/CMakeLists.windows-x86_64.txt b/library/cpp/actors/memory_log/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..5109f0fcce --- /dev/null +++ b/library/cpp/actors/memory_log/CMakeLists.windows-x86_64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-actors-memory_log) +target_link_libraries(cpp-actors-memory_log PUBLIC + contrib-libs-cxxsupp + yutil + cpp-threading-queue + contrib-libs-linuxvdso + cpp-deprecated-atomic +) +target_sources(cpp-actors-memory_log PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/memlog.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/mmap.cpp +) diff --git a/library/cpp/actors/prof/CMakeLists.txt b/library/cpp/actors/prof/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/prof/CMakeLists.txt +++ b/library/cpp/actors/prof/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/prof/CMakeLists.windows-x86_64.txt b/library/cpp/actors/prof/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..9ee960950d --- /dev/null +++ b/library/cpp/actors/prof/CMakeLists.windows-x86_64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-actors-prof) +target_link_libraries(cpp-actors-prof PUBLIC + contrib-libs-cxxsupp + yutil + libs-tcmalloc-malloc_extension + library-cpp-charset + cpp-containers-atomizer +) +target_sources(cpp-actors-prof PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tag.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tcmalloc.cpp +) diff --git a/library/cpp/actors/protos/CMakeLists.txt b/library/cpp/actors/protos/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/protos/CMakeLists.txt +++ b/library/cpp/actors/protos/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/protos/CMakeLists.windows-x86_64.txt b/library/cpp/actors/protos/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..be3257b127 --- /dev/null +++ b/library/cpp/actors/protos/CMakeLists.windows-x86_64.txt @@ -0,0 +1,82 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_library(cpp-actors-protos) +target_link_libraries(cpp-actors-protos PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf +) +target_proto_messages(cpp-actors-protos PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/actors.proto + ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/interconnect.proto + ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/services_common.proto + ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/unittests.proto +) +target_proto_addincls(cpp-actors-protos + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(cpp-actors-protos + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) diff --git a/library/cpp/actors/testlib/CMakeLists.txt b/library/cpp/actors/testlib/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/testlib/CMakeLists.txt +++ b/library/cpp/actors/testlib/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/testlib/CMakeLists.windows-x86_64.txt b/library/cpp/actors/testlib/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..1508c82e9b --- /dev/null +++ b/library/cpp/actors/testlib/CMakeLists.windows-x86_64.txt @@ -0,0 +1,22 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-actors-testlib) +target_link_libraries(cpp-actors-testlib PUBLIC + contrib-libs-cxxsupp + yutil + cpp-actors-core + actors-interconnect-mock + cpp-actors-protos + library-cpp-random_provider + library-cpp-time_provider +) +target_sources(cpp-actors-testlib PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/test_runtime.cpp +) diff --git a/library/cpp/actors/util/CMakeLists.txt b/library/cpp/actors/util/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/util/CMakeLists.txt +++ b/library/cpp/actors/util/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/util/CMakeLists.windows-x86_64.txt b/library/cpp/actors/util/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2bac6f5b8a --- /dev/null +++ b/library/cpp/actors/util/CMakeLists.windows-x86_64.txt @@ -0,0 +1,24 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-actors-util) +target_link_libraries(cpp-actors-util PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-atomic + library-cpp-pop_count +) +target_sources(cpp-actors-util PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/affinity.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_track.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/should_continue.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/threadparkpad.cpp +) diff --git a/library/cpp/actors/wilson/CMakeLists.txt b/library/cpp/actors/wilson/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/wilson/CMakeLists.txt +++ b/library/cpp/actors/wilson/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/wilson/CMakeLists.windows-x86_64.txt b/library/cpp/actors/wilson/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..45704ccd5a --- /dev/null +++ b/library/cpp/actors/wilson/CMakeLists.windows-x86_64.txt @@ -0,0 +1,25 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(protos) + +add_library(cpp-actors-wilson) +target_link_libraries(cpp-actors-wilson PUBLIC + contrib-libs-cxxsupp + yutil + cpp-actors-core + cpp-actors-protos + actors-wilson-protos +) +target_sources(cpp-actors-wilson PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_event.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_span.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_profile_span.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_trace.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_uploader.cpp +) diff --git a/library/cpp/actors/wilson/protos/CMakeLists.txt b/library/cpp/actors/wilson/protos/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/actors/wilson/protos/CMakeLists.txt +++ b/library/cpp/actors/wilson/protos/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/actors/wilson/protos/CMakeLists.windows-x86_64.txt b/library/cpp/actors/wilson/protos/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..5e21c8ffc3 --- /dev/null +++ b/library/cpp/actors/wilson/protos/CMakeLists.windows-x86_64.txt @@ -0,0 +1,96 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_grpc_cpp_bin + TOOL_grpc_cpp_dependency + contrib/tools/protoc/plugins/grpc_cpp + grpc_cpp +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_library(actors-wilson-protos) +set_property(TARGET actors-wilson-protos PROPERTY + PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h +) +target_link_libraries(actors-wilson-protos PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-grpc + contrib-libs-protobuf +) +target_proto_messages(actors-wilson-protos PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/common.proto + ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/resource.proto + ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/service.proto + ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/trace.proto +) +target_proto_addincls(actors-wilson-protos + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(actors-wilson-protos + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) +target_proto_plugin(actors-wilson-protos + grpc_cpp + grpc_cpp +) diff --git a/library/cpp/archive/CMakeLists.txt b/library/cpp/archive/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/archive/CMakeLists.txt +++ b/library/cpp/archive/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/archive/CMakeLists.windows-x86_64.txt b/library/cpp/archive/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..37c28ba02a --- /dev/null +++ b/library/cpp/archive/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-archive) +target_link_libraries(library-cpp-archive PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-archive PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/archive/yarchive.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/archive/directory_models_archive_reader.cpp +) diff --git a/library/cpp/balloc/CMakeLists.txt b/library/cpp/balloc/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/balloc/CMakeLists.txt +++ b/library/cpp/balloc/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/balloc/CMakeLists.windows-x86_64.txt b/library/cpp/balloc/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..7a299b9800 --- /dev/null +++ b/library/cpp/balloc/CMakeLists.windows-x86_64.txt @@ -0,0 +1,14 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-balloc INTERFACE) +target_link_libraries(library-cpp-balloc INTERFACE + contrib-libs-cxxsupp + library-cpp-lfalloc +) diff --git a/library/cpp/binsaver/CMakeLists.txt b/library/cpp/binsaver/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/binsaver/CMakeLists.txt +++ b/library/cpp/binsaver/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/binsaver/CMakeLists.windows-x86_64.txt b/library/cpp/binsaver/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3430226be1 --- /dev/null +++ b/library/cpp/binsaver/CMakeLists.windows-x86_64.txt @@ -0,0 +1,22 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-binsaver) +target_link_libraries(library-cpp-binsaver PUBLIC + contrib-libs-cxxsupp + yutil + cpp-containers-2d_array +) +target_sources(library-cpp-binsaver PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/bin_saver.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/blob_io.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/buffered_io.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/mem_io.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/binsaver/util_stream_io.cpp +) diff --git a/library/cpp/bit_io/CMakeLists.txt b/library/cpp/bit_io/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/bit_io/CMakeLists.txt +++ b/library/cpp/bit_io/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/bit_io/CMakeLists.windows-x86_64.txt b/library/cpp/bit_io/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3e27b7a842 --- /dev/null +++ b/library/cpp/bit_io/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-bit_io) +target_link_libraries(library-cpp-bit_io PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-accessors +) +target_sources(library-cpp-bit_io PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitinput.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitinput_impl.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/bit_io/bitoutput.cpp +) diff --git a/library/cpp/blockcodecs/CMakeLists.txt b/library/cpp/blockcodecs/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/CMakeLists.txt +++ b/library/cpp/blockcodecs/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3b5f212510 --- /dev/null +++ b/library/cpp/blockcodecs/CMakeLists.windows-x86_64.txt @@ -0,0 +1,30 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(codecs) +add_subdirectory(core) + +add_library(library-cpp-blockcodecs) +target_link_libraries(library-cpp-blockcodecs PUBLIC + contrib-libs-cxxsupp + yutil + cpp-blockcodecs-core + blockcodecs-codecs-brotli + blockcodecs-codecs-bzip + blockcodecs-codecs-fastlz + blockcodecs-codecs-legacy_zstd06 + blockcodecs-codecs-lz4 + blockcodecs-codecs-lzma + blockcodecs-codecs-snappy + blockcodecs-codecs-zlib + blockcodecs-codecs-zstd +) +target_sources(library-cpp-blockcodecs PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/stream.cpp +) diff --git a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/brotli/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..0af596c5de --- /dev/null +++ b/library/cpp/blockcodecs/codecs/brotli/CMakeLists.windows-x86_64.txt @@ -0,0 +1,29 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(blockcodecs-codecs-brotli INTERFACE) +target_link_libraries(blockcodecs-codecs-brotli INTERFACE + contrib-libs-cxxsupp + yutil + libs-brotli-enc + libs-brotli-dec + cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-brotli.global blockcodecs-codecs-brotli) +target_link_libraries(blockcodecs-codecs-brotli.global PUBLIC + contrib-libs-cxxsupp + yutil + libs-brotli-enc + libs-brotli-dec + cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-brotli.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/brotli/brotli.cpp +) diff --git a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/bzip/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..fd7180543c --- /dev/null +++ b/library/cpp/blockcodecs/codecs/bzip/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(blockcodecs-codecs-bzip INTERFACE) +target_link_libraries(blockcodecs-codecs-bzip INTERFACE + contrib-libs-cxxsupp + yutil + contrib-libs-libbz2 + cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-bzip.global blockcodecs-codecs-bzip) +target_link_libraries(blockcodecs-codecs-bzip.global PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-libbz2 + cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-bzip.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/bzip/bzip.cpp +) diff --git a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..0acda91a4d --- /dev/null +++ b/library/cpp/blockcodecs/codecs/fastlz/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(blockcodecs-codecs-fastlz INTERFACE) +target_link_libraries(blockcodecs-codecs-fastlz INTERFACE + contrib-libs-cxxsupp + yutil + contrib-libs-fastlz + cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-fastlz.global blockcodecs-codecs-fastlz) +target_link_libraries(blockcodecs-codecs-fastlz.global PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-fastlz + cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-fastlz.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/fastlz/fastlz.cpp +) diff --git a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c6d20bf8fc --- /dev/null +++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(blockcodecs-codecs-legacy_zstd06 INTERFACE) +target_link_libraries(blockcodecs-codecs-legacy_zstd06 INTERFACE + contrib-libs-cxxsupp + yutil + contrib-libs-zstd06 + cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-legacy_zstd06.global blockcodecs-codecs-legacy_zstd06) +target_link_libraries(blockcodecs-codecs-legacy_zstd06.global PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-zstd06 + cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-legacy_zstd06.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/legacy_zstd06/legacy_zstd06.cpp +) diff --git a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/lz4/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..92e6f5f9db --- /dev/null +++ b/library/cpp/blockcodecs/codecs/lz4/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(blockcodecs-codecs-lz4 INTERFACE) +target_link_libraries(blockcodecs-codecs-lz4 INTERFACE + contrib-libs-cxxsupp + yutil + contrib-libs-lz4 + cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-lz4.global blockcodecs-codecs-lz4) +target_link_libraries(blockcodecs-codecs-lz4.global PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-lz4 + cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-lz4.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lz4/lz4.cpp +) diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..acaf2f9e8d --- /dev/null +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(blockcodecs-codecs-lzma INTERFACE) +target_link_libraries(blockcodecs-codecs-lzma INTERFACE + contrib-libs-cxxsupp + yutil + contrib-libs-lzmasdk + cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma) +target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-lzmasdk + cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-lzma.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/lzma/lzma.cpp +) diff --git a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/snappy/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..995fd58dfc --- /dev/null +++ b/library/cpp/blockcodecs/codecs/snappy/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(blockcodecs-codecs-snappy INTERFACE) +target_link_libraries(blockcodecs-codecs-snappy INTERFACE + contrib-libs-cxxsupp + yutil + contrib-libs-snappy + cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-snappy.global blockcodecs-codecs-snappy) +target_link_libraries(blockcodecs-codecs-snappy.global PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-snappy + cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-snappy.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/snappy/snappy.cpp +) diff --git a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/zlib/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2e13dbce8c --- /dev/null +++ b/library/cpp/blockcodecs/codecs/zlib/CMakeLists.windows-x86_64.txt @@ -0,0 +1,28 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(ZLIB REQUIRED) + +add_library(blockcodecs-codecs-zlib INTERFACE) +target_link_libraries(blockcodecs-codecs-zlib INTERFACE + contrib-libs-cxxsupp + yutil + ZLIB::ZLIB + cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-zlib.global blockcodecs-codecs-zlib) +target_link_libraries(blockcodecs-codecs-zlib.global PUBLIC + contrib-libs-cxxsupp + yutil + ZLIB::ZLIB + cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-zlib.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zlib/zlib.cpp +) diff --git a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt +++ b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/codecs/zstd/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..894ad9b9a8 --- /dev/null +++ b/library/cpp/blockcodecs/codecs/zstd/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(blockcodecs-codecs-zstd INTERFACE) +target_link_libraries(blockcodecs-codecs-zstd INTERFACE + contrib-libs-cxxsupp + yutil + contrib-libs-zstd + cpp-blockcodecs-core +) + +add_global_library_for(blockcodecs-codecs-zstd.global blockcodecs-codecs-zstd) +target_link_libraries(blockcodecs-codecs-zstd.global PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-zstd + cpp-blockcodecs-core +) +target_sources(blockcodecs-codecs-zstd.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/codecs/zstd/zstd.cpp +) diff --git a/library/cpp/blockcodecs/core/CMakeLists.txt b/library/cpp/blockcodecs/core/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/blockcodecs/core/CMakeLists.txt +++ b/library/cpp/blockcodecs/core/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/blockcodecs/core/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/core/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c49c7d01b8 --- /dev/null +++ b/library/cpp/blockcodecs/core/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-blockcodecs-core) +target_link_libraries(cpp-blockcodecs-core PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-blockcodecs-core PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/core/codecs.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/blockcodecs/core/stream.cpp +) diff --git a/library/cpp/bucket_quoter/CMakeLists.txt b/library/cpp/bucket_quoter/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/bucket_quoter/CMakeLists.txt +++ b/library/cpp/bucket_quoter/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/bucket_quoter/CMakeLists.windows-x86_64.txt b/library/cpp/bucket_quoter/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..64ef18e5d9 --- /dev/null +++ b/library/cpp/bucket_quoter/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-bucket_quoter) +target_link_libraries(library-cpp-bucket_quoter PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-atomic +) +target_sources(library-cpp-bucket_quoter PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/bucket_quoter/bucket_quoter.cpp +) diff --git a/library/cpp/build_info/CMakeLists.txt b/library/cpp/build_info/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/build_info/CMakeLists.txt +++ b/library/cpp/build_info/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/build_info/CMakeLists.windows-x86_64.txt b/library/cpp/build_info/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..a749cac8a0 --- /dev/null +++ b/library/cpp/build_info/CMakeLists.windows-x86_64.txt @@ -0,0 +1,57 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(Python3 REQUIRED) +set( + KOSHER_SVN_VERSION + +) +set( + SANDBOX_TASK_ID + 0 +) +set( + BUILD_TYPE + RELEASE +) + +add_library(library-cpp-build_info) +target_include_directories(library-cpp-build_info PUBLIC + ${CMAKE_BINARY_DIR}/library/cpp/build_info +) +target_link_libraries(library-cpp-build_info PUBLIC + contrib-libs-cxxsupp + yutil + cpp-string_utils-base64 +) +target_sources(library-cpp-build_info PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/build_info/build_info_static.cpp + ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h + ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp + ${CMAKE_BINARY_DIR}/library/cpp/build_info/build_info.cpp +) +add_custom_command( + OUTPUT + ${CMAKE_BINARY_DIR}/library/cpp/build_info/buildinfo_data.h + DEPENDS + ${CMAKE_SOURCE_DIR}/build/scripts/build_info_gen.py + COMMAND + Python3::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}\" +) +configure_file( + ${CMAKE_SOURCE_DIR}/library/cpp/build_info/sandbox.cpp.in + ${CMAKE_BINARY_DIR}/library/cpp/build_info/sandbox.cpp +) +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 index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/cache/CMakeLists.txt +++ b/library/cpp/cache/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/cache/CMakeLists.windows-x86_64.txt b/library/cpp/cache/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..82cae52ee2 --- /dev/null +++ b/library/cpp/cache/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-cache) +target_link_libraries(library-cpp-cache PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-cache PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/cache/cache.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/cache/thread_safe_cache.cpp +) diff --git a/library/cpp/case_insensitive_string/CMakeLists.txt b/library/cpp/case_insensitive_string/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/case_insensitive_string/CMakeLists.txt +++ b/library/cpp/case_insensitive_string/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/case_insensitive_string/CMakeLists.windows-x86_64.txt b/library/cpp/case_insensitive_string/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..d6d3602e2d --- /dev/null +++ b/library/cpp/case_insensitive_string/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-case_insensitive_string) +target_link_libraries(library-cpp-case_insensitive_string PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-libc_compat + cpp-digest-murmur +) +target_sources(library-cpp-case_insensitive_string PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/case_insensitive_string/case_insensitive_char_traits.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/case_insensitive_string/case_insensitive_string.cpp +) diff --git a/library/cpp/cgiparam/CMakeLists.txt b/library/cpp/cgiparam/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/cgiparam/CMakeLists.txt +++ b/library/cpp/cgiparam/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/cgiparam/CMakeLists.windows-x86_64.txt b/library/cpp/cgiparam/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..186d00a938 --- /dev/null +++ b/library/cpp/cgiparam/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-cgiparam) +target_link_libraries(library-cpp-cgiparam PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-iterator + cpp-string_utils-quote + cpp-string_utils-scan +) +target_sources(library-cpp-cgiparam PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/cgiparam/cgiparam.cpp +) diff --git a/library/cpp/charset/CMakeLists.txt b/library/cpp/charset/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/charset/CMakeLists.txt +++ b/library/cpp/charset/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/charset/CMakeLists.windows-x86_64.txt b/library/cpp/charset/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2be179087c --- /dev/null +++ b/library/cpp/charset/CMakeLists.windows-x86_64.txt @@ -0,0 +1,26 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(Iconv REQUIRED) + +add_library(library-cpp-charset) +target_link_libraries(library-cpp-charset PUBLIC + contrib-libs-cxxsupp + yutil + Iconv::Iconv +) +target_sources(library-cpp-charset PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/charset/generated/cp_data.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/charset/generated/encrec_data.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/charset/codepage.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/charset/cp_encrec.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/charset/doccodes.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/charset/iconv.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/charset/ci_string.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/charset/wide.cpp +) diff --git a/library/cpp/codecs/CMakeLists.txt b/library/cpp/codecs/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/codecs/CMakeLists.txt +++ b/library/cpp/codecs/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/codecs/CMakeLists.windows-x86_64.txt b/library/cpp/codecs/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2bc3133ce1 --- /dev/null +++ b/library/cpp/codecs/CMakeLists.windows-x86_64.txt @@ -0,0 +1,36 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(greedy_dict) + +add_library(library-cpp-codecs) +target_link_libraries(library-cpp-codecs PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-zstd + library-cpp-bit_io + library-cpp-blockcodecs + cpp-codecs-greedy_dict + library-cpp-comptable + cpp-containers-comptrie + cpp-deprecated-accessors + library-cpp-packers + cpp-string_utils-relaxed_escaper +) +target_sources(library-cpp-codecs PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/codecs/tls_cache.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/codecs/codecs.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/codecs/codecs_registry.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/codecs/comptable_codec.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/codecs/delta_codec.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/codecs/float_huffman.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/codecs/huffman_codec.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/codecs/pfor_codec.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/codecs/solar_codec.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/codecs/zstd_dict_codec.cpp +) diff --git a/library/cpp/codecs/greedy_dict/CMakeLists.txt b/library/cpp/codecs/greedy_dict/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/codecs/greedy_dict/CMakeLists.txt +++ b/library/cpp/codecs/greedy_dict/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/codecs/greedy_dict/CMakeLists.windows-x86_64.txt b/library/cpp/codecs/greedy_dict/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..7f06cf83d8 --- /dev/null +++ b/library/cpp/codecs/greedy_dict/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-codecs-greedy_dict) +target_link_libraries(cpp-codecs-greedy_dict PUBLIC + contrib-libs-cxxsupp + yutil + cpp-containers-comptrie + cpp-string_utils-relaxed_escaper +) +target_sources(cpp-codecs-greedy_dict PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/codecs/greedy_dict/gd_builder.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/codecs/greedy_dict/gd_entry.cpp +) diff --git a/library/cpp/colorizer/CMakeLists.txt b/library/cpp/colorizer/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/colorizer/CMakeLists.txt +++ b/library/cpp/colorizer/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/colorizer/CMakeLists.windows-x86_64.txt b/library/cpp/colorizer/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..a47c86d7ea --- /dev/null +++ b/library/cpp/colorizer/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-colorizer) +target_link_libraries(library-cpp-colorizer PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-colorizer PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/colorizer/colors.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/colorizer/output.cpp +) diff --git a/library/cpp/compproto/CMakeLists.txt b/library/cpp/compproto/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/compproto/CMakeLists.txt +++ b/library/cpp/compproto/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/compproto/CMakeLists.windows-x86_64.txt b/library/cpp/compproto/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..abcc95d486 --- /dev/null +++ b/library/cpp/compproto/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-compproto) +target_link_libraries(library-cpp-compproto PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-compproto PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/compproto/lib.cpp +) diff --git a/library/cpp/comptable/CMakeLists.txt b/library/cpp/comptable/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/comptable/CMakeLists.txt +++ b/library/cpp/comptable/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/comptable/CMakeLists.windows-x86_64.txt b/library/cpp/comptable/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..e695ca6521 --- /dev/null +++ b/library/cpp/comptable/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-comptable) +target_link_libraries(library-cpp-comptable PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-compproto +) +target_sources(library-cpp-comptable PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/comptable/comptable.cpp +) diff --git a/library/cpp/config/CMakeLists.txt b/library/cpp/config/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/config/CMakeLists.txt +++ b/library/cpp/config/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/config/CMakeLists.windows-x86_64.txt b/library/cpp/config/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..a3573c913a --- /dev/null +++ b/library/cpp/config/CMakeLists.windows-x86_64.txt @@ -0,0 +1,60 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_archiver_bin + TOOL_archiver_dependency + tools/archiver + archiver +) + +add_library(library-cpp-config) +target_include_directories(library-cpp-config PUBLIC + ${CMAKE_BINARY_DIR}/library/cpp/config +) +target_link_libraries(library-cpp-config PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-archive + library-cpp-json + library-cpp-lua + cpp-string_utils-relaxed_escaper +) +target_sources(library-cpp-config PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/config/config.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/config/sax.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/config/value.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/config/markup.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/config/ini.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/config/domscheme.cpp + ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc +) +add_custom_command( + OUTPUT + ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc + DEPENDS + ${TOOL_archiver_bin} + ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua + COMMAND + ${TOOL_archiver_bin} + -q + -x + ${CMAKE_SOURCE_DIR}/library/cpp/config/support/pp.lua: + -o + ${CMAKE_BINARY_DIR}/library/cpp/config/code.inc +) +target_ragel_lexers(library-cpp-config + PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/config/markupfsm.h.rl6 + -CT0 +) +if(NOT CMAKE_CROSSCOMPILING) + add_dependencies(library-cpp-config + archiver +) +endif() diff --git a/library/cpp/containers/2d_array/CMakeLists.txt b/library/cpp/containers/2d_array/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/2d_array/CMakeLists.txt +++ b/library/cpp/containers/2d_array/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/2d_array/CMakeLists.windows-x86_64.txt b/library/cpp/containers/2d_array/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c1371c0def --- /dev/null +++ b/library/cpp/containers/2d_array/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-2d_array) +target_link_libraries(cpp-containers-2d_array PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-containers-2d_array PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/2d_array/2d_array.cpp +) diff --git a/library/cpp/containers/absl_flat_hash/CMakeLists.txt b/library/cpp/containers/absl_flat_hash/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/absl_flat_hash/CMakeLists.txt +++ b/library/cpp/containers/absl_flat_hash/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/absl_flat_hash/CMakeLists.windows-x86_64.txt b/library/cpp/containers/absl_flat_hash/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..4ab79d02db --- /dev/null +++ b/library/cpp/containers/absl_flat_hash/CMakeLists.windows-x86_64.txt @@ -0,0 +1,22 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-absl_flat_hash) +target_include_directories(cpp-containers-absl_flat_hash PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(cpp-containers-absl_flat_hash PUBLIC + contrib-libs-cxxsupp + yutil + abseil-cpp-absl-container +) +target_sources(cpp-containers-absl_flat_hash PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_map.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/absl_flat_hash/flat_hash_set.cpp +) diff --git a/library/cpp/containers/atomizer/CMakeLists.txt b/library/cpp/containers/atomizer/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/atomizer/CMakeLists.txt +++ b/library/cpp/containers/atomizer/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/atomizer/CMakeLists.windows-x86_64.txt b/library/cpp/containers/atomizer/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..d0486e1c36 --- /dev/null +++ b/library/cpp/containers/atomizer/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-atomizer) +target_link_libraries(cpp-containers-atomizer PUBLIC + contrib-libs-cxxsupp + yutil + cpp-containers-str_map +) +target_sources(cpp-containers-atomizer PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/atomizer/atomizer.cpp +) diff --git a/library/cpp/containers/bitseq/CMakeLists.txt b/library/cpp/containers/bitseq/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/bitseq/CMakeLists.txt +++ b/library/cpp/containers/bitseq/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/bitseq/CMakeLists.windows-x86_64.txt b/library/cpp/containers/bitseq/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..97b139a7fa --- /dev/null +++ b/library/cpp/containers/bitseq/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-bitseq) +target_link_libraries(cpp-containers-bitseq PUBLIC + contrib-libs-cxxsupp + yutil + util-draft + library-cpp-pop_count +) +target_sources(cpp-containers-bitseq PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/bitvector.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/bitseq/readonly_bitvector.cpp +) diff --git a/library/cpp/containers/compact_vector/CMakeLists.txt b/library/cpp/containers/compact_vector/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/compact_vector/CMakeLists.txt +++ b/library/cpp/containers/compact_vector/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/compact_vector/CMakeLists.windows-x86_64.txt b/library/cpp/containers/compact_vector/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..57d3af0a1b --- /dev/null +++ b/library/cpp/containers/compact_vector/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-compact_vector) +target_link_libraries(cpp-containers-compact_vector PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-containers-compact_vector PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/compact_vector/compact_vector.cpp +) diff --git a/library/cpp/containers/comptrie/CMakeLists.txt b/library/cpp/containers/comptrie/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/comptrie/CMakeLists.txt +++ b/library/cpp/containers/comptrie/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/comptrie/CMakeLists.windows-x86_64.txt b/library/cpp/containers/comptrie/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3a3d86aed7 --- /dev/null +++ b/library/cpp/containers/comptrie/CMakeLists.windows-x86_64.txt @@ -0,0 +1,31 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-comptrie) +target_link_libraries(cpp-containers-comptrie PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-packers + cpp-containers-compact_vector + cpp-on_disk-chunks + util-draft +) +target_sources(cpp-containers-comptrie PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_builder.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/comptrie_impl.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/make_fast_layout.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/minimize.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/node.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/opaque_trie_iterator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/prefix_iterator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/search_iterator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/write_trie_backwards.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/comptrie/writeable_node.cpp +) diff --git a/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt b/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt +++ b/library/cpp/containers/disjoint_interval_tree/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/disjoint_interval_tree/CMakeLists.windows-x86_64.txt b/library/cpp/containers/disjoint_interval_tree/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..1fd4597d59 --- /dev/null +++ b/library/cpp/containers/disjoint_interval_tree/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-disjoint_interval_tree) +target_link_libraries(cpp-containers-disjoint_interval_tree PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-containers-disjoint_interval_tree PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/disjoint_interval_tree/disjoint_interval_tree.cpp +) diff --git a/library/cpp/containers/flat_hash/CMakeLists.txt b/library/cpp/containers/flat_hash/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/flat_hash/CMakeLists.txt +++ b/library/cpp/containers/flat_hash/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/flat_hash/CMakeLists.windows-x86_64.txt b/library/cpp/containers/flat_hash/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..17eb5a21b7 --- /dev/null +++ b/library/cpp/containers/flat_hash/CMakeLists.windows-x86_64.txt @@ -0,0 +1,30 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-flat_hash) +target_link_libraries(cpp-containers-flat_hash PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-containers-flat_hash PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/flat_hash.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/container.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/iterator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/size_fitter.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/concepts/value_marker.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/containers.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/expanders.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/iterator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/map.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/probings.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/set.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/size_fitters.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/table.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/flat_hash/lib/value_markers.cpp +) diff --git a/library/cpp/containers/intrusive_avl_tree/CMakeLists.txt b/library/cpp/containers/intrusive_avl_tree/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/intrusive_avl_tree/CMakeLists.txt +++ b/library/cpp/containers/intrusive_avl_tree/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/intrusive_avl_tree/CMakeLists.windows-x86_64.txt b/library/cpp/containers/intrusive_avl_tree/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..651df561c1 --- /dev/null +++ b/library/cpp/containers/intrusive_avl_tree/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-intrusive_avl_tree) +target_link_libraries(cpp-containers-intrusive_avl_tree PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-containers-intrusive_avl_tree PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_avl_tree/avltree.cpp +) diff --git a/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt b/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt +++ b/library/cpp/containers/intrusive_rb_tree/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/intrusive_rb_tree/CMakeLists.windows-x86_64.txt b/library/cpp/containers/intrusive_rb_tree/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..45d7acb838 --- /dev/null +++ b/library/cpp/containers/intrusive_rb_tree/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-intrusive_rb_tree) +target_link_libraries(cpp-containers-intrusive_rb_tree PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-containers-intrusive_rb_tree PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/intrusive_rb_tree/rb_tree.cpp +) diff --git a/library/cpp/containers/paged_vector/CMakeLists.txt b/library/cpp/containers/paged_vector/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/paged_vector/CMakeLists.txt +++ b/library/cpp/containers/paged_vector/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/paged_vector/CMakeLists.windows-x86_64.txt b/library/cpp/containers/paged_vector/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c44af664bc --- /dev/null +++ b/library/cpp/containers/paged_vector/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-paged_vector) +target_link_libraries(cpp-containers-paged_vector PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-containers-paged_vector PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/paged_vector/paged_vector.cpp +) diff --git a/library/cpp/containers/ring_buffer/CMakeLists.txt b/library/cpp/containers/ring_buffer/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/ring_buffer/CMakeLists.txt +++ b/library/cpp/containers/ring_buffer/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/ring_buffer/CMakeLists.windows-x86_64.txt b/library/cpp/containers/ring_buffer/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..490e1427d4 --- /dev/null +++ b/library/cpp/containers/ring_buffer/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-ring_buffer) +target_link_libraries(cpp-containers-ring_buffer PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-containers-ring_buffer PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/ring_buffer/ring_buffer.cpp +) diff --git a/library/cpp/containers/sorted_vector/CMakeLists.txt b/library/cpp/containers/sorted_vector/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/sorted_vector/CMakeLists.txt +++ b/library/cpp/containers/sorted_vector/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/sorted_vector/CMakeLists.windows-x86_64.txt b/library/cpp/containers/sorted_vector/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..e1438df974 --- /dev/null +++ b/library/cpp/containers/sorted_vector/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-sorted_vector) +target_link_libraries(cpp-containers-sorted_vector PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-containers-sorted_vector PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/sorted_vector/sorted_vector.cpp +) diff --git a/library/cpp/containers/stack_array/CMakeLists.txt b/library/cpp/containers/stack_array/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/stack_array/CMakeLists.txt +++ b/library/cpp/containers/stack_array/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/stack_array/CMakeLists.windows-x86_64.txt b/library/cpp/containers/stack_array/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..83fde56a05 --- /dev/null +++ b/library/cpp/containers/stack_array/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-stack_array) +target_link_libraries(cpp-containers-stack_array PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-containers-stack_array PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/range_ops.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_array/stack_array.cpp +) diff --git a/library/cpp/containers/stack_vector/CMakeLists.txt b/library/cpp/containers/stack_vector/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/stack_vector/CMakeLists.txt +++ b/library/cpp/containers/stack_vector/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/stack_vector/CMakeLists.windows-x86_64.txt b/library/cpp/containers/stack_vector/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2950b6b535 --- /dev/null +++ b/library/cpp/containers/stack_vector/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-stack_vector) +target_link_libraries(cpp-containers-stack_vector PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-containers-stack_vector PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/stack_vector/stack_vec.cpp +) diff --git a/library/cpp/containers/str_map/CMakeLists.txt b/library/cpp/containers/str_map/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/str_map/CMakeLists.txt +++ b/library/cpp/containers/str_map/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/str_map/CMakeLists.windows-x86_64.txt b/library/cpp/containers/str_map/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ee42c250c6 --- /dev/null +++ b/library/cpp/containers/str_map/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-str_map) +target_link_libraries(cpp-containers-str_map PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-containers-str_map PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/str_map/str_map.cpp +) diff --git a/library/cpp/containers/top_keeper/CMakeLists.txt b/library/cpp/containers/top_keeper/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/containers/top_keeper/CMakeLists.txt +++ b/library/cpp/containers/top_keeper/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/containers/top_keeper/CMakeLists.windows-x86_64.txt b/library/cpp/containers/top_keeper/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..cc2996b511 --- /dev/null +++ b/library/cpp/containers/top_keeper/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-containers-top_keeper) +target_link_libraries(cpp-containers-top_keeper PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-containers-top_keeper PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/containers/top_keeper/top_keeper.cpp +) diff --git a/library/cpp/coroutine/engine/CMakeLists.txt b/library/cpp/coroutine/engine/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/coroutine/engine/CMakeLists.txt +++ b/library/cpp/coroutine/engine/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/coroutine/engine/CMakeLists.windows-x86_64.txt b/library/cpp/coroutine/engine/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..d709a1e943 --- /dev/null +++ b/library/cpp/coroutine/engine/CMakeLists.windows-x86_64.txt @@ -0,0 +1,55 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +add_library(cpp-coroutine-engine) +target_link_libraries(cpp-coroutine-engine PUBLIC + contrib-libs-cxxsupp + yutil + tools-enum_parser-enum_serialization_runtime + contrib-libs-libc_compat + cpp-containers-intrusive_rb_tree + cpp-deprecated-atomic +) +target_sources(cpp-coroutine-engine PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/cont_poller.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/helper.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/impl.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/iostatus.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/network.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/poller.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/sockpool.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_allocator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_guards.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_storage.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_utils.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/trampoline.cpp +) +generate_enum_serilization(cpp-coroutine-engine + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/poller.h + INCLUDE_HEADERS + library/cpp/coroutine/engine/poller.h +) +generate_enum_serilization(cpp-coroutine-engine + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/engine/stack/stack_common.h + INCLUDE_HEADERS + library/cpp/coroutine/engine/stack/stack_common.h +) diff --git a/library/cpp/coroutine/listener/CMakeLists.txt b/library/cpp/coroutine/listener/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/coroutine/listener/CMakeLists.txt +++ b/library/cpp/coroutine/listener/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/coroutine/listener/CMakeLists.windows-x86_64.txt b/library/cpp/coroutine/listener/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..125cb4b2ed --- /dev/null +++ b/library/cpp/coroutine/listener/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-coroutine-listener) +target_link_libraries(cpp-coroutine-listener PUBLIC + contrib-libs-cxxsupp + yutil + cpp-coroutine-engine +) +target_sources(cpp-coroutine-listener PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/coroutine/listener/listen.cpp +) diff --git a/library/cpp/cppparser/CMakeLists.txt b/library/cpp/cppparser/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/cppparser/CMakeLists.txt +++ b/library/cpp/cppparser/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/cppparser/CMakeLists.windows-x86_64.txt b/library/cpp/cppparser/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..73f1df8e6f --- /dev/null +++ b/library/cpp/cppparser/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-cppparser) +target_link_libraries(library-cpp-cppparser PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-cppparser PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/cppparser/parser.cpp +) diff --git a/library/cpp/cpuid_check/CMakeLists.txt b/library/cpp/cpuid_check/CMakeLists.txt index a603bef54e..bb0d0ecd25 100644 --- a/library/cpp/cpuid_check/CMakeLists.txt +++ b/library/cpp/cpuid_check/CMakeLists.txt @@ -8,6 +8,8 @@ if (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/cpuid_check/CMakeLists.windows-x86_64.txt b/library/cpp/cpuid_check/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..78664f1ffe --- /dev/null +++ b/library/cpp/cpuid_check/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-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_link_libraries(library-cpp-cpuid_check.global PUBLIC + contrib-libs-cxxsupp + yutil +) +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 index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/dbg_output/CMakeLists.txt +++ b/library/cpp/dbg_output/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/dbg_output/CMakeLists.windows-x86_64.txt b/library/cpp/dbg_output/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..6e29430ec2 --- /dev/null +++ b/library/cpp/dbg_output/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-dbg_output) +target_link_libraries(library-cpp-dbg_output PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-colorizer +) +target_sources(library-cpp-dbg_output PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/dump.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/dumpers.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/dbg_output/engine.cpp +) diff --git a/library/cpp/deprecated/accessors/CMakeLists.txt b/library/cpp/deprecated/accessors/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/deprecated/accessors/CMakeLists.txt +++ b/library/cpp/deprecated/accessors/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/deprecated/accessors/CMakeLists.windows-x86_64.txt b/library/cpp/deprecated/accessors/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..62226eb559 --- /dev/null +++ b/library/cpp/deprecated/accessors/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-deprecated-accessors) +target_link_libraries(cpp-deprecated-accessors PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-deprecated-accessors PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/accessors.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/accessors_impl.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/accessors/memory_traits.cpp +) diff --git a/library/cpp/deprecated/atomic/CMakeLists.txt b/library/cpp/deprecated/atomic/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/deprecated/atomic/CMakeLists.txt +++ b/library/cpp/deprecated/atomic/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/deprecated/atomic/CMakeLists.windows-x86_64.txt b/library/cpp/deprecated/atomic/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..411024be15 --- /dev/null +++ b/library/cpp/deprecated/atomic/CMakeLists.windows-x86_64.txt @@ -0,0 +1,14 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-deprecated-atomic INTERFACE) +target_link_libraries(cpp-deprecated-atomic INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/library/cpp/deprecated/enum_codegen/CMakeLists.txt b/library/cpp/deprecated/enum_codegen/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/deprecated/enum_codegen/CMakeLists.txt +++ b/library/cpp/deprecated/enum_codegen/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/deprecated/enum_codegen/CMakeLists.windows-x86_64.txt b/library/cpp/deprecated/enum_codegen/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3ec6a99b97 --- /dev/null +++ b/library/cpp/deprecated/enum_codegen/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-deprecated-enum_codegen) +target_link_libraries(cpp-deprecated-enum_codegen PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-deprecated-enum_codegen PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/enum_codegen/enum_codegen.cpp +) diff --git a/library/cpp/deprecated/kmp/CMakeLists.txt b/library/cpp/deprecated/kmp/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/deprecated/kmp/CMakeLists.txt +++ b/library/cpp/deprecated/kmp/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/deprecated/kmp/CMakeLists.windows-x86_64.txt b/library/cpp/deprecated/kmp/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..1a8b825dad --- /dev/null +++ b/library/cpp/deprecated/kmp/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-deprecated-kmp) +target_link_libraries(cpp-deprecated-kmp PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-deprecated-kmp PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/kmp/kmp.cpp +) diff --git a/library/cpp/deprecated/split/CMakeLists.txt b/library/cpp/deprecated/split/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/deprecated/split/CMakeLists.txt +++ b/library/cpp/deprecated/split/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/deprecated/split/CMakeLists.windows-x86_64.txt b/library/cpp/deprecated/split/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..d23b1620f7 --- /dev/null +++ b/library/cpp/deprecated/split/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-deprecated-split) +target_link_libraries(cpp-deprecated-split PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-kmp +) +target_sources(cpp-deprecated-split PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/split/delim_string_iter.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/deprecated/split/split_iterator.cpp +) diff --git a/library/cpp/diff/CMakeLists.txt b/library/cpp/diff/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/diff/CMakeLists.txt +++ b/library/cpp/diff/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/diff/CMakeLists.windows-x86_64.txt b/library/cpp/diff/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..f6c4677907 --- /dev/null +++ b/library/cpp/diff/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-diff) +target_link_libraries(library-cpp-diff PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-lcs + cpp-containers-stack_array +) +target_sources(library-cpp-diff PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/diff/diff.cpp +) diff --git a/library/cpp/digest/argonish/CMakeLists.txt b/library/cpp/digest/argonish/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/argonish/CMakeLists.txt +++ b/library/cpp/digest/argonish/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..7b132051da --- /dev/null +++ b/library/cpp/digest/argonish/CMakeLists.windows-x86_64.txt @@ -0,0 +1,24 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to 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(internal) + +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 index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/argon2/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/argon2/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/argon2/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..e2dbc9ace9 --- /dev/null +++ b/library/cpp/digest/argonish/internal/argon2/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(argonish-internal-argon2 INTERFACE) +target_link_libraries(argonish-internal-argon2 INTERFACE + contrib-libs-cxxsupp + yutil + argonish-internal-blamka + argonish-internal-blake2b + cpp-threading-poor_man_openmp +) diff --git a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/blake2b/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..63474af49f --- /dev/null +++ b/library/cpp/digest/argonish/internal/blake2b/CMakeLists.windows-x86_64.txt @@ -0,0 +1,15 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(argonish-internal-blake2b INTERFACE) +target_link_libraries(argonish-internal-blake2b INTERFACE + contrib-libs-cxxsupp + yutil + argonish-internal-rotations +) diff --git a/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt b/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/blamka/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/blamka/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/blamka/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..7e8d1fcb36 --- /dev/null +++ b/library/cpp/digest/argonish/internal/blamka/CMakeLists.windows-x86_64.txt @@ -0,0 +1,15 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(argonish-internal-blamka INTERFACE) +target_link_libraries(argonish-internal-blamka INTERFACE + contrib-libs-cxxsupp + yutil + argonish-internal-rotations +) diff --git a/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..e34d1b9065 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/CMakeLists.windows-x86_64.txt @@ -0,0 +1,14 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to 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 a603bef54e..bb0d0ecd25 100644 --- a/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.txt @@ -8,6 +8,8 @@ if (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..665a06a7b6 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/avx2/CMakeLists.windows-x86_64.txt @@ -0,0 +1,24 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(internal-proxies-avx2) +target_link_libraries(internal-proxies-avx2 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + 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 + /arch:AVX2 + /DAVX2_ENABLED=1 +) diff --git a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..bb153d887a --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/macro/CMakeLists.windows-x86_64.txt @@ -0,0 +1,14 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(internal-proxies-macro INTERFACE) +target_link_libraries(internal-proxies-macro INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..f4ed53513c --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/ref/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(internal-proxies-ref) +target_link_libraries(internal-proxies-ref PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + argonish-internal-argon2 + argonish-internal-blake2b +) +target_sources(internal-proxies-ref PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/argonish/internal/proxies/ref/proxy_ref.cpp +) diff --git a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt index a603bef54e..bb0d0ecd25 100644 --- a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.txt @@ -8,6 +8,8 @@ if (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..e929684c1e --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/sse2/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(internal-proxies-sse2) +target_link_libraries(internal-proxies-sse2 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + 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 + /D__SSE2__=1 +) diff --git a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt index a603bef54e..bb0d0ecd25 100644 --- a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.txt @@ -8,6 +8,8 @@ if (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..68503d8c63 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/sse41/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(internal-proxies-sse41) +target_link_libraries(internal-proxies-sse41 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + 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 + /D__SSE4_1__=1 +) diff --git a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt index a603bef54e..bb0d0ecd25 100644 --- a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.txt @@ -8,6 +8,8 @@ if (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..71c2df1d19 --- /dev/null +++ b/library/cpp/digest/argonish/internal/proxies/ssse3/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(internal-proxies-ssse3) +target_link_libraries(internal-proxies-ssse3 PUBLIC + contrib-libs-cxxsupp + internal-proxies-macro + 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 + /D__SSSE3__=1 +) diff --git a/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt b/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt +++ b/library/cpp/digest/argonish/internal/rotations/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/argonish/internal/rotations/CMakeLists.windows-x86_64.txt b/library/cpp/digest/argonish/internal/rotations/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..b4468ed351 --- /dev/null +++ b/library/cpp/digest/argonish/internal/rotations/CMakeLists.windows-x86_64.txt @@ -0,0 +1,14 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(argonish-internal-rotations INTERFACE) +target_link_libraries(argonish-internal-rotations INTERFACE + contrib-libs-cxxsupp + yutil +) diff --git a/library/cpp/digest/crc32c/CMakeLists.txt b/library/cpp/digest/crc32c/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/crc32c/CMakeLists.txt +++ b/library/cpp/digest/crc32c/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/crc32c/CMakeLists.windows-x86_64.txt b/library/cpp/digest/crc32c/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..295652eae0 --- /dev/null +++ b/library/cpp/digest/crc32c/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-digest-crc32c) +target_link_libraries(cpp-digest-crc32c PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-crcutil +) +target_sources(cpp-digest-crc32c PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/crc32c/crc32c.cpp +) diff --git a/library/cpp/digest/lower_case/CMakeLists.txt b/library/cpp/digest/lower_case/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/lower_case/CMakeLists.txt +++ b/library/cpp/digest/lower_case/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/lower_case/CMakeLists.windows-x86_64.txt b/library/cpp/digest/lower_case/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..5ab4c75fd0 --- /dev/null +++ b/library/cpp/digest/lower_case/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-digest-lower_case) +target_link_libraries(cpp-digest-lower_case PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-digest-lower_case PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/lciter.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/lchash.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/digest/lower_case/hash_ops.cpp +) diff --git a/library/cpp/digest/md5/CMakeLists.txt b/library/cpp/digest/md5/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/md5/CMakeLists.txt +++ b/library/cpp/digest/md5/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/md5/CMakeLists.windows-x86_64.txt b/library/cpp/digest/md5/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..bbf3a1fc1e --- /dev/null +++ b/library/cpp/digest/md5/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-digest-md5) +target_link_libraries(cpp-digest-md5 PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-nayuki_md5 + cpp-string_utils-base64 +) +target_sources(cpp-digest-md5 PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/md5/md5.cpp +) diff --git a/library/cpp/digest/murmur/CMakeLists.txt b/library/cpp/digest/murmur/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/murmur/CMakeLists.txt +++ b/library/cpp/digest/murmur/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/murmur/CMakeLists.windows-x86_64.txt b/library/cpp/digest/murmur/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ac2e722ed8 --- /dev/null +++ b/library/cpp/digest/murmur/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-digest-murmur) +target_link_libraries(cpp-digest-murmur PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-digest-murmur PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/murmur/murmur.cpp +) diff --git a/library/cpp/digest/old_crc/CMakeLists.txt b/library/cpp/digest/old_crc/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/old_crc/CMakeLists.txt +++ b/library/cpp/digest/old_crc/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/old_crc/CMakeLists.windows-x86_64.txt b/library/cpp/digest/old_crc/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..a4caa8c756 --- /dev/null +++ b/library/cpp/digest/old_crc/CMakeLists.windows-x86_64.txt @@ -0,0 +1,40 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(gencrc) +get_built_tool_path( + TOOL_gencrc_bin + TOOL_gencrc_dependency + library/cpp/digest/old_crc/gencrc + gencrc +) + +add_library(cpp-digest-old_crc) +target_link_libraries(cpp-digest-old_crc PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-digest-old_crc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/crc.cpp + ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc +) +add_custom_command( + OUTPUT + ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc + DEPENDS + ${TOOL_gencrc_bin} + COMMAND + ${TOOL_gencrc_bin} + > + crc.inc +) +if(NOT CMAKE_CROSSCOMPILING) + add_dependencies(cpp-digest-old_crc + gencrc +) +endif() diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt +++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.windows-x86_64.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ca1d923ee2 --- /dev/null +++ b/library/cpp/digest/old_crc/gencrc/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(gencrc) +target_link_libraries(gencrc PUBLIC + contrib-libs-cxxsupp + yutil + cpp-malloc-system + library-cpp-cpuid_check +) +target_sources(gencrc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp +) +vcs_info(gencrc) diff --git a/library/cpp/digest/sfh/CMakeLists.txt b/library/cpp/digest/sfh/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/digest/sfh/CMakeLists.txt +++ b/library/cpp/digest/sfh/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/digest/sfh/CMakeLists.windows-x86_64.txt b/library/cpp/digest/sfh/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..53ca09e84e --- /dev/null +++ b/library/cpp/digest/sfh/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-digest-sfh) +target_link_libraries(cpp-digest-sfh PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-digest-sfh PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/digest/sfh/sfh.cpp +) diff --git a/library/cpp/dns/CMakeLists.txt b/library/cpp/dns/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/dns/CMakeLists.txt +++ b/library/cpp/dns/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/dns/CMakeLists.windows-x86_64.txt b/library/cpp/dns/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c91919f085 --- /dev/null +++ b/library/cpp/dns/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-dns) +target_link_libraries(library-cpp-dns PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-dns PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/dns/cache.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/dns/thread.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/dns/magic.cpp +) diff --git a/library/cpp/enumbitset/CMakeLists.txt b/library/cpp/enumbitset/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/enumbitset/CMakeLists.txt +++ b/library/cpp/enumbitset/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/enumbitset/CMakeLists.windows-x86_64.txt b/library/cpp/enumbitset/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ff3bed8f5b --- /dev/null +++ b/library/cpp/enumbitset/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-enumbitset) +target_link_libraries(library-cpp-enumbitset PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-enumbitset PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/enumbitset/enumbitset.cpp +) diff --git a/library/cpp/execprofile/CMakeLists.txt b/library/cpp/execprofile/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/execprofile/CMakeLists.txt +++ b/library/cpp/execprofile/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/execprofile/CMakeLists.windows-x86_64.txt b/library/cpp/execprofile/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ec649dc8ad --- /dev/null +++ b/library/cpp/execprofile/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-execprofile) +target_link_libraries(library-cpp-execprofile PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-atomic +) +target_sources(library-cpp-execprofile PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/execprofile/profile.cpp +) diff --git a/library/cpp/getopt/CMakeLists.txt b/library/cpp/getopt/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/getopt/CMakeLists.txt +++ b/library/cpp/getopt/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/getopt/CMakeLists.windows-x86_64.txt b/library/cpp/getopt/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..96041aa7d2 --- /dev/null +++ b/library/cpp/getopt/CMakeLists.windows-x86_64.txt @@ -0,0 +1,30 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(small) + +add_library(library-cpp-getopt INTERFACE) +target_link_libraries(library-cpp-getopt INTERFACE + contrib-libs-cxxsupp + yutil + cpp-getopt-small + library-cpp-svnversion + library-cpp-build_info +) + +add_global_library_for(library-cpp-getopt.global library-cpp-getopt) +target_link_libraries(library-cpp-getopt.global PUBLIC + contrib-libs-cxxsupp + yutil + cpp-getopt-small + library-cpp-svnversion + library-cpp-build_info +) +target_sources(library-cpp-getopt.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/print.cpp +) diff --git a/library/cpp/getopt/small/CMakeLists.txt b/library/cpp/getopt/small/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/getopt/small/CMakeLists.txt +++ b/library/cpp/getopt/small/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/getopt/small/CMakeLists.windows-x86_64.txt b/library/cpp/getopt/small/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..04c5b67dda --- /dev/null +++ b/library/cpp/getopt/small/CMakeLists.windows-x86_64.txt @@ -0,0 +1,33 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-getopt-small) +target_link_libraries(cpp-getopt-small PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-colorizer +) +target_sources(cpp-getopt-small PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completer_command.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/completion_generator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/formatted_output.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_easy_setup.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_opt.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_opts.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_parser.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/last_getopt_parse_result.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/modchooser.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/opt.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/opt2.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/posix_getopt.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/wrap.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/getopt/small/ygetopt.cpp +) diff --git a/library/cpp/grpc/client/CMakeLists.txt b/library/cpp/grpc/client/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/grpc/client/CMakeLists.txt +++ b/library/cpp/grpc/client/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/grpc/client/CMakeLists.windows-x86_64.txt b/library/cpp/grpc/client/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..db6f6bfdc1 --- /dev/null +++ b/library/cpp/grpc/client/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-grpc-client) +target_link_libraries(cpp-grpc-client PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-grpc + cpp-deprecated-atomic +) +target_sources(cpp-grpc-client PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/grpc/client/grpc_client_low.cpp +) diff --git a/library/cpp/grpc/server/CMakeLists.txt b/library/cpp/grpc/server/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/grpc/server/CMakeLists.txt +++ b/library/cpp/grpc/server/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/grpc/server/CMakeLists.windows-x86_64.txt b/library/cpp/grpc/server/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..1db6667068 --- /dev/null +++ b/library/cpp/grpc/server/CMakeLists.windows-x86_64.txt @@ -0,0 +1,35 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(actors) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +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 index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/grpc/server/actors/CMakeLists.txt +++ b/library/cpp/grpc/server/actors/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/grpc/server/actors/CMakeLists.windows-x86_64.txt b/library/cpp/grpc/server/actors/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..1e710ad49a --- /dev/null +++ b/library/cpp/grpc/server/actors/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(grpc-server-actors) +target_link_libraries(grpc-server-actors PUBLIC + contrib-libs-cxxsupp + yutil + cpp-actors-core +) +target_sources(grpc-server-actors PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/actors/logger.cpp +) diff --git a/library/cpp/histogram/adaptive/CMakeLists.txt b/library/cpp/histogram/adaptive/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/histogram/adaptive/CMakeLists.txt +++ b/library/cpp/histogram/adaptive/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/histogram/adaptive/CMakeLists.windows-x86_64.txt b/library/cpp/histogram/adaptive/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..82fb24cb78 --- /dev/null +++ b/library/cpp/histogram/adaptive/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(protos) + +add_library(cpp-histogram-adaptive) +target_link_libraries(cpp-histogram-adaptive PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf + histogram-adaptive-protos +) +target_sources(cpp-histogram-adaptive PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/common.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/adaptive_histogram.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/block_histogram.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/fixed_bin_histogram.cpp +) diff --git a/library/cpp/histogram/adaptive/protos/CMakeLists.txt b/library/cpp/histogram/adaptive/protos/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/histogram/adaptive/protos/CMakeLists.txt +++ b/library/cpp/histogram/adaptive/protos/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/histogram/adaptive/protos/CMakeLists.windows-x86_64.txt b/library/cpp/histogram/adaptive/protos/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ff0b6ce0f9 --- /dev/null +++ b/library/cpp/histogram/adaptive/protos/CMakeLists.windows-x86_64.txt @@ -0,0 +1,43 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_library(histogram-adaptive-protos) +target_link_libraries(histogram-adaptive-protos PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf +) +target_proto_messages(histogram-adaptive-protos PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/histogram/adaptive/protos/histo.proto +) +target_proto_addincls(histogram-adaptive-protos + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(histogram-adaptive-protos + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) diff --git a/library/cpp/histogram/hdr/CMakeLists.txt b/library/cpp/histogram/hdr/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/histogram/hdr/CMakeLists.txt +++ b/library/cpp/histogram/hdr/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/histogram/hdr/CMakeLists.windows-x86_64.txt b/library/cpp/histogram/hdr/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..cf961268fa --- /dev/null +++ b/library/cpp/histogram/hdr/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-histogram-hdr) +target_link_libraries(cpp-histogram-hdr PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-hdr_histogram +) +target_sources(cpp-histogram-hdr PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/histogram/hdr/histogram.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/histogram/hdr/histogram_iter.cpp +) diff --git a/library/cpp/html/escape/CMakeLists.txt b/library/cpp/html/escape/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/html/escape/CMakeLists.txt +++ b/library/cpp/html/escape/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/html/escape/CMakeLists.windows-x86_64.txt b/library/cpp/html/escape/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..890dac1539 --- /dev/null +++ b/library/cpp/html/escape/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-html-escape) +target_link_libraries(cpp-html-escape PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-html-escape PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/html/escape/escape.cpp +) diff --git a/library/cpp/html/pcdata/CMakeLists.txt b/library/cpp/html/pcdata/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/html/pcdata/CMakeLists.txt +++ b/library/cpp/html/pcdata/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/html/pcdata/CMakeLists.windows-x86_64.txt b/library/cpp/html/pcdata/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..0efffd69e0 --- /dev/null +++ b/library/cpp/html/pcdata/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-html-pcdata) +target_link_libraries(cpp-html-pcdata PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-html-pcdata PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/html/pcdata/pcdata.cpp +) diff --git a/library/cpp/http/fetch/CMakeLists.txt b/library/cpp/http/fetch/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/http/fetch/CMakeLists.txt +++ b/library/cpp/http/fetch/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/http/fetch/CMakeLists.windows-x86_64.txt b/library/cpp/http/fetch/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..b507fb8c2e --- /dev/null +++ b/library/cpp/http/fetch/CMakeLists.windows-x86_64.txt @@ -0,0 +1,46 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(ZLIB REQUIRED) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +add_library(cpp-http-fetch) +target_link_libraries(cpp-http-fetch PUBLIC + contrib-libs-cxxsupp + yutil + ZLIB::ZLIB + library-cpp-charset + cpp-digest-md5 + cpp-http-misc + library-cpp-logger + cpp-mime-types + library-cpp-uri + tools-enum_parser-enum_serialization_runtime +) +target_sources(cpp-http-fetch PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_digest.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_socket.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpload.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/exthttpcodes.cpp +) +generate_enum_serilization(cpp-http-fetch + ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.h + INCLUDE_HEADERS + library/cpp/http/fetch/httpheader.h +) +target_ragel_lexers(cpp-http-fetch + PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpfsm.rl6 + -CG1 +) diff --git a/library/cpp/http/io/CMakeLists.txt b/library/cpp/http/io/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/http/io/CMakeLists.txt +++ b/library/cpp/http/io/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/http/io/CMakeLists.windows-x86_64.txt b/library/cpp/http/io/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..1f1eab359c --- /dev/null +++ b/library/cpp/http/io/CMakeLists.windows-x86_64.txt @@ -0,0 +1,24 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-http-io) +target_link_libraries(cpp-http-io PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-blockcodecs + cpp-streams-brotli + cpp-streams-bzip2 + cpp-streams-lzma +) +target_sources(cpp-http-io PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/http/io/chunk.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/http/io/compression.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/http/io/headers.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/http/io/stream.cpp +) diff --git a/library/cpp/http/misc/CMakeLists.txt b/library/cpp/http/misc/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/http/misc/CMakeLists.txt +++ b/library/cpp/http/misc/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/http/misc/CMakeLists.windows-x86_64.txt b/library/cpp/http/misc/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c909854a9a --- /dev/null +++ b/library/cpp/http/misc/CMakeLists.windows-x86_64.txt @@ -0,0 +1,35 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +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 index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/http/server/CMakeLists.txt +++ b/library/cpp/http/server/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/http/server/CMakeLists.windows-x86_64.txt b/library/cpp/http/server/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..9d8b2182ba --- /dev/null +++ b/library/cpp/http/server/CMakeLists.windows-x86_64.txt @@ -0,0 +1,25 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-http-server) +target_link_libraries(cpp-http-server PUBLIC + contrib-libs-cxxsupp + yutil + cpp-http-misc + cpp-http-io + cpp-threading-equeue + cpp-deprecated-atomic +) +target_sources(cpp-http-server PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/http/server/conn.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http_ex.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/http/server/options.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/http/server/response.cpp +) diff --git a/library/cpp/http/simple/CMakeLists.txt b/library/cpp/http/simple/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/http/simple/CMakeLists.txt +++ b/library/cpp/http/simple/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/http/simple/CMakeLists.windows-x86_64.txt b/library/cpp/http/simple/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..68c2fb64a3 --- /dev/null +++ b/library/cpp/http/simple/CMakeLists.windows-x86_64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-http-simple) +target_link_libraries(cpp-http-simple PUBLIC + contrib-libs-cxxsupp + yutil + cpp-http-io + cpp-openssl-io + cpp-string_utils-url + library-cpp-uri +) +target_sources(cpp-http-simple PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/http/simple/http_client.cpp +) diff --git a/library/cpp/hyperloglog/CMakeLists.txt b/library/cpp/hyperloglog/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/hyperloglog/CMakeLists.txt +++ b/library/cpp/hyperloglog/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/hyperloglog/CMakeLists.windows-x86_64.txt b/library/cpp/hyperloglog/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..5a180602bc --- /dev/null +++ b/library/cpp/hyperloglog/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-hyperloglog) +target_link_libraries(library-cpp-hyperloglog PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-hyperloglog PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/hyperloglog/hyperloglog.cpp +) diff --git a/library/cpp/int128/CMakeLists.txt b/library/cpp/int128/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/int128/CMakeLists.txt +++ b/library/cpp/int128/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/int128/CMakeLists.windows-x86_64.txt b/library/cpp/int128/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..cdc5d289ee --- /dev/null +++ b/library/cpp/int128/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-int128) +target_link_libraries(library-cpp-int128 PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-int128 PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/int128/int128.cpp +) diff --git a/library/cpp/ipmath/CMakeLists.txt b/library/cpp/ipmath/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/ipmath/CMakeLists.txt +++ b/library/cpp/ipmath/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/ipmath/CMakeLists.windows-x86_64.txt b/library/cpp/ipmath/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..78a4d06b4b --- /dev/null +++ b/library/cpp/ipmath/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-ipmath) +target_link_libraries(library-cpp-ipmath PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-ipv6_address +) +target_sources(library-cpp-ipmath PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/ipmath/ipmath.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/ipmath/range_set.cpp +) diff --git a/library/cpp/ipv6_address/CMakeLists.txt b/library/cpp/ipv6_address/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/ipv6_address/CMakeLists.txt +++ b/library/cpp/ipv6_address/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/ipv6_address/CMakeLists.windows-x86_64.txt b/library/cpp/ipv6_address/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..6156f5cbe2 --- /dev/null +++ b/library/cpp/ipv6_address/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-ipv6_address) +target_link_libraries(library-cpp-ipv6_address PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-int128 +) +target_sources(library-cpp-ipv6_address PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/ipv6_address/ipv6_address.cpp +) diff --git a/library/cpp/iterator/CMakeLists.txt b/library/cpp/iterator/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/iterator/CMakeLists.txt +++ b/library/cpp/iterator/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/iterator/CMakeLists.windows-x86_64.txt b/library/cpp/iterator/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ee33c74cea --- /dev/null +++ b/library/cpp/iterator/CMakeLists.windows-x86_64.txt @@ -0,0 +1,25 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-iterator) +target_link_libraries(library-cpp-iterator PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-iterator PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/iterator/cartesian_product.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/iterator/concatenate.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/iterator/enumerate.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/iterator/iterate_keys.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/iterator/iterate_values.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/iterator/filtering.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/iterator/functools.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/iterator/mapped.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/iterator/zip.cpp +) diff --git a/library/cpp/json/CMakeLists.txt b/library/cpp/json/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/json/CMakeLists.txt +++ b/library/cpp/json/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/json/CMakeLists.windows-x86_64.txt b/library/cpp/json/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..bbf8222242 --- /dev/null +++ b/library/cpp/json/CMakeLists.windows-x86_64.txt @@ -0,0 +1,30 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(common) +add_subdirectory(easy_parse) +add_subdirectory(fast_sax) +add_subdirectory(writer) +add_subdirectory(yson) + +add_library(library-cpp-json) +target_link_libraries(library-cpp-json PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-rapidjson + cpp-json-common + cpp-json-fast_sax + cpp-json-writer + cpp-string_utils-relaxed_escaper +) +target_sources(library-cpp-json PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/json/json_writer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/json/json_reader.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/json/json_prettifier.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/json/rapidjson_helpers.cpp +) diff --git a/library/cpp/json/common/CMakeLists.txt b/library/cpp/json/common/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/json/common/CMakeLists.txt +++ b/library/cpp/json/common/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/json/common/CMakeLists.windows-x86_64.txt b/library/cpp/json/common/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3fc903e74d --- /dev/null +++ b/library/cpp/json/common/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-json-common) +target_link_libraries(cpp-json-common PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-json-common PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/json/common/defs.cpp +) diff --git a/library/cpp/json/easy_parse/CMakeLists.txt b/library/cpp/json/easy_parse/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/json/easy_parse/CMakeLists.txt +++ b/library/cpp/json/easy_parse/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/json/easy_parse/CMakeLists.windows-x86_64.txt b/library/cpp/json/easy_parse/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..18daf19913 --- /dev/null +++ b/library/cpp/json/easy_parse/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-json-easy_parse) +target_link_libraries(cpp-json-easy_parse PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-json +) +target_sources(cpp-json-easy_parse PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/json/easy_parse/json_easy_parser.cpp +) diff --git a/library/cpp/json/fast_sax/CMakeLists.txt b/library/cpp/json/fast_sax/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/json/fast_sax/CMakeLists.txt +++ b/library/cpp/json/fast_sax/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/json/fast_sax/CMakeLists.windows-x86_64.txt b/library/cpp/json/fast_sax/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..11c78db37a --- /dev/null +++ b/library/cpp/json/fast_sax/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-json-fast_sax) +target_link_libraries(cpp-json-fast_sax PUBLIC + contrib-libs-cxxsupp + yutil + cpp-json-common +) +target_sources(cpp-json-fast_sax PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/json/fast_sax/unescape.cpp +) +target_ragel_lexers(cpp-json-fast_sax + PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/json/fast_sax/parser.rl6 + -CT0 +) diff --git a/library/cpp/json/writer/CMakeLists.txt b/library/cpp/json/writer/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/json/writer/CMakeLists.txt +++ b/library/cpp/json/writer/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/json/writer/CMakeLists.windows-x86_64.txt b/library/cpp/json/writer/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..e164da14c0 --- /dev/null +++ b/library/cpp/json/writer/CMakeLists.windows-x86_64.txt @@ -0,0 +1,31 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +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 index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/json/yson/CMakeLists.txt +++ b/library/cpp/json/yson/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/json/yson/CMakeLists.windows-x86_64.txt b/library/cpp/json/yson/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..9f16a5a41e --- /dev/null +++ b/library/cpp/json/yson/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-json-yson) +target_link_libraries(cpp-json-yson PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-json + library-cpp-yson + cpp-yson-json +) +target_sources(cpp-json-yson PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/json/yson/json2yson.cpp +) diff --git a/library/cpp/lcs/CMakeLists.txt b/library/cpp/lcs/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/lcs/CMakeLists.txt +++ b/library/cpp/lcs/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/lcs/CMakeLists.windows-x86_64.txt b/library/cpp/lcs/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..52cb38d674 --- /dev/null +++ b/library/cpp/lcs/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-lcs) +target_link_libraries(library-cpp-lcs PUBLIC + contrib-libs-cxxsupp + yutil + cpp-containers-paged_vector +) +target_sources(library-cpp-lcs PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lcs/lcs_via_lis.cpp +) diff --git a/library/cpp/lfalloc/CMakeLists.txt b/library/cpp/lfalloc/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/lfalloc/CMakeLists.txt +++ b/library/cpp/lfalloc/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/lfalloc/CMakeLists.windows-x86_64.txt b/library/cpp/lfalloc/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c5ee648844 --- /dev/null +++ b/library/cpp/lfalloc/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to 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 + $<IF:$<CXX_COMPILER_ID:MSVC>,,-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/alloc_profiler/CMakeLists.txt b/library/cpp/lfalloc/alloc_profiler/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/lfalloc/alloc_profiler/CMakeLists.txt +++ b/library/cpp/lfalloc/alloc_profiler/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/lfalloc/alloc_profiler/CMakeLists.windows-x86_64.txt b/library/cpp/lfalloc/alloc_profiler/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..b94d19ad32 --- /dev/null +++ b/library/cpp/lfalloc/alloc_profiler/CMakeLists.windows-x86_64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-lfalloc-alloc_profiler) +target_link_libraries(cpp-lfalloc-alloc_profiler PUBLIC + contrib-libs-cxxsupp + yutil + cpp-lfalloc-dbg_info + library-cpp-cache + cpp-deprecated-atomic +) +target_sources(cpp-lfalloc-alloc_profiler PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/alloc_profiler/profiler.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/alloc_profiler/stackcollect.cpp +) diff --git a/library/cpp/lfalloc/dbg_info/CMakeLists.txt b/library/cpp/lfalloc/dbg_info/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/lfalloc/dbg_info/CMakeLists.txt +++ b/library/cpp/lfalloc/dbg_info/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/lfalloc/dbg_info/CMakeLists.windows-x86_64.txt b/library/cpp/lfalloc/dbg_info/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ec8b8ba23b --- /dev/null +++ b/library/cpp/lfalloc/dbg_info/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-lfalloc-dbg_info) +target_link_libraries(cpp-lfalloc-dbg_info PUBLIC + contrib-libs-cxxsupp + yutil + cpp-malloc-api +) +target_sources(cpp-lfalloc-dbg_info PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/dbg_info/dbg_info.cpp +) diff --git a/library/cpp/lfalloc/yt/CMakeLists.txt b/library/cpp/lfalloc/yt/CMakeLists.txt index 5bedd04e09..86c4d15dc3 100644 --- a/library/cpp/lfalloc/yt/CMakeLists.txt +++ b/library/cpp/lfalloc/yt/CMakeLists.txt @@ -6,6 +6,8 @@ # original buildsystem will not be accepted. -if (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") +if (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) endif() diff --git a/library/cpp/lfalloc/yt/CMakeLists.windows-x86_64.txt b/library/cpp/lfalloc/yt/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ab5c2e2e91 --- /dev/null +++ b/library/cpp/lfalloc/yt/CMakeLists.windows-x86_64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-lfalloc-yt) +target_compile_options(cpp-lfalloc-yt PRIVATE + -DLFALLOC_YT + $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything> +) +target_link_libraries(cpp-lfalloc-yt PUBLIC + contrib-libs-cxxsupp + cpp-malloc-api +) +target_sources(cpp-lfalloc-yt PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/lf_allocX64.cpp +) diff --git a/library/cpp/linear_regression/CMakeLists.txt b/library/cpp/linear_regression/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/linear_regression/CMakeLists.txt +++ b/library/cpp/linear_regression/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/linear_regression/CMakeLists.windows-x86_64.txt b/library/cpp/linear_regression/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..db574777d6 --- /dev/null +++ b/library/cpp/linear_regression/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-linear_regression) +target_link_libraries(library-cpp-linear_regression PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-accurate_accumulate +) +target_sources(library-cpp-linear_regression PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/linear_regression.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/unimodal.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/linear_regression/welford.cpp +) diff --git a/library/cpp/logger/CMakeLists.txt b/library/cpp/logger/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/logger/CMakeLists.txt +++ b/library/cpp/logger/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/logger/CMakeLists.windows-x86_64.txt b/library/cpp/logger/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..92cf5b5d93 --- /dev/null +++ b/library/cpp/logger/CMakeLists.windows-x86_64.txt @@ -0,0 +1,65 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(global) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +add_library(library-cpp-logger) +target_link_libraries(library-cpp-logger PUBLIC + contrib-libs-cxxsupp + yutil + tools-enum_parser-enum_serialization_runtime + library-cpp-json + cpp-deprecated-atomic +) +target_sources(library-cpp-logger PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/logger/backend.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/backend_creator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/composite.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/element.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/file.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/filter.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/filter_creator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/log.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/null.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/rotating_file.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/stream.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/sync_page_cache_file.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/system.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/thread.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/thread_creator.cpp +) +generate_enum_serilization(library-cpp-logger + ${CMAKE_SOURCE_DIR}/library/cpp/logger/priority.h + INCLUDE_HEADERS + library/cpp/logger/priority.h +) + +add_global_library_for(library-cpp-logger.global library-cpp-logger) +target_link_libraries(library-cpp-logger.global PUBLIC + contrib-libs-cxxsupp + yutil + tools-enum_parser-enum_serialization_runtime + library-cpp-json + cpp-deprecated-atomic +) +target_sources(library-cpp-logger.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/logger/composite_creator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/file_creator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/null_creator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/rotating_file_creator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/stream_creator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/sync_page_cache_file_creator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/system_creator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/uninitialized_creator.cpp +) diff --git a/library/cpp/logger/global/CMakeLists.txt b/library/cpp/logger/global/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/logger/global/CMakeLists.txt +++ b/library/cpp/logger/global/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/logger/global/CMakeLists.windows-x86_64.txt b/library/cpp/logger/global/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..4056287548 --- /dev/null +++ b/library/cpp/logger/global/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-logger-global) +target_link_libraries(cpp-logger-global PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-logger +) +target_sources(cpp-logger-global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/common.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/global.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/logger/global/rty_formater.cpp +) diff --git a/library/cpp/lua/CMakeLists.txt b/library/cpp/lua/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/lua/CMakeLists.txt +++ b/library/cpp/lua/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/lua/CMakeLists.windows-x86_64.txt b/library/cpp/lua/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..7dc3bec75b --- /dev/null +++ b/library/cpp/lua/CMakeLists.windows-x86_64.txt @@ -0,0 +1,22 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-lua) +target_link_libraries(library-cpp-lua PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-json + contrib-libs-lua + cpp-string_utils-ztstrbuf +) +target_sources(library-cpp-lua PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lua/eval.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lua/json.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lua/wrapper.cpp +) diff --git a/library/cpp/lwtrace/CMakeLists.txt b/library/cpp/lwtrace/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/lwtrace/CMakeLists.txt +++ b/library/cpp/lwtrace/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/lwtrace/CMakeLists.windows-x86_64.txt b/library/cpp/lwtrace/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..370dbb17fd --- /dev/null +++ b/library/cpp/lwtrace/CMakeLists.windows-x86_64.txt @@ -0,0 +1,33 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(mon) +add_subdirectory(protos) + +add_library(library-cpp-lwtrace) +target_link_libraries(library-cpp-lwtrace PUBLIC + contrib-libs-cxxsupp + yutil + cpp-lwtrace-protos + cpp-deprecated-atomic +) +target_sources(library-cpp-lwtrace PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/check.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/control.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/custom_action.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/kill_action.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/log_shuttle.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/perf.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/probes.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/shuttle.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/sleep_action.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/start.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/stderr_writer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/symbol.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/trace.cpp +) diff --git a/library/cpp/lwtrace/mon/CMakeLists.txt b/library/cpp/lwtrace/mon/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/lwtrace/mon/CMakeLists.txt +++ b/library/cpp/lwtrace/mon/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/lwtrace/mon/CMakeLists.windows-x86_64.txt b/library/cpp/lwtrace/mon/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..84ce12f208 --- /dev/null +++ b/library/cpp/lwtrace/mon/CMakeLists.windows-x86_64.txt @@ -0,0 +1,118 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(analytics) +get_built_tool_path( + TOOL_rescompiler_bin + TOOL_rescompiler_dependency + tools/rescompiler/bin + rescompiler +) + +add_library(cpp-lwtrace-mon) +target_link_libraries(cpp-lwtrace-mon PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-resource + cpp-html-pcdata + library-cpp-lwtrace + lwtrace-mon-analytics + cpp-monlib-dynamic_counters + cpp-string_utils-base64 +) +target_sources(cpp-lwtrace-mon PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/mon_lwtrace.cpp +) + +add_global_library_for(cpp-lwtrace-mon.global cpp-lwtrace-mon) +target_link_libraries(cpp-lwtrace-mon.global PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-resource + cpp-html-pcdata + library-cpp-lwtrace + lwtrace-mon-analytics + cpp-monlib-dynamic_counters + cpp-string_utils-base64 +) +target_sources(cpp-lwtrace-mon.global PRIVATE + ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp +) +resources(cpp-lwtrace-mon.global + ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp + INPUTS + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.css + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/bootstrap.min.css + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/d3-gantt.css + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/jquery.treegrid.css + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.css + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.flot.html + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.gantt.html + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.header.html + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2 + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/footer.html + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/header.html + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/collapse.png + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/expand.png + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/file.png + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/folder.png + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/bootstrap.min.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3.v4.min.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-gantt.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/filesaver.min.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.extents.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.min.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.navigate.min.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.selection.min.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.min.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.min.js + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.url.min.js + KEYS + lwtrace/mon/static/common.css + lwtrace/mon/static/common.js + lwtrace/mon/static/css/bootstrap.min.css + lwtrace/mon/static/css/d3-gantt.css + lwtrace/mon/static/css/jquery.treegrid.css + lwtrace/mon/static/analytics.css + lwtrace/mon/static/analytics.flot.html + lwtrace/mon/static/analytics.gantt.html + lwtrace/mon/static/analytics.header.html + lwtrace/mon/static/analytics.js + lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot + lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg + lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf + lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2 + lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff + lwtrace/mon/static/footer.html + lwtrace/mon/static/header.html + lwtrace/mon/static/img/collapse.png + lwtrace/mon/static/img/expand.png + lwtrace/mon/static/img/file.png + lwtrace/mon/static/img/folder.png + lwtrace/mon/static/js/bootstrap.min.js + lwtrace/mon/static/js/d3.v4.min.js + lwtrace/mon/static/js/d3-gantt.js + lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js + lwtrace/mon/static/js/filesaver.min.js + lwtrace/mon/static/js/jquery.flot.extents.js + lwtrace/mon/static/js/jquery.flot.min.js + lwtrace/mon/static/js/jquery.flot.navigate.min.js + lwtrace/mon/static/js/jquery.flot.selection.min.js + lwtrace/mon/static/js/jquery.min.js + lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js + lwtrace/mon/static/js/jquery.treegrid.min.js + lwtrace/mon/static/js/jquery.url.min.js +) diff --git a/library/cpp/lwtrace/mon/analytics/CMakeLists.txt b/library/cpp/lwtrace/mon/analytics/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/lwtrace/mon/analytics/CMakeLists.txt +++ b/library/cpp/lwtrace/mon/analytics/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/lwtrace/mon/analytics/CMakeLists.windows-x86_64.txt b/library/cpp/lwtrace/mon/analytics/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..f1a03a5f4a --- /dev/null +++ b/library/cpp/lwtrace/mon/analytics/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(lwtrace-mon-analytics) +target_link_libraries(lwtrace-mon-analytics PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(lwtrace-mon-analytics PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/analytics/analytics.cpp +) diff --git a/library/cpp/lwtrace/protos/CMakeLists.txt b/library/cpp/lwtrace/protos/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/lwtrace/protos/CMakeLists.txt +++ b/library/cpp/lwtrace/protos/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/lwtrace/protos/CMakeLists.windows-x86_64.txt b/library/cpp/lwtrace/protos/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..9caa6f58bf --- /dev/null +++ b/library/cpp/lwtrace/protos/CMakeLists.windows-x86_64.txt @@ -0,0 +1,43 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_library(cpp-lwtrace-protos) +target_link_libraries(cpp-lwtrace-protos PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf +) +target_proto_messages(cpp-lwtrace-protos PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/protos/lwtrace.proto +) +target_proto_addincls(cpp-lwtrace-protos + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(cpp-lwtrace-protos + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) diff --git a/library/cpp/malloc/CMakeLists.txt b/library/cpp/malloc/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/malloc/CMakeLists.txt +++ b/library/cpp/malloc/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/malloc/CMakeLists.windows-x86_64.txt b/library/cpp/malloc/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3366d34904 --- /dev/null +++ b/library/cpp/malloc/CMakeLists.windows-x86_64.txt @@ -0,0 +1,10 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to 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(system) diff --git a/library/cpp/malloc/api/CMakeLists.txt b/library/cpp/malloc/api/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/malloc/api/CMakeLists.txt +++ b/library/cpp/malloc/api/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/malloc/api/CMakeLists.windows-x86_64.txt b/library/cpp/malloc/api/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..db837d83de --- /dev/null +++ b/library/cpp/malloc/api/CMakeLists.windows-x86_64.txt @@ -0,0 +1,16 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-malloc-api) +target_link_libraries(cpp-malloc-api PUBLIC + contrib-libs-cxxsupp +) +target_sources(cpp-malloc-api PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/malloc/api/malloc.cpp +) diff --git a/library/cpp/malloc/system/CMakeLists.txt b/library/cpp/malloc/system/CMakeLists.txt index 5bedd04e09..86c4d15dc3 100644 --- a/library/cpp/malloc/system/CMakeLists.txt +++ b/library/cpp/malloc/system/CMakeLists.txt @@ -6,6 +6,8 @@ # original buildsystem will not be accepted. -if (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") +if (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) endif() diff --git a/library/cpp/malloc/system/CMakeLists.windows-x86_64.txt b/library/cpp/malloc/system/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..72c039454c --- /dev/null +++ b/library/cpp/malloc/system/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-malloc-system) +target_link_libraries(cpp-malloc-system PUBLIC + contrib-libs-cxxsupp + cpp-malloc-api +) +target_sources(cpp-malloc-system PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/malloc/system/malloc-info.cpp +) diff --git a/library/cpp/messagebus/CMakeLists.txt b/library/cpp/messagebus/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/messagebus/CMakeLists.txt +++ b/library/cpp/messagebus/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/messagebus/CMakeLists.windows-x86_64.txt b/library/cpp/messagebus/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..af2b7a2008 --- /dev/null +++ b/library/cpp/messagebus/CMakeLists.windows-x86_64.txt @@ -0,0 +1,71 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(actor) +add_subdirectory(config) +add_subdirectory(monitoring) +add_subdirectory(oldmodule) +add_subdirectory(protobuf) +add_subdirectory(scheduler) +add_subdirectory(www) + +add_library(library-cpp-messagebus) +target_link_libraries(library-cpp-messagebus PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-sparsehash + library-cpp-codecs + cpp-deprecated-enum_codegen + cpp-getopt-small + library-cpp-lwtrace + messagebus_actor + cpp-messagebus-config + cpp-messagebus-monitoring + cpp-messagebus-scheduler + cpp-string_utils-indent_text + cpp-threading-future + cpp-deprecated-atomic +) +target_sources(library-cpp-messagebus PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor_status.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/connection.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/coreconn.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/duration_histogram.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/event_loop.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/futex_like.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/handler.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/key_value_printer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/local_flags.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/locator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/mb_lwtrace.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_counter.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status_counter.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/messqueue.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/network.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/queue_config.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_connection.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session_semaphore.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection_status.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_connection.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session_semaphore.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_impl.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_job_count.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/shutdown_state.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/socket_addr.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/storage.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/synchandler.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_after_free_checker.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_count_checker.cpp +) diff --git a/library/cpp/messagebus/actor/CMakeLists.txt b/library/cpp/messagebus/actor/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/messagebus/actor/CMakeLists.txt +++ b/library/cpp/messagebus/actor/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/messagebus/actor/CMakeLists.windows-x86_64.txt b/library/cpp/messagebus/actor/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..da26bb12a8 --- /dev/null +++ b/library/cpp/messagebus/actor/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(messagebus_actor) +target_link_libraries(messagebus_actor PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-atomic +) +target_sources(messagebus_actor PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/executor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/thread_extra.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/what_thread_does.cpp +) diff --git a/library/cpp/messagebus/config/CMakeLists.txt b/library/cpp/messagebus/config/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/messagebus/config/CMakeLists.txt +++ b/library/cpp/messagebus/config/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/messagebus/config/CMakeLists.windows-x86_64.txt b/library/cpp/messagebus/config/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2ac52c60e8 --- /dev/null +++ b/library/cpp/messagebus/config/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-messagebus-config) +target_link_libraries(cpp-messagebus-config PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-getopt + cpp-deprecated-enum_codegen +) +target_sources(cpp-messagebus-config PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/netaddr.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/session_config.cpp +) diff --git a/library/cpp/messagebus/monitoring/CMakeLists.txt b/library/cpp/messagebus/monitoring/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/messagebus/monitoring/CMakeLists.txt +++ b/library/cpp/messagebus/monitoring/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/messagebus/monitoring/CMakeLists.windows-x86_64.txt b/library/cpp/messagebus/monitoring/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..0a5f1f8502 --- /dev/null +++ b/library/cpp/messagebus/monitoring/CMakeLists.windows-x86_64.txt @@ -0,0 +1,44 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_library(cpp-messagebus-monitoring) +target_link_libraries(cpp-messagebus-monitoring PUBLIC + contrib-libs-cxxsupp + yutil + encode-legacy_protobuf-protos + contrib-libs-protobuf +) +target_proto_messages(cpp-messagebus-monitoring PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/monitoring/mon_proto.proto +) +target_proto_addincls(cpp-messagebus-monitoring + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(cpp-messagebus-monitoring + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) diff --git a/library/cpp/messagebus/oldmodule/CMakeLists.txt b/library/cpp/messagebus/oldmodule/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/messagebus/oldmodule/CMakeLists.txt +++ b/library/cpp/messagebus/oldmodule/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/messagebus/oldmodule/CMakeLists.windows-x86_64.txt b/library/cpp/messagebus/oldmodule/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..11b6ead04d --- /dev/null +++ b/library/cpp/messagebus/oldmodule/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-messagebus-oldmodule) +target_link_libraries(cpp-messagebus-oldmodule PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-messagebus + messagebus_actor +) +target_sources(cpp-messagebus-oldmodule PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/module.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/startsession.cpp +) diff --git a/library/cpp/messagebus/protobuf/CMakeLists.txt b/library/cpp/messagebus/protobuf/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/messagebus/protobuf/CMakeLists.txt +++ b/library/cpp/messagebus/protobuf/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/messagebus/protobuf/CMakeLists.windows-x86_64.txt b/library/cpp/messagebus/protobuf/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..8566a4b7ef --- /dev/null +++ b/library/cpp/messagebus/protobuf/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(messagebus_protobuf) +target_link_libraries(messagebus_protobuf PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf + library-cpp-messagebus + messagebus_actor +) +target_sources(messagebus_protobuf PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/protobuf/ybusbuf.cpp +) diff --git a/library/cpp/messagebus/scheduler/CMakeLists.txt b/library/cpp/messagebus/scheduler/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/messagebus/scheduler/CMakeLists.txt +++ b/library/cpp/messagebus/scheduler/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/messagebus/scheduler/CMakeLists.windows-x86_64.txt b/library/cpp/messagebus/scheduler/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..510bc01bd5 --- /dev/null +++ b/library/cpp/messagebus/scheduler/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-messagebus-scheduler) +target_link_libraries(cpp-messagebus-scheduler PUBLIC + contrib-libs-cxxsupp + yutil + cpp-threading-future + cpp-deprecated-atomic +) +target_sources(cpp-messagebus-scheduler PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/scheduler/scheduler.cpp +) diff --git a/library/cpp/messagebus/www/CMakeLists.txt b/library/cpp/messagebus/www/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/messagebus/www/CMakeLists.txt +++ b/library/cpp/messagebus/www/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/messagebus/www/CMakeLists.windows-x86_64.txt b/library/cpp/messagebus/www/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2d41aa3305 --- /dev/null +++ b/library/cpp/messagebus/www/CMakeLists.windows-x86_64.txt @@ -0,0 +1,62 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_rescompiler_bin + TOOL_rescompiler_dependency + tools/rescompiler/bin + rescompiler +) + +add_library(cpp-messagebus-www) +target_link_libraries(cpp-messagebus-www PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-resource + library-cpp-cgiparam + cpp-html-pcdata + cpp-http-fetch + cpp-http-server + cpp-json-writer + library-cpp-messagebus + cpp-messagebus-oldmodule + monlib-deprecated-json + library-cpp-uri +) +target_sources(cpp-messagebus-www PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/html_output.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/www.cpp +) + +add_global_library_for(cpp-messagebus-www.global cpp-messagebus-www) +target_link_libraries(cpp-messagebus-www.global PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-resource + library-cpp-cgiparam + cpp-html-pcdata + cpp-http-fetch + cpp-http-server + cpp-json-writer + library-cpp-messagebus + cpp-messagebus-oldmodule + monlib-deprecated-json + library-cpp-uri +) +target_sources(cpp-messagebus-www.global PRIVATE + ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp +) +resources(cpp-messagebus-www.global + ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp + INPUTS + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/messagebus.js + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/bus-ico.png + KEYS + /messagebus.js + /bus-ico.png +) diff --git a/library/cpp/mime/types/CMakeLists.txt b/library/cpp/mime/types/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/mime/types/CMakeLists.txt +++ b/library/cpp/mime/types/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/mime/types/CMakeLists.windows-x86_64.txt b/library/cpp/mime/types/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..8e4011a982 --- /dev/null +++ b/library/cpp/mime/types/CMakeLists.windows-x86_64.txt @@ -0,0 +1,29 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +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 index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/deprecated/json/CMakeLists.txt +++ b/library/cpp/monlib/deprecated/json/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/deprecated/json/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/deprecated/json/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..6bcb22f8cc --- /dev/null +++ b/library/cpp/monlib/deprecated/json/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(monlib-deprecated-json) +target_link_libraries(monlib-deprecated-json PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-json +) +target_sources(monlib-deprecated-json PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/deprecated/json/writer.cpp +) diff --git a/library/cpp/monlib/dynamic_counters/CMakeLists.txt b/library/cpp/monlib/dynamic_counters/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/dynamic_counters/CMakeLists.txt +++ b/library/cpp/monlib/dynamic_counters/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/dynamic_counters/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/dynamic_counters/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..35f39a552a --- /dev/null +++ b/library/cpp/monlib/dynamic_counters/CMakeLists.windows-x86_64.txt @@ -0,0 +1,28 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(percentile) + +add_library(cpp-monlib-dynamic_counters) +target_link_libraries(cpp-monlib-dynamic_counters PUBLIC + contrib-libs-cxxsupp + yutil + cpp-containers-stack_vector + monlib-encode-json + monlib-encode-spack + monlib-encode-prometheus + monlib-service-pages + cpp-string_utils-quote + cpp-threading-light_rw_lock +) +target_sources(cpp-monlib-dynamic_counters PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/counters.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/encode.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/golovan_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/dynamic_counters/page.cpp +) diff --git a/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.txt b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.txt +++ b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..fa99d9dc2f --- /dev/null +++ b/library/cpp/monlib/dynamic_counters/percentile/CMakeLists.windows-x86_64.txt @@ -0,0 +1,16 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(monlib-dynamic_counters-percentile INTERFACE) +target_link_libraries(monlib-dynamic_counters-percentile INTERFACE + contrib-libs-cxxsupp + yutil + cpp-containers-stack_vector + cpp-monlib-dynamic_counters +) diff --git a/library/cpp/monlib/encode/CMakeLists.txt b/library/cpp/monlib/encode/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/encode/CMakeLists.txt +++ b/library/cpp/monlib/encode/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/encode/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/encode/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..a74b6d023d --- /dev/null +++ b/library/cpp/monlib/encode/CMakeLists.windows-x86_64.txt @@ -0,0 +1,40 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(buffered) +add_subdirectory(json) +add_subdirectory(legacy_protobuf) +add_subdirectory(prometheus) +add_subdirectory(spack) +add_subdirectory(text) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +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 index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/encode/buffered/CMakeLists.txt +++ b/library/cpp/monlib/encode/buffered/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/encode/buffered/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/encode/buffered/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..e867afbb8c --- /dev/null +++ b/library/cpp/monlib/encode/buffered/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(monlib-encode-buffered) +target_link_libraries(monlib-encode-buffered PUBLIC + contrib-libs-cxxsupp + yutil + cpp-monlib-encode + cpp-monlib-metrics +) +target_sources(monlib-encode-buffered PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/buffered/buffered_encoder_base.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/buffered/string_pool.cpp +) diff --git a/library/cpp/monlib/encode/json/CMakeLists.txt b/library/cpp/monlib/encode/json/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/encode/json/CMakeLists.txt +++ b/library/cpp/monlib/encode/json/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/encode/json/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/encode/json/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..55a0abe1c3 --- /dev/null +++ b/library/cpp/monlib/encode/json/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(monlib-encode-json) +target_link_libraries(monlib-encode-json PUBLIC + contrib-libs-cxxsupp + yutil + cpp-monlib-encode + monlib-encode-buffered + cpp-monlib-exception + library-cpp-json + cpp-json-writer +) +target_sources(monlib-encode-json PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/json/json_decoder.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/json/json_encoder.cpp +) diff --git a/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt +++ b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..bce491e67e --- /dev/null +++ b/library/cpp/monlib/encode/legacy_protobuf/protos/CMakeLists.windows-x86_64.txt @@ -0,0 +1,43 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_library(encode-legacy_protobuf-protos) +target_link_libraries(encode-legacy_protobuf-protos PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf +) +target_proto_messages(encode-legacy_protobuf-protos PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/legacy_protobuf/protos/metric_meta.proto +) +target_proto_addincls(encode-legacy_protobuf-protos + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(encode-legacy_protobuf-protos + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) diff --git a/library/cpp/monlib/encode/prometheus/CMakeLists.txt b/library/cpp/monlib/encode/prometheus/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/encode/prometheus/CMakeLists.txt +++ b/library/cpp/monlib/encode/prometheus/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/encode/prometheus/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/encode/prometheus/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2db649e693 --- /dev/null +++ b/library/cpp/monlib/encode/prometheus/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(monlib-encode-prometheus) +target_link_libraries(monlib-encode-prometheus PUBLIC + contrib-libs-cxxsupp + yutil + cpp-monlib-encode + monlib-encode-buffered +) +target_sources(monlib-encode-prometheus PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/prometheus/prometheus_decoder.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/prometheus/prometheus_encoder.cpp +) diff --git a/library/cpp/monlib/encode/spack/CMakeLists.txt b/library/cpp/monlib/encode/spack/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/encode/spack/CMakeLists.txt +++ b/library/cpp/monlib/encode/spack/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/encode/spack/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/encode/spack/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..9eccd0b629 --- /dev/null +++ b/library/cpp/monlib/encode/spack/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(ZLIB REQUIRED) + +add_library(monlib-encode-spack) +target_link_libraries(monlib-encode-spack PUBLIC + contrib-libs-cxxsupp + yutil + monlib-encode-buffered + cpp-monlib-exception + contrib-libs-lz4 + contrib-libs-xxhash + ZLIB::ZLIB + contrib-libs-zstd +) +target_sources(monlib-encode-spack PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/spack_v1_decoder.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/spack_v1_encoder.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/varint.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/spack/compression.cpp +) diff --git a/library/cpp/monlib/encode/text/CMakeLists.txt b/library/cpp/monlib/encode/text/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/encode/text/CMakeLists.txt +++ b/library/cpp/monlib/encode/text/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/encode/text/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/encode/text/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..58143a2371 --- /dev/null +++ b/library/cpp/monlib/encode/text/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(monlib-encode-text) +target_link_libraries(monlib-encode-text PUBLIC + contrib-libs-cxxsupp + yutil + cpp-monlib-encode +) +target_sources(monlib-encode-text PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/encode/text/text_encoder.cpp +) diff --git a/library/cpp/monlib/exception/CMakeLists.txt b/library/cpp/monlib/exception/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/exception/CMakeLists.txt +++ b/library/cpp/monlib/exception/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/exception/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/exception/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..94cb28420f --- /dev/null +++ b/library/cpp/monlib/exception/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-monlib-exception) +target_link_libraries(cpp-monlib-exception PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-monlib-exception PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/exception/exception.cpp +) diff --git a/library/cpp/monlib/messagebus/CMakeLists.txt b/library/cpp/monlib/messagebus/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/messagebus/CMakeLists.txt +++ b/library/cpp/monlib/messagebus/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/messagebus/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/messagebus/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..cae48e0a83 --- /dev/null +++ b/library/cpp/monlib/messagebus/CMakeLists.windows-x86_64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-monlib-messagebus) +target_link_libraries(cpp-monlib-messagebus PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-messagebus + cpp-messagebus-www + cpp-monlib-dynamic_counters +) +target_sources(cpp-monlib-messagebus PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/messagebus/mon_messagebus.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/messagebus/mon_service_messagebus.cpp +) diff --git a/library/cpp/monlib/metrics/CMakeLists.txt b/library/cpp/monlib/metrics/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/metrics/CMakeLists.txt +++ b/library/cpp/monlib/metrics/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/metrics/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/metrics/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..052ed067e1 --- /dev/null +++ b/library/cpp/monlib/metrics/CMakeLists.windows-x86_64.txt @@ -0,0 +1,44 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +add_library(cpp-monlib-metrics) +target_link_libraries(cpp-monlib-metrics PUBLIC + contrib-libs-cxxsupp + yutil + tools-enum_parser-enum_serialization_runtime +) +target_sources(cpp-monlib-metrics PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/ewma.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/fake.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_explicit.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_exponential.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_collector_linear.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/histogram_snapshot.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/log_histogram_snapshot.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/labels.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_registry.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_consumer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_type.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/summary_collector.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/summary_snapshot.cpp +) +generate_enum_serilization(cpp-monlib-metrics + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/metrics/metric_value_type.h + GEN_HEADER + ${CMAKE_BINARY_DIR}/library/cpp/monlib/metrics/metric_value_type.h_serialized.h + INCLUDE_HEADERS + library/cpp/monlib/metrics/metric_value_type.h +) diff --git a/library/cpp/monlib/service/CMakeLists.txt b/library/cpp/monlib/service/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/service/CMakeLists.txt +++ b/library/cpp/monlib/service/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/service/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/service/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..48ffa45b49 --- /dev/null +++ b/library/cpp/monlib/service/CMakeLists.windows-x86_64.txt @@ -0,0 +1,34 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(pages) + +add_library(cpp-monlib-service) +target_link_libraries(cpp-monlib-service PUBLIC + contrib-libs-cxxsupp + yutil + cpp-string_utils-base64 + contrib-libs-protobuf + cpp-coroutine-engine + cpp-coroutine-listener + cpp-http-fetch + cpp-http-server + cpp-http-io + library-cpp-logger + cpp-malloc-api + library-cpp-svnversion + library-cpp-uri + library-cpp-cgiparam +) +target_sources(cpp-monlib-service PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/monservice.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/mon_service_http_request.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/service.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/format.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/auth.cpp +) diff --git a/library/cpp/monlib/service/pages/CMakeLists.txt b/library/cpp/monlib/service/pages/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/service/pages/CMakeLists.txt +++ b/library/cpp/monlib/service/pages/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/service/pages/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/service/pages/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..062d269d30 --- /dev/null +++ b/library/cpp/monlib/service/pages/CMakeLists.windows-x86_64.txt @@ -0,0 +1,35 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(tablesorter) + +add_library(monlib-service-pages) +target_link_libraries(monlib-service-pages PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-build_info + cpp-malloc-api + library-cpp-svnversion + library-cpp-resource + cpp-monlib-service + monlib-encode-json + monlib-encode-text + monlib-encode-spack + monlib-encode-prometheus +) +target_sources(monlib-service-pages PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/diag_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/html_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/index_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/pre_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/resource_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/templates.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/version_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/registry_mon_page.cpp +) diff --git a/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt +++ b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/monlib/service/pages/tablesorter/CMakeLists.windows-x86_64.txt b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..516c919f8a --- /dev/null +++ b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.windows-x86_64.txt @@ -0,0 +1,42 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_rescompiler_bin + TOOL_rescompiler_dependency + tools/rescompiler/bin + rescompiler +) + +add_library(service-pages-tablesorter INTERFACE) +target_link_libraries(service-pages-tablesorter INTERFACE + contrib-libs-cxxsupp + yutil + library-cpp-resource + cpp-monlib-dynamic_counters +) + +add_global_library_for(service-pages-tablesorter.global service-pages-tablesorter) +target_link_libraries(service-pages-tablesorter.global PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-resource + cpp-monlib-dynamic_counters +) +target_sources(service-pages-tablesorter.global PRIVATE + ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp +) +resources(service-pages-tablesorter.global + ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp + INPUTS + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.css + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.js + KEYS + jquery.tablesorter.css + jquery.tablesorter.js +) diff --git a/library/cpp/on_disk/chunks/CMakeLists.txt b/library/cpp/on_disk/chunks/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/on_disk/chunks/CMakeLists.txt +++ b/library/cpp/on_disk/chunks/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/on_disk/chunks/CMakeLists.windows-x86_64.txt b/library/cpp/on_disk/chunks/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ca761a26c8 --- /dev/null +++ b/library/cpp/on_disk/chunks/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-on_disk-chunks) +target_link_libraries(cpp-on_disk-chunks PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-on_disk-chunks PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/chunked_helpers.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/reader.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/on_disk/chunks/writer.cpp +) diff --git a/library/cpp/openssl/holders/CMakeLists.txt b/library/cpp/openssl/holders/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/openssl/holders/CMakeLists.txt +++ b/library/cpp/openssl/holders/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/openssl/holders/CMakeLists.windows-x86_64.txt b/library/cpp/openssl/holders/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..f0e455f3aa --- /dev/null +++ b/library/cpp/openssl/holders/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(OpenSSL REQUIRED) + +add_library(cpp-openssl-holders) +target_link_libraries(cpp-openssl-holders PUBLIC + contrib-libs-cxxsupp + yutil + OpenSSL::OpenSSL +) +target_sources(cpp-openssl-holders PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/bio.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/openssl/holders/x509_vfy.cpp +) diff --git a/library/cpp/openssl/init/CMakeLists.txt b/library/cpp/openssl/init/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/openssl/init/CMakeLists.txt +++ b/library/cpp/openssl/init/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/openssl/init/CMakeLists.windows-x86_64.txt b/library/cpp/openssl/init/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..1ba4d2cebf --- /dev/null +++ b/library/cpp/openssl/init/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(OpenSSL REQUIRED) + +add_library(cpp-openssl-init) +target_link_libraries(cpp-openssl-init PUBLIC + contrib-libs-cxxsupp + yutil + OpenSSL::OpenSSL +) +target_sources(cpp-openssl-init PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/openssl/init/init.cpp +) diff --git a/library/cpp/openssl/io/CMakeLists.txt b/library/cpp/openssl/io/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/openssl/io/CMakeLists.txt +++ b/library/cpp/openssl/io/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/openssl/io/CMakeLists.windows-x86_64.txt b/library/cpp/openssl/io/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..51c040ccd3 --- /dev/null +++ b/library/cpp/openssl/io/CMakeLists.windows-x86_64.txt @@ -0,0 +1,22 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(OpenSSL REQUIRED) + +add_library(cpp-openssl-io) +target_link_libraries(cpp-openssl-io PUBLIC + contrib-libs-cxxsupp + yutil + certs + OpenSSL::OpenSSL + cpp-openssl-init + cpp-openssl-method +) +target_sources(cpp-openssl-io PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/openssl/io/stream.cpp +) diff --git a/library/cpp/openssl/method/CMakeLists.txt b/library/cpp/openssl/method/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/openssl/method/CMakeLists.txt +++ b/library/cpp/openssl/method/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/openssl/method/CMakeLists.windows-x86_64.txt b/library/cpp/openssl/method/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..fcca44537e --- /dev/null +++ b/library/cpp/openssl/method/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(OpenSSL REQUIRED) + +add_library(cpp-openssl-method) +target_link_libraries(cpp-openssl-method PUBLIC + contrib-libs-cxxsupp + yutil + OpenSSL::OpenSSL + cpp-openssl-holders +) +target_sources(cpp-openssl-method PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/openssl/method/io.cpp +) diff --git a/library/cpp/packedtypes/CMakeLists.txt b/library/cpp/packedtypes/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/packedtypes/CMakeLists.txt +++ b/library/cpp/packedtypes/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/packedtypes/CMakeLists.windows-x86_64.txt b/library/cpp/packedtypes/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..9e3e6c0b53 --- /dev/null +++ b/library/cpp/packedtypes/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-packedtypes) +target_link_libraries(library-cpp-packedtypes PUBLIC + contrib-libs-cxxsupp + yutil + cpp-streams-zc_memory_input +) +target_sources(library-cpp-packedtypes PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/packedtypes/longs.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/packedtypes/packedfloat.cpp +) diff --git a/library/cpp/packers/CMakeLists.txt b/library/cpp/packers/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/packers/CMakeLists.txt +++ b/library/cpp/packers/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/packers/CMakeLists.windows-x86_64.txt b/library/cpp/packers/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..59f8cfcaf5 --- /dev/null +++ b/library/cpp/packers/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-packers) +target_link_libraries(library-cpp-packers PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-packers PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/packers/packers.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/packers/proto_packer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/packers/region_packer.cpp +) diff --git a/library/cpp/pop_count/CMakeLists.txt b/library/cpp/pop_count/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/pop_count/CMakeLists.txt +++ b/library/cpp/pop_count/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/pop_count/CMakeLists.windows-x86_64.txt b/library/cpp/pop_count/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..30961489be --- /dev/null +++ b/library/cpp/pop_count/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-pop_count) +target_link_libraries(library-cpp-pop_count PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-pop_count PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/pop_count/popcount.cpp +) diff --git a/library/cpp/presort/CMakeLists.txt b/library/cpp/presort/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/presort/CMakeLists.txt +++ b/library/cpp/presort/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/presort/CMakeLists.windows-x86_64.txt b/library/cpp/presort/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..5f8c72b28c --- /dev/null +++ b/library/cpp/presort/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-presort) +target_link_libraries(library-cpp-presort PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-presort PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/presort/presort.cpp +) diff --git a/library/cpp/protobuf/interop/CMakeLists.txt b/library/cpp/protobuf/interop/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/protobuf/interop/CMakeLists.txt +++ b/library/cpp/protobuf/interop/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/protobuf/interop/CMakeLists.windows-x86_64.txt b/library/cpp/protobuf/interop/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..61799c97ff --- /dev/null +++ b/library/cpp/protobuf/interop/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-protobuf-interop) +target_link_libraries(cpp-protobuf-interop PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf +) +target_sources(cpp-protobuf-interop PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/interop/cast.cpp +) diff --git a/library/cpp/protobuf/json/CMakeLists.txt b/library/cpp/protobuf/json/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/protobuf/json/CMakeLists.txt +++ b/library/cpp/protobuf/json/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/protobuf/json/CMakeLists.windows-x86_64.txt b/library/cpp/protobuf/json/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..5eb786fb5b --- /dev/null +++ b/library/cpp/protobuf/json/CMakeLists.windows-x86_64.txt @@ -0,0 +1,29 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-protobuf-json) +target_link_libraries(cpp-protobuf-json PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf + library-cpp-json + cpp-protobuf-util + cpp-string_utils-relaxed_escaper +) +target_sources(cpp-protobuf-json PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json2proto.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_output_create.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_value_output.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/json_writer_output.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/name_generator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/proto2json.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/proto2json_printer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/string_transform.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/json/util.cpp +) diff --git a/library/cpp/protobuf/util/CMakeLists.txt b/library/cpp/protobuf/util/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/protobuf/util/CMakeLists.txt +++ b/library/cpp/protobuf/util/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/protobuf/util/CMakeLists.windows-x86_64.txt b/library/cpp/protobuf/util/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..51b65cd5b9 --- /dev/null +++ b/library/cpp/protobuf/util/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(proto) + +add_library(cpp-protobuf-util) +target_link_libraries(cpp-protobuf-util PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf + library-cpp-binsaver + protobuf-util-proto + cpp-string_utils-base64 +) +target_sources(cpp-protobuf-util PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/is_equal.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/merge.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/path.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/pb_io.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/simple_reflection.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/walk.cpp +) diff --git a/library/cpp/protobuf/util/proto/CMakeLists.txt b/library/cpp/protobuf/util/proto/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/protobuf/util/proto/CMakeLists.txt +++ b/library/cpp/protobuf/util/proto/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/protobuf/util/proto/CMakeLists.windows-x86_64.txt b/library/cpp/protobuf/util/proto/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..7a58b4bfeb --- /dev/null +++ b/library/cpp/protobuf/util/proto/CMakeLists.windows-x86_64.txt @@ -0,0 +1,43 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_library(protobuf-util-proto) +target_link_libraries(protobuf-util-proto PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf +) +target_proto_messages(protobuf-util-proto PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/protobuf/util/proto/merge.proto +) +target_proto_addincls(protobuf-util-proto + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(protobuf-util-proto + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) diff --git a/library/cpp/random_provider/CMakeLists.txt b/library/cpp/random_provider/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/random_provider/CMakeLists.txt +++ b/library/cpp/random_provider/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/random_provider/CMakeLists.windows-x86_64.txt b/library/cpp/random_provider/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ac70e71b91 --- /dev/null +++ b/library/cpp/random_provider/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-random_provider) +target_link_libraries(library-cpp-random_provider PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-random_provider PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/random_provider/random_provider.cpp +) diff --git a/library/cpp/regex/CMakeLists.txt b/library/cpp/regex/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/regex/CMakeLists.txt +++ b/library/cpp/regex/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/regex/CMakeLists.windows-x86_64.txt b/library/cpp/regex/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..6e2a4fabcd --- /dev/null +++ b/library/cpp/regex/CMakeLists.windows-x86_64.txt @@ -0,0 +1,11 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to 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/regex/hyperscan/CMakeLists.txt b/library/cpp/regex/hyperscan/CMakeLists.txt index a603bef54e..bb0d0ecd25 100644 --- a/library/cpp/regex/hyperscan/CMakeLists.txt +++ b/library/cpp/regex/hyperscan/CMakeLists.txt @@ -8,6 +8,8 @@ if (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/regex/hyperscan/CMakeLists.windows-x86_64.txt b/library/cpp/regex/hyperscan/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..47150388a7 --- /dev/null +++ b/library/cpp/regex/hyperscan/CMakeLists.windows-x86_64.txt @@ -0,0 +1,22 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-regex-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 index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/regex/pcre/CMakeLists.txt +++ b/library/cpp/regex/pcre/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/regex/pcre/CMakeLists.windows-x86_64.txt b/library/cpp/regex/pcre/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..8e01e97c1d --- /dev/null +++ b/library/cpp/regex/pcre/CMakeLists.windows-x86_64.txt @@ -0,0 +1,22 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-regex-pcre) +target_link_libraries(cpp-regex-pcre PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-pcre + libs-pcre-pcre16 + libs-pcre-pcre32 + cpp-containers-stack_array +) +target_sources(cpp-regex-pcre PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/regex/pcre/pcre.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/regex/pcre/regexp.cpp +) diff --git a/library/cpp/regex/pire/CMakeLists.txt b/library/cpp/regex/pire/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/regex/pire/CMakeLists.txt +++ b/library/cpp/regex/pire/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/regex/pire/CMakeLists.windows-x86_64.txt b/library/cpp/regex/pire/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..f1fde4acf6 --- /dev/null +++ b/library/cpp/regex/pire/CMakeLists.windows-x86_64.txt @@ -0,0 +1,42 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-regex-pire) +target_compile_options(cpp-regex-pire PRIVATE + -DPIRE_NO_CONFIG +) +target_include_directories(cpp-regex-pire PUBLIC + ${CMAKE_BINARY_DIR}/library/cpp/regex/pire/__/__/__/__/contrib/libs/pire/pire +) +target_link_libraries(cpp-regex-pire PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-charset +) +target_sources(cpp-regex-pire PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/regex/pire/pcre2pire.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/classes.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/encoding.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/fsm.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/scanner_io.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/easy.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/scanners/null.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/capture.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/count.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/extra/glyphs.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/re_lexer.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/read_unicode.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/regex/pire/extraencodings.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/approx_matching.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/half_final_fsm.cpp +) +target_bison_parser(cpp-regex-pire + PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/pire/pire/re_parser.y +) diff --git a/library/cpp/resource/CMakeLists.txt b/library/cpp/resource/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/resource/CMakeLists.txt +++ b/library/cpp/resource/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/resource/CMakeLists.windows-x86_64.txt b/library/cpp/resource/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..a73bc8800f --- /dev/null +++ b/library/cpp/resource/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-resource) +target_link_libraries(library-cpp-resource PUBLIC + contrib-libs-cxxsupp + yutil + cpp-blockcodecs-core + blockcodecs-codecs-zstd +) +target_sources(library-cpp-resource PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/resource/registry.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/resource/resource.cpp +) diff --git a/library/cpp/retry/CMakeLists.txt b/library/cpp/retry/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/retry/CMakeLists.txt +++ b/library/cpp/retry/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/retry/CMakeLists.windows-x86_64.txt b/library/cpp/retry/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..5cfb972bb5 --- /dev/null +++ b/library/cpp/retry/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(protos) + +add_library(library-cpp-retry) +target_link_libraries(library-cpp-retry PUBLIC + contrib-libs-cxxsupp + yutil + cpp-retry-protos +) +target_sources(library-cpp-retry PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/retry/retry.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/retry/utils.cpp +) diff --git a/library/cpp/retry/protos/CMakeLists.txt b/library/cpp/retry/protos/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/retry/protos/CMakeLists.txt +++ b/library/cpp/retry/protos/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/retry/protos/CMakeLists.windows-x86_64.txt b/library/cpp/retry/protos/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ba41965df2 --- /dev/null +++ b/library/cpp/retry/protos/CMakeLists.windows-x86_64.txt @@ -0,0 +1,43 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_library(cpp-retry-protos) +target_link_libraries(cpp-retry-protos PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf +) +target_proto_messages(cpp-retry-protos PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/retry/protos/retry_options.proto +) +target_proto_addincls(cpp-retry-protos + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(cpp-retry-protos + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) diff --git a/library/cpp/scheme/CMakeLists.txt b/library/cpp/scheme/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/scheme/CMakeLists.txt +++ b/library/cpp/scheme/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/scheme/CMakeLists.windows-x86_64.txt b/library/cpp/scheme/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..a08385558d --- /dev/null +++ b/library/cpp/scheme/CMakeLists.windows-x86_64.txt @@ -0,0 +1,41 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +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 + -CT0 +) diff --git a/library/cpp/sighandler/CMakeLists.txt b/library/cpp/sighandler/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/sighandler/CMakeLists.txt +++ b/library/cpp/sighandler/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/sighandler/CMakeLists.windows-x86_64.txt b/library/cpp/sighandler/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3f330b9bb5 --- /dev/null +++ b/library/cpp/sighandler/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-sighandler) +target_link_libraries(library-cpp-sighandler PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-atomic +) +target_sources(library-cpp-sighandler PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/sighandler/async_signals_handler.cpp +) diff --git a/library/cpp/sliding_window/CMakeLists.txt b/library/cpp/sliding_window/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/sliding_window/CMakeLists.txt +++ b/library/cpp/sliding_window/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/sliding_window/CMakeLists.windows-x86_64.txt b/library/cpp/sliding_window/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..15be6f0095 --- /dev/null +++ b/library/cpp/sliding_window/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-sliding_window) +target_link_libraries(library-cpp-sliding_window PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-sliding_window PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/sliding_window/sliding_window.cpp +) diff --git a/library/cpp/sse/CMakeLists.txt b/library/cpp/sse/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/sse/CMakeLists.txt +++ b/library/cpp/sse/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/sse/CMakeLists.windows-x86_64.txt b/library/cpp/sse/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..dbd80b1e0c --- /dev/null +++ b/library/cpp/sse/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-sse) +target_link_libraries(library-cpp-sse PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-sse PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/sse/sse.cpp +) diff --git a/library/cpp/streams/brotli/CMakeLists.txt b/library/cpp/streams/brotli/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/streams/brotli/CMakeLists.txt +++ b/library/cpp/streams/brotli/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/streams/brotli/CMakeLists.windows-x86_64.txt b/library/cpp/streams/brotli/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..7102715952 --- /dev/null +++ b/library/cpp/streams/brotli/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-streams-brotli) +target_link_libraries(cpp-streams-brotli PUBLIC + contrib-libs-cxxsupp + yutil + libs-brotli-enc + libs-brotli-dec +) +target_sources(cpp-streams-brotli PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/streams/brotli/brotli.cpp +) diff --git a/library/cpp/streams/bzip2/CMakeLists.txt b/library/cpp/streams/bzip2/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/streams/bzip2/CMakeLists.txt +++ b/library/cpp/streams/bzip2/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/streams/bzip2/CMakeLists.windows-x86_64.txt b/library/cpp/streams/bzip2/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..5afa320647 --- /dev/null +++ b/library/cpp/streams/bzip2/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-streams-bzip2) +target_link_libraries(cpp-streams-bzip2 PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-libbz2 +) +target_sources(cpp-streams-bzip2 PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/streams/bzip2/bzip2.cpp +) diff --git a/library/cpp/streams/lzma/CMakeLists.txt b/library/cpp/streams/lzma/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/streams/lzma/CMakeLists.txt +++ b/library/cpp/streams/lzma/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/streams/lzma/CMakeLists.windows-x86_64.txt b/library/cpp/streams/lzma/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3e5c652aee --- /dev/null +++ b/library/cpp/streams/lzma/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-streams-lzma) +target_link_libraries(cpp-streams-lzma PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-lzmasdk +) +target_sources(cpp-streams-lzma PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/streams/lzma/lzma.cpp +) diff --git a/library/cpp/streams/zc_memory_input/CMakeLists.txt b/library/cpp/streams/zc_memory_input/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/streams/zc_memory_input/CMakeLists.txt +++ b/library/cpp/streams/zc_memory_input/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/streams/zc_memory_input/CMakeLists.windows-x86_64.txt b/library/cpp/streams/zc_memory_input/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..e0ddfec96c --- /dev/null +++ b/library/cpp/streams/zc_memory_input/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-streams-zc_memory_input) +target_link_libraries(cpp-streams-zc_memory_input PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-streams-zc_memory_input PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/streams/zc_memory_input/zc_memory_input.cpp +) diff --git a/library/cpp/streams/zstd/CMakeLists.txt b/library/cpp/streams/zstd/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/streams/zstd/CMakeLists.txt +++ b/library/cpp/streams/zstd/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/streams/zstd/CMakeLists.windows-x86_64.txt b/library/cpp/streams/zstd/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..9a3521cd9b --- /dev/null +++ b/library/cpp/streams/zstd/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-streams-zstd) +target_link_libraries(cpp-streams-zstd PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-zstd +) +target_sources(cpp-streams-zstd PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/streams/zstd/zstd.cpp +) diff --git a/library/cpp/string_utils/base64/CMakeLists.txt b/library/cpp/string_utils/base64/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/string_utils/base64/CMakeLists.txt +++ b/library/cpp/string_utils/base64/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/string_utils/base64/CMakeLists.windows-x86_64.txt b/library/cpp/string_utils/base64/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..d4f74e8dc0 --- /dev/null +++ b/library/cpp/string_utils/base64/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-string_utils-base64) +target_link_libraries(cpp-string_utils-base64 PUBLIC + contrib-libs-cxxsupp + yutil + libs-base64-avx2 + libs-base64-ssse3 + libs-base64-neon32 + libs-base64-neon64 + libs-base64-plain32 + libs-base64-plain64 +) +target_sources(cpp-string_utils-base64 PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/base64/base64.cpp +) diff --git a/library/cpp/string_utils/csv/CMakeLists.txt b/library/cpp/string_utils/csv/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/string_utils/csv/CMakeLists.txt +++ b/library/cpp/string_utils/csv/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/string_utils/csv/CMakeLists.windows-x86_64.txt b/library/cpp/string_utils/csv/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..d50b571fde --- /dev/null +++ b/library/cpp/string_utils/csv/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-string_utils-csv) +target_link_libraries(cpp-string_utils-csv PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-csv PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/csv/csv.cpp +) diff --git a/library/cpp/string_utils/indent_text/CMakeLists.txt b/library/cpp/string_utils/indent_text/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/string_utils/indent_text/CMakeLists.txt +++ b/library/cpp/string_utils/indent_text/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/string_utils/indent_text/CMakeLists.windows-x86_64.txt b/library/cpp/string_utils/indent_text/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..6eca107f7f --- /dev/null +++ b/library/cpp/string_utils/indent_text/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-string_utils-indent_text) +target_link_libraries(cpp-string_utils-indent_text PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-indent_text PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/indent_text/indent_text.cpp +) diff --git a/library/cpp/string_utils/levenshtein_diff/CMakeLists.txt b/library/cpp/string_utils/levenshtein_diff/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/string_utils/levenshtein_diff/CMakeLists.txt +++ b/library/cpp/string_utils/levenshtein_diff/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/string_utils/levenshtein_diff/CMakeLists.windows-x86_64.txt b/library/cpp/string_utils/levenshtein_diff/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..0d86ce0e67 --- /dev/null +++ b/library/cpp/string_utils/levenshtein_diff/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-string_utils-levenshtein_diff) +target_link_libraries(cpp-string_utils-levenshtein_diff PUBLIC + contrib-libs-cxxsupp + yutil + util-draft +) +target_sources(cpp-string_utils-levenshtein_diff PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/levenshtein_diff/levenshtein_diff.cpp +) diff --git a/library/cpp/string_utils/parse_size/CMakeLists.txt b/library/cpp/string_utils/parse_size/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/string_utils/parse_size/CMakeLists.txt +++ b/library/cpp/string_utils/parse_size/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/string_utils/parse_size/CMakeLists.windows-x86_64.txt b/library/cpp/string_utils/parse_size/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..5cd758efec --- /dev/null +++ b/library/cpp/string_utils/parse_size/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-string_utils-parse_size) +target_link_libraries(cpp-string_utils-parse_size PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-parse_size PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/parse_size/parse_size.cpp +) diff --git a/library/cpp/string_utils/quote/CMakeLists.txt b/library/cpp/string_utils/quote/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/string_utils/quote/CMakeLists.txt +++ b/library/cpp/string_utils/quote/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/string_utils/quote/CMakeLists.windows-x86_64.txt b/library/cpp/string_utils/quote/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..e2bedf1e18 --- /dev/null +++ b/library/cpp/string_utils/quote/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-string_utils-quote) +target_link_libraries(cpp-string_utils-quote PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-quote PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/quote/quote.cpp +) diff --git a/library/cpp/string_utils/relaxed_escaper/CMakeLists.txt b/library/cpp/string_utils/relaxed_escaper/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/string_utils/relaxed_escaper/CMakeLists.txt +++ b/library/cpp/string_utils/relaxed_escaper/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/string_utils/relaxed_escaper/CMakeLists.windows-x86_64.txt b/library/cpp/string_utils/relaxed_escaper/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..14901bec18 --- /dev/null +++ b/library/cpp/string_utils/relaxed_escaper/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-string_utils-relaxed_escaper) +target_link_libraries(cpp-string_utils-relaxed_escaper PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-relaxed_escaper PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/relaxed_escaper/relaxed_escaper.cpp +) diff --git a/library/cpp/string_utils/scan/CMakeLists.txt b/library/cpp/string_utils/scan/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/string_utils/scan/CMakeLists.txt +++ b/library/cpp/string_utils/scan/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/string_utils/scan/CMakeLists.windows-x86_64.txt b/library/cpp/string_utils/scan/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3d7752c1ff --- /dev/null +++ b/library/cpp/string_utils/scan/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-string_utils-scan) +target_link_libraries(cpp-string_utils-scan PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-scan PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/scan/scan.cpp +) diff --git a/library/cpp/string_utils/url/CMakeLists.txt b/library/cpp/string_utils/url/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/string_utils/url/CMakeLists.txt +++ b/library/cpp/string_utils/url/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/string_utils/url/CMakeLists.windows-x86_64.txt b/library/cpp/string_utils/url/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..672139e643 --- /dev/null +++ b/library/cpp/string_utils/url/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-string_utils-url) +target_link_libraries(cpp-string_utils-url PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-url PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/url/url.cpp +) diff --git a/library/cpp/string_utils/ztstrbuf/CMakeLists.txt b/library/cpp/string_utils/ztstrbuf/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/string_utils/ztstrbuf/CMakeLists.txt +++ b/library/cpp/string_utils/ztstrbuf/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/string_utils/ztstrbuf/CMakeLists.windows-x86_64.txt b/library/cpp/string_utils/ztstrbuf/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..b686760229 --- /dev/null +++ b/library/cpp/string_utils/ztstrbuf/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-string_utils-ztstrbuf) +target_link_libraries(cpp-string_utils-ztstrbuf PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-string_utils-ztstrbuf PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/string_utils/ztstrbuf/ztstrbuf.cpp +) diff --git a/library/cpp/svnversion/CMakeLists.txt b/library/cpp/svnversion/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/svnversion/CMakeLists.txt +++ b/library/cpp/svnversion/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/svnversion/CMakeLists.windows-x86_64.txt b/library/cpp/svnversion/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..f767e929b8 --- /dev/null +++ b/library/cpp/svnversion/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-svnversion) +target_link_libraries(library-cpp-svnversion PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-svnversion PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/svnversion/svnversion.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/svnversion/svn_interface.c +) diff --git a/library/cpp/tdigest/CMakeLists.txt b/library/cpp/tdigest/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/tdigest/CMakeLists.txt +++ b/library/cpp/tdigest/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/tdigest/CMakeLists.windows-x86_64.txt b/library/cpp/tdigest/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..9dd7437db0 --- /dev/null +++ b/library/cpp/tdigest/CMakeLists.windows-x86_64.txt @@ -0,0 +1,46 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) + +add_library(library-cpp-tdigest) +target_link_libraries(library-cpp-tdigest PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf +) +target_proto_messages(library-cpp-tdigest PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/tdigest/tdigest.proto +) +target_sources(library-cpp-tdigest PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/tdigest/tdigest.cpp +) +target_proto_addincls(library-cpp-tdigest + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(library-cpp-tdigest + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) diff --git a/library/cpp/terminate_handler/CMakeLists.txt b/library/cpp/terminate_handler/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/terminate_handler/CMakeLists.txt +++ b/library/cpp/terminate_handler/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/terminate_handler/CMakeLists.windows-x86_64.txt b/library/cpp/terminate_handler/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..050a5323bd --- /dev/null +++ b/library/cpp/terminate_handler/CMakeLists.windows-x86_64.txt @@ -0,0 +1,26 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-terminate_handler) +target_link_libraries(library-cpp-terminate_handler PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-terminate_handler PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/segv_handler.cpp +) + +add_global_library_for(library-cpp-terminate_handler.global library-cpp-terminate_handler) +target_link_libraries(library-cpp-terminate_handler.global PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-terminate_handler.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/terminate_handler/terminate_handler.cpp +) diff --git a/library/cpp/testing/benchmark/CMakeLists.txt b/library/cpp/testing/benchmark/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/testing/benchmark/CMakeLists.txt +++ b/library/cpp/testing/benchmark/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/testing/benchmark/CMakeLists.windows-x86_64.txt b/library/cpp/testing/benchmark/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c68241bc9e --- /dev/null +++ b/library/cpp/testing/benchmark/CMakeLists.windows-x86_64.txt @@ -0,0 +1,25 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(main) + +add_library(cpp-testing-benchmark) +target_link_libraries(cpp-testing-benchmark PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-re2 + library-cpp-colorizer + cpp-getopt-small + library-cpp-json + library-cpp-linear_regression + cpp-threading-poor_man_openmp +) +target_sources(cpp-testing-benchmark PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/bench.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/dummy.cpp +) diff --git a/library/cpp/testing/benchmark/main/CMakeLists.txt b/library/cpp/testing/benchmark/main/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/testing/benchmark/main/CMakeLists.txt +++ b/library/cpp/testing/benchmark/main/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/testing/benchmark/main/CMakeLists.windows-x86_64.txt b/library/cpp/testing/benchmark/main/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..15cbe3d5ac --- /dev/null +++ b/library/cpp/testing/benchmark/main/CMakeLists.windows-x86_64.txt @@ -0,0 +1,25 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(testing-benchmark-main INTERFACE) +target_link_libraries(testing-benchmark-main INTERFACE + contrib-libs-cxxsupp + yutil + cpp-testing-benchmark +) + +add_global_library_for(testing-benchmark-main.global testing-benchmark-main) +target_link_libraries(testing-benchmark-main.global PUBLIC + contrib-libs-cxxsupp + yutil + cpp-testing-benchmark +) +target_sources(testing-benchmark-main.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/benchmark/main/main.cpp +) diff --git a/library/cpp/testing/common/CMakeLists.txt b/library/cpp/testing/common/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/testing/common/CMakeLists.txt +++ b/library/cpp/testing/common/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/testing/common/CMakeLists.windows-x86_64.txt b/library/cpp/testing/common/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c795d4ebeb --- /dev/null +++ b/library/cpp/testing/common/CMakeLists.windows-x86_64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-testing-common) +target_link_libraries(cpp-testing-common PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-json +) +target_sources(cpp-testing-common PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/env.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/network.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/probe.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/common/scope.cpp +) diff --git a/library/cpp/testing/gmock_in_unittest/CMakeLists.txt b/library/cpp/testing/gmock_in_unittest/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/testing/gmock_in_unittest/CMakeLists.txt +++ b/library/cpp/testing/gmock_in_unittest/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/testing/gmock_in_unittest/CMakeLists.windows-x86_64.txt b/library/cpp/testing/gmock_in_unittest/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..8a20efaed0 --- /dev/null +++ b/library/cpp/testing/gmock_in_unittest/CMakeLists.windows-x86_64.txt @@ -0,0 +1,34 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-testing-gmock_in_unittest) +target_link_libraries(cpp-testing-gmock_in_unittest PUBLIC + contrib-libs-cxxsupp + yutil + restricted-googletest-googlemock + restricted-googletest-googletest + cpp-testing-gtest_extensions + cpp-testing-unittest +) +target_sources(cpp-testing-gmock_in_unittest PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gmock_in_unittest/events.cpp +) + +add_global_library_for(cpp-testing-gmock_in_unittest.global cpp-testing-gmock_in_unittest) +target_link_libraries(cpp-testing-gmock_in_unittest.global PUBLIC + contrib-libs-cxxsupp + yutil + restricted-googletest-googlemock + restricted-googletest-googletest + cpp-testing-gtest_extensions + cpp-testing-unittest +) +target_sources(cpp-testing-gmock_in_unittest.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gmock_in_unittest/registration.cpp +) diff --git a/library/cpp/testing/gtest/CMakeLists.txt b/library/cpp/testing/gtest/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/testing/gtest/CMakeLists.txt +++ b/library/cpp/testing/gtest/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/testing/gtest/CMakeLists.windows-x86_64.txt b/library/cpp/testing/gtest/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..41bc7e20f9 --- /dev/null +++ b/library/cpp/testing/gtest/CMakeLists.windows-x86_64.txt @@ -0,0 +1,25 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-testing-gtest) +target_link_libraries(cpp-testing-gtest PUBLIC + contrib-libs-cxxsupp + yutil + restricted-googletest-googlemock + restricted-googletest-googletest + cpp-string_utils-relaxed_escaper + cpp-testing-common + cpp-testing-gtest_extensions + cpp-testing-hook +) +target_sources(cpp-testing-gtest PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/gtest.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/main.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest/matchers.cpp +) diff --git a/library/cpp/testing/gtest_extensions/CMakeLists.txt b/library/cpp/testing/gtest_extensions/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/testing/gtest_extensions/CMakeLists.txt +++ b/library/cpp/testing/gtest_extensions/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/testing/gtest_extensions/CMakeLists.windows-x86_64.txt b/library/cpp/testing/gtest_extensions/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..3557a689eb --- /dev/null +++ b/library/cpp/testing/gtest_extensions/CMakeLists.windows-x86_64.txt @@ -0,0 +1,23 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-testing-gtest_extensions) +target_link_libraries(cpp-testing-gtest_extensions PUBLIC + contrib-libs-cxxsupp + yutil + restricted-googletest-googlemock + restricted-googletest-googletest +) +target_sources(cpp-testing-gtest_extensions PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/assertions.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/gtest_extensions.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/matchers.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/pretty_printers.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_extensions/probe.cpp +) diff --git a/library/cpp/testing/gtest_main/CMakeLists.txt b/library/cpp/testing/gtest_main/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/testing/gtest_main/CMakeLists.txt +++ b/library/cpp/testing/gtest_main/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/testing/gtest_main/CMakeLists.windows-x86_64.txt b/library/cpp/testing/gtest_main/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..1075010e22 --- /dev/null +++ b/library/cpp/testing/gtest_main/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-testing-gtest_main) +target_link_libraries(cpp-testing-gtest_main PUBLIC + contrib-libs-cxxsupp + yutil + cpp-testing-gtest +) +target_sources(cpp-testing-gtest_main PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/gtest_main/main.cpp +) diff --git a/library/cpp/testing/hook/CMakeLists.txt b/library/cpp/testing/hook/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/testing/hook/CMakeLists.txt +++ b/library/cpp/testing/hook/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/testing/hook/CMakeLists.windows-x86_64.txt b/library/cpp/testing/hook/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..14cff14af7 --- /dev/null +++ b/library/cpp/testing/hook/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-testing-hook) +target_link_libraries(cpp-testing-hook PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-testing-hook PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/hook/hook.cpp +) diff --git a/library/cpp/testing/unittest/CMakeLists.txt b/library/cpp/testing/unittest/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/testing/unittest/CMakeLists.txt +++ b/library/cpp/testing/unittest/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/testing/unittest/CMakeLists.windows-x86_64.txt b/library/cpp/testing/unittest/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..64dc3e1a7a --- /dev/null +++ b/library/cpp/testing/unittest/CMakeLists.windows-x86_64.txt @@ -0,0 +1,28 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-testing-unittest) +target_link_libraries(cpp-testing-unittest PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-colorizer + library-cpp-dbg_output + library-cpp-diff + cpp-json-writer + cpp-testing-common + cpp-testing-hook +) +target_sources(cpp-testing-unittest PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/gtest.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/checks.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/plugin.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/registar.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/tests_data.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest/utmain.cpp +) diff --git a/library/cpp/testing/unittest_main/CMakeLists.txt b/library/cpp/testing/unittest_main/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/testing/unittest_main/CMakeLists.txt +++ b/library/cpp/testing/unittest_main/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/testing/unittest_main/CMakeLists.windows-x86_64.txt b/library/cpp/testing/unittest_main/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..47d1aa79f6 --- /dev/null +++ b/library/cpp/testing/unittest_main/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-testing-unittest_main) +target_link_libraries(cpp-testing-unittest_main PUBLIC + contrib-libs-cxxsupp + yutil + cpp-testing-unittest + library-cpp-terminate_handler +) +target_sources(cpp-testing-unittest_main PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/testing/unittest_main/main.cpp +) diff --git a/library/cpp/threading/atomic/CMakeLists.txt b/library/cpp/threading/atomic/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/threading/atomic/CMakeLists.txt +++ b/library/cpp/threading/atomic/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/threading/atomic/CMakeLists.windows-x86_64.txt b/library/cpp/threading/atomic/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..d9f7098b34 --- /dev/null +++ b/library/cpp/threading/atomic/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-threading-atomic) +target_link_libraries(cpp-threading-atomic PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-atomic +) +target_sources(cpp-threading-atomic PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/threading/atomic/bool.cpp +) diff --git a/library/cpp/threading/chunk_queue/CMakeLists.txt b/library/cpp/threading/chunk_queue/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/threading/chunk_queue/CMakeLists.txt +++ b/library/cpp/threading/chunk_queue/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/threading/chunk_queue/CMakeLists.windows-x86_64.txt b/library/cpp/threading/chunk_queue/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..454bf560f9 --- /dev/null +++ b/library/cpp/threading/chunk_queue/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-threading-chunk_queue) +target_link_libraries(cpp-threading-chunk_queue PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-atomic +) +target_sources(cpp-threading-chunk_queue PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/threading/chunk_queue/queue.cpp +) diff --git a/library/cpp/threading/equeue/CMakeLists.txt b/library/cpp/threading/equeue/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/threading/equeue/CMakeLists.txt +++ b/library/cpp/threading/equeue/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/threading/equeue/CMakeLists.windows-x86_64.txt b/library/cpp/threading/equeue/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..902b6d7a9a --- /dev/null +++ b/library/cpp/threading/equeue/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-threading-equeue) +target_link_libraries(cpp-threading-equeue PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-atomic +) +target_sources(cpp-threading-equeue PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/threading/equeue/equeue.cpp +) diff --git a/library/cpp/threading/future/CMakeLists.txt b/library/cpp/threading/future/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/threading/future/CMakeLists.txt +++ b/library/cpp/threading/future/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/threading/future/CMakeLists.windows-x86_64.txt b/library/cpp/threading/future/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..66d221dbbb --- /dev/null +++ b/library/cpp/threading/future/CMakeLists.windows-x86_64.txt @@ -0,0 +1,25 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-threading-future) +target_link_libraries(cpp-threading-future PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-threading-future PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/async_semaphore.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/async.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/core/future.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/core/fwd.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/fwd.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/fwd.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait_group.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/threading/future/wait/wait_policy.cpp +) diff --git a/library/cpp/threading/light_rw_lock/CMakeLists.txt b/library/cpp/threading/light_rw_lock/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/threading/light_rw_lock/CMakeLists.txt +++ b/library/cpp/threading/light_rw_lock/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/threading/light_rw_lock/CMakeLists.windows-x86_64.txt b/library/cpp/threading/light_rw_lock/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..934c52018e --- /dev/null +++ b/library/cpp/threading/light_rw_lock/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-threading-light_rw_lock) +target_link_libraries(cpp-threading-light_rw_lock PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-threading-light_rw_lock PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/threading/light_rw_lock/lightrwlock.cpp +) diff --git a/library/cpp/threading/local_executor/CMakeLists.txt b/library/cpp/threading/local_executor/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/threading/local_executor/CMakeLists.txt +++ b/library/cpp/threading/local_executor/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/threading/local_executor/CMakeLists.windows-x86_64.txt b/library/cpp/threading/local_executor/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..a88a439f24 --- /dev/null +++ b/library/cpp/threading/local_executor/CMakeLists.windows-x86_64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-threading-local_executor) +target_link_libraries(cpp-threading-local_executor PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-tbb + cpp-threading-future + cpp-deprecated-atomic +) +target_sources(cpp-threading-local_executor PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/threading/local_executor/local_executor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/threading/local_executor/tbb_local_executor.cpp +) diff --git a/library/cpp/threading/poor_man_openmp/CMakeLists.txt b/library/cpp/threading/poor_man_openmp/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/threading/poor_man_openmp/CMakeLists.txt +++ b/library/cpp/threading/poor_man_openmp/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/threading/poor_man_openmp/CMakeLists.windows-x86_64.txt b/library/cpp/threading/poor_man_openmp/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..116045cc83 --- /dev/null +++ b/library/cpp/threading/poor_man_openmp/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-threading-poor_man_openmp) +target_link_libraries(cpp-threading-poor_man_openmp PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-atomic +) +target_sources(cpp-threading-poor_man_openmp PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/threading/poor_man_openmp/thread_helper.cpp +) diff --git a/library/cpp/threading/queue/CMakeLists.txt b/library/cpp/threading/queue/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/threading/queue/CMakeLists.txt +++ b/library/cpp/threading/queue/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/threading/queue/CMakeLists.windows-x86_64.txt b/library/cpp/threading/queue/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ff0797688e --- /dev/null +++ b/library/cpp/threading/queue/CMakeLists.windows-x86_64.txt @@ -0,0 +1,22 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-threading-queue) +target_link_libraries(cpp-threading-queue PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-atomic +) +target_sources(cpp-threading-queue PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpmc_unordered_ring.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_htswap.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_intrusive_unordered.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_read_as_filled.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/threading/queue/mpsc_vinfarr_obstructive.cpp +) diff --git a/library/cpp/threading/skip_list/CMakeLists.txt b/library/cpp/threading/skip_list/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/threading/skip_list/CMakeLists.txt +++ b/library/cpp/threading/skip_list/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/threading/skip_list/CMakeLists.windows-x86_64.txt b/library/cpp/threading/skip_list/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..e364879e72 --- /dev/null +++ b/library/cpp/threading/skip_list/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-threading-skip_list) +target_link_libraries(cpp-threading-skip_list PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-atomic +) +target_sources(cpp-threading-skip_list PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/threading/skip_list/skiplist.cpp +) diff --git a/library/cpp/threading/task_scheduler/CMakeLists.txt b/library/cpp/threading/task_scheduler/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/threading/task_scheduler/CMakeLists.txt +++ b/library/cpp/threading/task_scheduler/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/threading/task_scheduler/CMakeLists.windows-x86_64.txt b/library/cpp/threading/task_scheduler/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..61c6127690 --- /dev/null +++ b/library/cpp/threading/task_scheduler/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-threading-task_scheduler) +target_link_libraries(cpp-threading-task_scheduler PUBLIC + contrib-libs-cxxsupp + yutil + cpp-deprecated-atomic +) +target_sources(cpp-threading-task_scheduler PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/threading/task_scheduler/task_scheduler.cpp +) diff --git a/library/cpp/time_provider/CMakeLists.txt b/library/cpp/time_provider/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/time_provider/CMakeLists.txt +++ b/library/cpp/time_provider/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/time_provider/CMakeLists.windows-x86_64.txt b/library/cpp/time_provider/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..5106037589 --- /dev/null +++ b/library/cpp/time_provider/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(library-cpp-time_provider) +target_link_libraries(library-cpp-time_provider PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(library-cpp-time_provider PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/monotonic.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/time_provider.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/time_provider/monotonic_provider.cpp +) diff --git a/library/cpp/timezone_conversion/CMakeLists.txt b/library/cpp/timezone_conversion/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/timezone_conversion/CMakeLists.txt +++ b/library/cpp/timezone_conversion/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/timezone_conversion/CMakeLists.windows-x86_64.txt b/library/cpp/timezone_conversion/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..0d060c2699 --- /dev/null +++ b/library/cpp/timezone_conversion/CMakeLists.windows-x86_64.txt @@ -0,0 +1,32 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +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 index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/tld/CMakeLists.txt +++ b/library/cpp/tld/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/tld/CMakeLists.windows-x86_64.txt b/library/cpp/tld/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..cf90e8b74f --- /dev/null +++ b/library/cpp/tld/CMakeLists.windows-x86_64.txt @@ -0,0 +1,33 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(Python3 REQUIRED) + +add_library(library-cpp-tld) +target_link_libraries(library-cpp-tld PUBLIC + contrib-libs-cxxsupp + yutil + cpp-digest-lower_case +) +target_sources(library-cpp-tld PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/tld/tld.cpp + ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc +) +add_custom_command( + OUTPUT + ${CMAKE_BINARY_DIR}/library/cpp/tld/tld.inc + DEPENDS + ${CMAKE_SOURCE_DIR}/library/cpp/tld/tlds-alpha-by-domain.txt + ${CMAKE_SOURCE_DIR}/library/cpp/tld/gen_tld.py + COMMAND + Python3::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 index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/unicode/normalization/CMakeLists.txt +++ b/library/cpp/unicode/normalization/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/unicode/normalization/CMakeLists.windows-x86_64.txt b/library/cpp/unicode/normalization/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..faa65c7f2b --- /dev/null +++ b/library/cpp/unicode/normalization/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-unicode-normalization) +target_link_libraries(cpp-unicode-normalization PUBLIC + contrib-libs-cxxsupp +) +target_sources(cpp-unicode-normalization PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/generated/composition.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/generated/decomposition.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unicode/normalization/normalization.cpp +) diff --git a/library/cpp/unicode/punycode/CMakeLists.txt b/library/cpp/unicode/punycode/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/unicode/punycode/CMakeLists.txt +++ b/library/cpp/unicode/punycode/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/unicode/punycode/CMakeLists.windows-x86_64.txt b/library/cpp/unicode/punycode/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..25c06c3bbc --- /dev/null +++ b/library/cpp/unicode/punycode/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(IDN REQUIRED) + +add_library(cpp-unicode-punycode) +target_link_libraries(cpp-unicode-punycode PUBLIC + contrib-libs-cxxsupp + yutil + IDN::IDN +) +target_sources(cpp-unicode-punycode PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/unicode/punycode/punycode.cpp +) diff --git a/library/cpp/unicode/set/CMakeLists.txt b/library/cpp/unicode/set/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/unicode/set/CMakeLists.txt +++ b/library/cpp/unicode/set/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/unicode/set/CMakeLists.windows-x86_64.txt b/library/cpp/unicode/set/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..6bc5e0fb45 --- /dev/null +++ b/library/cpp/unicode/set/CMakeLists.windows-x86_64.txt @@ -0,0 +1,39 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +add_library(cpp-unicode-set) +target_link_libraries(cpp-unicode-set PUBLIC + contrib-libs-cxxsupp + yutil + tools-enum_parser-enum_serialization_runtime +) +target_sources(cpp-unicode-set PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/set.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/quoted_pair.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_parser.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_token.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/generated/category_ranges.cpp +) +generate_enum_serilization(cpp-unicode-set + ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_token.h + INCLUDE_HEADERS + library/cpp/unicode/set/unicode_set_token.h +) +target_ragel_lexers(cpp-unicode-set + PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/unicode/set/unicode_set_lexer.rl6 + -CT0 +) diff --git a/library/cpp/unified_agent_client/CMakeLists.txt b/library/cpp/unified_agent_client/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/unified_agent_client/CMakeLists.txt +++ b/library/cpp/unified_agent_client/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/unified_agent_client/CMakeLists.windows-x86_64.txt b/library/cpp/unified_agent_client/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c681f29c5b --- /dev/null +++ b/library/cpp/unified_agent_client/CMakeLists.windows-x86_64.txt @@ -0,0 +1,69 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(proto) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +add_library(library-cpp-unified_agent_client) +target_include_directories(library-cpp-unified_agent_client PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/grpc + ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include +) +target_link_libraries(library-cpp-unified_agent_client PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-grpc + cpp-logger-global + cpp-threading-future + cpp-monlib-dynamic_counters + cpp-unified_agent_client-proto + tools-enum_parser-enum_serialization_runtime +) +target_sources(library-cpp-unified_agent_client PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/backend.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/backend_creator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/client_impl.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/counters.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/helpers.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/grpc_io.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/grpc_status_code.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/clock.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/duration_counter.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/logger.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/throttling.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/proto_weighing.cpp +) +generate_enum_serilization(library-cpp-unified_agent_client + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/grpc_io.h + INCLUDE_HEADERS + library/cpp/unified_agent_client/grpc_io.h +) + +add_global_library_for(library-cpp-unified_agent_client.global library-cpp-unified_agent_client) +target_include_directories(library-cpp-unified_agent_client.global PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/grpc + ${CMAKE_SOURCE_DIR}/contrib/libs/grpc/include +) +target_link_libraries(library-cpp-unified_agent_client.global PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-grpc + cpp-logger-global + cpp-threading-future + cpp-monlib-dynamic_counters + cpp-unified_agent_client-proto + tools-enum_parser-enum_serialization_runtime +) +target_sources(library-cpp-unified_agent_client.global PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/registrar.cpp +) diff --git a/library/cpp/unified_agent_client/proto/CMakeLists.txt b/library/cpp/unified_agent_client/proto/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/unified_agent_client/proto/CMakeLists.txt +++ b/library/cpp/unified_agent_client/proto/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/unified_agent_client/proto/CMakeLists.windows-x86_64.txt b/library/cpp/unified_agent_client/proto/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..6f12b2aa5e --- /dev/null +++ b/library/cpp/unified_agent_client/proto/CMakeLists.windows-x86_64.txt @@ -0,0 +1,69 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_grpc_cpp_bin + TOOL_grpc_cpp_dependency + contrib/tools/protoc/plugins/grpc_cpp + grpc_cpp +) +get_built_tool_path( + TOOL_protoc_bin + TOOL_protoc_dependency + contrib/tools/protoc/bin + protoc +) +get_built_tool_path( + TOOL_cpp_styleguide_bin + TOOL_cpp_styleguide_dependency + contrib/tools/protoc/plugins/cpp_styleguide + cpp_styleguide +) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +add_library(cpp-unified_agent_client-proto) +set_property(TARGET cpp-unified_agent_client-proto PROPERTY + PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h +) +target_link_libraries(cpp-unified_agent_client-proto PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-grpc + tools-enum_parser-enum_serialization_runtime + contrib-libs-protobuf +) +target_proto_messages(cpp-unified_agent_client-proto PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/unified_agent_client/proto/unified_agent.proto +) +generate_enum_serilization(cpp-unified_agent_client-proto + ${CMAKE_BINARY_DIR}/library/cpp/unified_agent_client/proto/unified_agent.pb.h + INCLUDE_HEADERS + library/cpp/unified_agent_client/proto/unified_agent.pb.h +) +target_proto_addincls(cpp-unified_agent_client-proto + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(cpp-unified_agent_client-proto + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) +target_proto_plugin(cpp-unified_agent_client-proto + grpc_cpp + grpc_cpp +) diff --git a/library/cpp/uri/CMakeLists.txt b/library/cpp/uri/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/uri/CMakeLists.txt +++ b/library/cpp/uri/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/uri/CMakeLists.windows-x86_64.txt b/library/cpp/uri/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..a9fe2359ba --- /dev/null +++ b/library/cpp/uri/CMakeLists.windows-x86_64.txt @@ -0,0 +1,37 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +find_package(IDN REQUIRED) + +add_library(library-cpp-uri) +target_link_libraries(library-cpp-uri PUBLIC + contrib-libs-cxxsupp + yutil + IDN::IDN + library-cpp-charset +) +target_sources(library-cpp-uri PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/uri/assign.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/uri/common.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/uri/encode.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/uri/location.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/uri/other.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/uri/parse.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/uri/qargs.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/uri/uri.cpp +) +target_ragel_lexers(library-cpp-uri + PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/uri/encodefsm.rl6 + -CT0 +) +target_ragel_lexers(library-cpp-uri + PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/uri/parsefsm.rl6 + -CT0 +) diff --git a/library/cpp/xml/document/CMakeLists.txt b/library/cpp/xml/document/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/xml/document/CMakeLists.txt +++ b/library/cpp/xml/document/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/xml/document/CMakeLists.windows-x86_64.txt b/library/cpp/xml/document/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..78de390e21 --- /dev/null +++ b/library/cpp/xml/document/CMakeLists.windows-x86_64.txt @@ -0,0 +1,22 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-xml-document) +target_link_libraries(cpp-xml-document PUBLIC + contrib-libs-cxxsupp + yutil + cpp-xml-init + contrib-libs-libxml + cpp-string_utils-ztstrbuf +) +target_sources(cpp-xml-document PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-document.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-textreader.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/xml/document/xml-options.cpp +) diff --git a/library/cpp/xml/init/CMakeLists.txt b/library/cpp/xml/init/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/xml/init/CMakeLists.txt +++ b/library/cpp/xml/init/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/xml/init/CMakeLists.windows-x86_64.txt b/library/cpp/xml/init/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..15635507ff --- /dev/null +++ b/library/cpp/xml/init/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-xml-init) +target_link_libraries(cpp-xml-init PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-libxml + library-cpp-charset +) +target_sources(cpp-xml-init PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/xml/init/ptr.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/xml/init/init.cpp +) diff --git a/library/cpp/yaml/as/CMakeLists.txt b/library/cpp/yaml/as/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yaml/as/CMakeLists.txt +++ b/library/cpp/yaml/as/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yaml/as/CMakeLists.windows-x86_64.txt b/library/cpp/yaml/as/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..806700a552 --- /dev/null +++ b/library/cpp/yaml/as/CMakeLists.windows-x86_64.txt @@ -0,0 +1,15 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-yaml-as INTERFACE) +target_link_libraries(cpp-yaml-as INTERFACE + contrib-libs-cxxsupp + yutil + contrib-libs-yaml-cpp +) diff --git a/library/cpp/yaml/fyamlcpp/CMakeLists.txt b/library/cpp/yaml/fyamlcpp/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yaml/fyamlcpp/CMakeLists.txt +++ b/library/cpp/yaml/fyamlcpp/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yaml/fyamlcpp/CMakeLists.windows-x86_64.txt b/library/cpp/yaml/fyamlcpp/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ed89c6d02d --- /dev/null +++ b/library/cpp/yaml/fyamlcpp/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-yaml-fyamlcpp) +target_link_libraries(cpp-yaml-fyamlcpp PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-libfyaml +) +target_sources(cpp-yaml-fyamlcpp PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yaml/fyamlcpp/fyamlcpp.cpp +) diff --git a/library/cpp/yson/CMakeLists.txt b/library/cpp/yson/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yson/CMakeLists.txt +++ b/library/cpp/yson/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yson/CMakeLists.windows-x86_64.txt b/library/cpp/yson/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..d5cda8e6c0 --- /dev/null +++ b/library/cpp/yson/CMakeLists.windows-x86_64.txt @@ -0,0 +1,27 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_subdirectory(json) +add_subdirectory(node) + +add_library(library-cpp-yson) +target_link_libraries(library-cpp-yson PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-misc + cpp-yt-yson +) +target_sources(library-cpp-yson PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yson/consumer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yson/lexer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yson/parser.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yson/token.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yson/tokenizer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yson/varint.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yson/writer.cpp +) diff --git a/library/cpp/yson/json/CMakeLists.txt b/library/cpp/yson/json/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yson/json/CMakeLists.txt +++ b/library/cpp/yson/json/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yson/json/CMakeLists.windows-x86_64.txt b/library/cpp/yson/json/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2b5efc5d4d --- /dev/null +++ b/library/cpp/yson/json/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-yson-json) +target_link_libraries(cpp-yson-json PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-json +) +target_sources(cpp-yson-json PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yson/json/json_writer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yson/json/yson2json_adapter.cpp +) diff --git a/library/cpp/yson/node/CMakeLists.txt b/library/cpp/yson/node/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yson/node/CMakeLists.txt +++ b/library/cpp/yson/node/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yson/node/CMakeLists.windows-x86_64.txt b/library/cpp/yson/node/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..e9334e323e --- /dev/null +++ b/library/cpp/yson/node/CMakeLists.windows-x86_64.txt @@ -0,0 +1,35 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +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 index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yson_pull/CMakeLists.txt +++ b/library/cpp/yson_pull/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yson_pull/CMakeLists.windows-x86_64.txt b/library/cpp/yson_pull/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..a5c4253641 --- /dev/null +++ b/library/cpp/yson_pull/CMakeLists.windows-x86_64.txt @@ -0,0 +1,48 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +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 index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yt/assert/CMakeLists.txt +++ b/library/cpp/yt/assert/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yt/assert/CMakeLists.windows-x86_64.txt b/library/cpp/yt/assert/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..59250edce0 --- /dev/null +++ b/library/cpp/yt/assert/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-yt-assert) +target_link_libraries(cpp-yt-assert PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-yt-assert PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/assert/assert.cpp +) diff --git a/library/cpp/yt/coding/CMakeLists.txt b/library/cpp/yt/coding/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yt/coding/CMakeLists.txt +++ b/library/cpp/yt/coding/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yt/coding/CMakeLists.windows-x86_64.txt b/library/cpp/yt/coding/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..ad79d9654f --- /dev/null +++ b/library/cpp/yt/coding/CMakeLists.windows-x86_64.txt @@ -0,0 +1,15 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-yt-coding INTERFACE) +target_link_libraries(cpp-yt-coding INTERFACE + contrib-libs-cxxsupp + yutil + cpp-yt-exception +) diff --git a/library/cpp/yt/exception/CMakeLists.txt b/library/cpp/yt/exception/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yt/exception/CMakeLists.txt +++ b/library/cpp/yt/exception/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yt/exception/CMakeLists.windows-x86_64.txt b/library/cpp/yt/exception/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..1a13fd0862 --- /dev/null +++ b/library/cpp/yt/exception/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-yt-exception) +target_link_libraries(cpp-yt-exception PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-yt-exception PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/exception/exception.cpp +) diff --git a/library/cpp/yt/malloc/CMakeLists.txt b/library/cpp/yt/malloc/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yt/malloc/CMakeLists.txt +++ b/library/cpp/yt/malloc/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yt/malloc/CMakeLists.windows-x86_64.txt b/library/cpp/yt/malloc/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..87fdf24f90 --- /dev/null +++ b/library/cpp/yt/malloc/CMakeLists.windows-x86_64.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-yt-malloc) +target_link_libraries(cpp-yt-malloc PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-yt-malloc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/malloc/malloc.cpp +) diff --git a/library/cpp/yt/memory/CMakeLists.txt b/library/cpp/yt/memory/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yt/memory/CMakeLists.txt +++ b/library/cpp/yt/memory/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yt/memory/CMakeLists.windows-x86_64.txt b/library/cpp/yt/memory/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..da62073cb8 --- /dev/null +++ b/library/cpp/yt/memory/CMakeLists.windows-x86_64.txt @@ -0,0 +1,28 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-yt-memory) +target_link_libraries(cpp-yt-memory PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-assert + cpp-yt-misc + cpp-yt-malloc +) +target_sources(cpp-yt-memory PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/blob.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_input_stream.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_memory_allocator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_memory_pool.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_memory_pool_output.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/chunked_output_stream.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/ref_tracked.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/memory/shared_range.cpp +) diff --git a/library/cpp/yt/misc/CMakeLists.txt b/library/cpp/yt/misc/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yt/misc/CMakeLists.txt +++ b/library/cpp/yt/misc/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yt/misc/CMakeLists.windows-x86_64.txt b/library/cpp/yt/misc/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..d05719a445 --- /dev/null +++ b/library/cpp/yt/misc/CMakeLists.windows-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-yt-misc) +target_link_libraries(cpp-yt-misc PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-exception +) +target_sources(cpp-yt-misc PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/guid.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/source_location.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/misc/variant.cpp +) diff --git a/library/cpp/yt/small_containers/CMakeLists.txt b/library/cpp/yt/small_containers/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yt/small_containers/CMakeLists.txt +++ b/library/cpp/yt/small_containers/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yt/small_containers/CMakeLists.windows-x86_64.txt b/library/cpp/yt/small_containers/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..7f0c283498 --- /dev/null +++ b/library/cpp/yt/small_containers/CMakeLists.windows-x86_64.txt @@ -0,0 +1,16 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-yt-small_containers INTERFACE) +target_link_libraries(cpp-yt-small_containers INTERFACE + contrib-libs-cxxsupp + yutil + cpp-yt-assert + cpp-yt-malloc +) diff --git a/library/cpp/yt/string/CMakeLists.txt b/library/cpp/yt/string/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yt/string/CMakeLists.txt +++ b/library/cpp/yt/string/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yt/string/CMakeLists.windows-x86_64.txt b/library/cpp/yt/string/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..c2e15d6a7c --- /dev/null +++ b/library/cpp/yt/string/CMakeLists.windows-x86_64.txt @@ -0,0 +1,24 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-yt-string) +target_link_libraries(cpp-yt-string PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-assert + cpp-yt-exception + cpp-yt-misc + cpp-yt-small_containers +) +target_sources(cpp-yt-string PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/enum.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/guid.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/string.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/string/format.cpp +) diff --git a/library/cpp/yt/yson/CMakeLists.txt b/library/cpp/yt/yson/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yt/yson/CMakeLists.txt +++ b/library/cpp/yt/yson/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yt/yson/CMakeLists.windows-x86_64.txt b/library/cpp/yt/yson/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..2915223862 --- /dev/null +++ b/library/cpp/yt/yson/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-yt-yson) +target_link_libraries(cpp-yt-yson PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-yson_string +) +target_sources(cpp-yt-yson PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson/consumer.cpp +) diff --git a/library/cpp/yt/yson_string/CMakeLists.txt b/library/cpp/yt/yson_string/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/yt/yson_string/CMakeLists.txt +++ b/library/cpp/yt/yson_string/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/yt/yson_string/CMakeLists.windows-x86_64.txt b/library/cpp/yt/yson_string/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..941cc516b0 --- /dev/null +++ b/library/cpp/yt/yson_string/CMakeLists.windows-x86_64.txt @@ -0,0 +1,24 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-yt-yson_string) +target_link_libraries(cpp-yt-yson_string PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-assert + cpp-yt-coding + cpp-yt-exception + cpp-yt-string + cpp-yt-memory + cpp-yt-misc +) +target_sources(cpp-yt-yson_string PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson_string/convert.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/yt/yson_string/string.cpp +) diff --git a/library/cpp/ytalloc/api/CMakeLists.txt b/library/cpp/ytalloc/api/CMakeLists.txt index 8f8c04afe5..d90657116d 100644 --- a/library/cpp/ytalloc/api/CMakeLists.txt +++ b/library/cpp/ytalloc/api/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/ytalloc/api/CMakeLists.windows-x86_64.txt b/library/cpp/ytalloc/api/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..a550e54f00 --- /dev/null +++ b/library/cpp/ytalloc/api/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(cpp-ytalloc-api) +target_link_libraries(cpp-ytalloc-api PUBLIC + contrib-libs-cxxsupp + yutil + cpp-yt-misc +) +target_sources(cpp-ytalloc-api PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/ytalloc/api/fallback.cpp +) |