diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2023-06-02 18:26:46 +0300 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2023-06-02 18:32:58 +0300 |
commit | 7e7de263d4acbc6eacf92b618bcb5f9049bccc9b (patch) | |
tree | d25ff63925cbcc5e0f80fe4d1514b4cb48a9f686 /library/cpp/actors/http/ut | |
parent | 10ba5cc0c3d130ce4b33d307d265b937dd572c39 (diff) | |
download | ydb-7e7de263d4acbc6eacf92b618bcb5f9049bccc9b.tar.gz |
add library/cpp/actors to github export
x-stable-origin-commit: 0e951cfb44430a0ed33bec779c8a790f73c31b91
Diffstat (limited to 'library/cpp/actors/http/ut')
-rw-r--r-- | library/cpp/actors/http/ut/CMakeLists.darwin.txt | 44 | ||||
-rw-r--r-- | library/cpp/actors/http/ut/CMakeLists.linux-aarch64.txt | 47 | ||||
-rw-r--r-- | library/cpp/actors/http/ut/CMakeLists.linux.txt | 49 | ||||
-rw-r--r-- | library/cpp/actors/http/ut/CMakeLists.txt | 15 |
4 files changed, 155 insertions, 0 deletions
diff --git a/library/cpp/actors/http/ut/CMakeLists.darwin.txt b/library/cpp/actors/http/ut/CMakeLists.darwin.txt new file mode 100644 index 0000000000..2db53c0cae --- /dev/null +++ b/library/cpp/actors/http/ut/CMakeLists.darwin.txt @@ -0,0 +1,44 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(library-cpp-actors-http-ut) +target_include_directories(library-cpp-actors-http-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http +) +target_link_libraries(library-cpp-actors-http-ut PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-http + cpp-actors-testlib +) +target_link_options(library-cpp-actors-http-ut PRIVATE + -Wl,-no_deduplicate + -Wl,-sdk_version,10.15 + -fPIC + -fPIC + -framework + CoreFoundation +) +target_sources(library-cpp-actors-http-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_ut.cpp +) +add_test( + NAME + library-cpp-actors-http-ut + COMMAND + library-cpp-actors-http-ut + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +vcs_info(library-cpp-actors-http-ut) diff --git a/library/cpp/actors/http/ut/CMakeLists.linux-aarch64.txt b/library/cpp/actors/http/ut/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..de4d0cd2d6 --- /dev/null +++ b/library/cpp/actors/http/ut/CMakeLists.linux-aarch64.txt @@ -0,0 +1,47 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to 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(library-cpp-actors-http-ut) +target_include_directories(library-cpp-actors-http-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http +) +target_link_libraries(library-cpp-actors-http-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-lfalloc + cpp-testing-unittest_main + cpp-actors-http + cpp-actors-testlib +) +target_link_options(library-cpp-actors-http-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-http-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_ut.cpp +) +add_test( + NAME + library-cpp-actors-http-ut + COMMAND + library-cpp-actors-http-ut + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +vcs_info(library-cpp-actors-http-ut) diff --git a/library/cpp/actors/http/ut/CMakeLists.linux.txt b/library/cpp/actors/http/ut/CMakeLists.linux.txt new file mode 100644 index 0000000000..698a3c7bb9 --- /dev/null +++ b/library/cpp/actors/http/ut/CMakeLists.linux.txt @@ -0,0 +1,49 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_executable(library-cpp-actors-http-ut) +target_include_directories(library-cpp-actors-http-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http +) +target_link_libraries(library-cpp-actors-http-ut PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-malloc-tcmalloc + libs-tcmalloc-no_percpu_cache + library-cpp-cpuid_check + cpp-testing-unittest_main + cpp-actors-http + cpp-actors-testlib +) +target_link_options(library-cpp-actors-http-ut PRIVATE + -ldl + -lrt + -Wl,--no-as-needed + -fPIC + -fPIC + -lpthread + -lrt + -ldl +) +target_sources(library-cpp-actors-http-ut PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_ut.cpp +) +add_test( + NAME + library-cpp-actors-http-ut + COMMAND + library-cpp-actors-http-ut + --print-before-suite + --print-before-test + --fork-tests + --print-times + --show-fails +) +vcs_info(library-cpp-actors-http-ut) diff --git a/library/cpp/actors/http/ut/CMakeLists.txt b/library/cpp/actors/http/ut/CMakeLists.txt new file mode 100644 index 0000000000..3e0811fb22 --- /dev/null +++ b/library/cpp/actors/http/ut/CMakeLists.txt @@ -0,0 +1,15 @@ + +# This file was gererated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() |