diff options
author | svidyuk <svidyuk@yandex-team.com> | 2023-11-24 13:37:43 +0300 |
---|---|---|
committer | svidyuk <svidyuk@yandex-team.com> | 2023-11-24 14:44:06 +0300 |
commit | 2bb1b2fb5d0028e709fb516f0c88c3a66ba6a457 (patch) | |
tree | addbbf6332d3df6d6a657d3c7b8a4159ba58be63 /library/cpp/terminate_handler/CMakeLists.txt | |
parent | 850c48ccf9cadbf8096c6b5015e064c38d0d912e (diff) | |
download | ydb-2bb1b2fb5d0028e709fb516f0c88c3a66ba6a457.tar.gz |
Revert commit rXXXXXX,Add env semantic
Diffstat (limited to 'library/cpp/terminate_handler/CMakeLists.txt')
-rw-r--r-- | library/cpp/terminate_handler/CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/library/cpp/terminate_handler/CMakeLists.txt b/library/cpp/terminate_handler/CMakeLists.txt new file mode 100644 index 0000000000..2dce3a77fe --- /dev/null +++ b/library/cpp/terminate_handler/CMakeLists.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. + + +if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-aarch64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") + include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() |