diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
commit | d32759b7eb812b4a4033cc61e1e98245544b4992 (patch) | |
tree | 22bbb3e9b46c1b55818aaf475f699ae187ce328b /contrib/libs/libunwind/CMakeLists.txt | |
parent | 471e9b902d01b70b2d12146772e30528a216ee82 (diff) | |
download | ydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz |
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'contrib/libs/libunwind/CMakeLists.txt')
-rw-r--r-- | contrib/libs/libunwind/CMakeLists.txt | 29 |
1 files changed, 5 insertions, 24 deletions
diff --git a/contrib/libs/libunwind/CMakeLists.txt b/contrib/libs/libunwind/CMakeLists.txt index 4068af682c..a681d385f3 100644 --- a/contrib/libs/libunwind/CMakeLists.txt +++ b/contrib/libs/libunwind/CMakeLists.txt @@ -6,27 +6,8 @@ # original buildsystem will not be accepted. - -add_library(contrib-libs-libunwind) -target_compile_options(contrib-libs-libunwind PUBLIC - -D_libunwind_ -) -target_compile_options(contrib-libs-libunwind PRIVATE - -D_LIBUNWIND_IS_NATIVE_ONLY - -fno-exceptions - -fno-rtti - -funwind-tables -) -target_include_directories(contrib-libs-libunwind PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include -) -target_sources(contrib-libs-libunwind PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-EHABI.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-seh.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/Unwind-sjlj.c - ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindLevel1-gcc-ext.c - ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindLevel1.c - ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindRegistersRestore.S - ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/UnwindRegistersSave.S - ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/src/libunwind.cpp -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() |