diff options
| author | robot-piglet <[email protected]> | 2023-03-09 12:42:44 +0300 | 
|---|---|---|
| committer | robot-piglet <[email protected]> | 2023-03-09 12:42:44 +0300 | 
| commit | 6324d075a5e80b6943b5de6b465b775050fe83df (patch) | |
| tree | e02ce32e988042438f64df770a528164ac572879 /library/cpp/malloc/system | |
| parent | 039e25e1597bec288de44e5061c1b84e195add08 (diff) | |
Intermediate changes
Diffstat (limited to 'library/cpp/malloc/system')
| -rw-r--r-- | library/cpp/malloc/system/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | library/cpp/malloc/system/CMakeLists.windows-x86_64.txt | 17 | 
2 files changed, 20 insertions, 1 deletions
diff --git a/library/cpp/malloc/system/CMakeLists.txt b/library/cpp/malloc/system/CMakeLists.txt index 5bedd04e092..86c4d15dc39 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 00000000000..72c039454cb --- /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 +)  | 
