llvm-project/libcxx/cmake/Modules
Petr Hosek 30d9af1b24 [CMake] Differentiate between static and shared libc++abi
This addresses the issue introduced in r354212 which broke the case when
static libc++abi is merged into static libc++, but shared libc++ is
linked against shared libc++. There are 4 different possible
combinations which is difficult to capture using a single variable. This
change splits LIBCXX_CXX_ABI_LIBRARY into two:
LIBCXX_CXX_SHARED_ABI_LIBRARY and LIBCXX_CXX_STATIC_ABI_LIBRARY to
handle the shared and static cases. This in turn allows simplification
of some of the logic around merging of static archives.

Differential Revision: https://reviews.llvm.org/D60114

llvm-svn: 357556
2019-04-03 01:33:14 +00:00
..
CheckLibcxxAtomic.cmake Support tests in freestanding 2019-02-04 20:31:13 +00:00
CodeCoverage.cmake Change test coverage generation to use llvm-cov instead of gcov. 2017-03-11 03:24:18 +00:00
HandleCompilerRT.cmake [CMake] Passthrough CFLAGS when checking the compiler-rt path 2018-11-14 00:09:26 +00:00
HandleLibCXXABI.cmake [CMake] Differentiate between static and shared libc++abi 2019-04-03 01:33:14 +00:00
HandleLibcxxFlags.cmake Add cxx-benchmark-unittests target 2018-11-13 23:08:31 +00:00
HandleOutOfTreeLLVM.cmake [cmake] Fix get_llvm_lit_path() to respect LLVM_EXTERNAL_LIT always 2019-01-28 15:16:03 +00:00
MacroEnsureOutOfSourceBuild.cmake