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/cpp/streams | |
parent | 039e25e1597bec288de44e5061c1b84e195add08 (diff) | |
download | ydb-6324d075a5e80b6943b5de6b465b775050fe83df.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp/streams')
-rw-r--r-- | library/cpp/streams/brotli/CMakeLists.txt | 2 | ||||
-rw-r--r-- | library/cpp/streams/brotli/CMakeLists.windows-x86_64.txt | 19 | ||||
-rw-r--r-- | library/cpp/streams/bzip2/CMakeLists.txt | 2 | ||||
-rw-r--r-- | library/cpp/streams/bzip2/CMakeLists.windows-x86_64.txt | 18 | ||||
-rw-r--r-- | library/cpp/streams/lzma/CMakeLists.txt | 2 | ||||
-rw-r--r-- | library/cpp/streams/lzma/CMakeLists.windows-x86_64.txt | 18 | ||||
-rw-r--r-- | library/cpp/streams/zc_memory_input/CMakeLists.txt | 2 | ||||
-rw-r--r-- | library/cpp/streams/zc_memory_input/CMakeLists.windows-x86_64.txt | 17 | ||||
-rw-r--r-- | library/cpp/streams/zstd/CMakeLists.txt | 2 | ||||
-rw-r--r-- | library/cpp/streams/zstd/CMakeLists.windows-x86_64.txt | 18 |
10 files changed, 100 insertions, 0 deletions
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 +) |