llvm-project/libcxx/cmake/Modules
Eric Fiselier a23470efe7 Rework libatomic handling in CMake and LIT.
This patch updates the way libc++ handles checking for libatomic, in part
to prepare for https://reviews.llvm.org/D22073.

Changes:
* 'LIBCXX_HAS_ATOMIC_LIB' is now set whenever libatomic is available even libc++
   doesn't need to manually link it.
* 'LIBCXX_HAVE_CXX_ATOMICS_WITH_LIB' is now used to detect when libatomic
   needs to be manually linked.
* 'LIBCXX_HAS_ATOMIC_LIB' now adds 'libatomic' as a available feature in the
   test suite.

llvm-svn: 275759
2016-07-18 06:01:50 +00:00
..
CheckLibcxxAtomic.cmake Rework libatomic handling in CMake and LIT. 2016-07-18 06:01:50 +00:00
CodeCoverage.cmake [libcxx] Add code coverage configuration to CMake and LIT. 2015-03-31 04:15:45 +00:00
HandleLibCXXABI.cmake Fix PR27875. Parse LIBCXX_CXX_ABI_LIBRARY_PATH as a path not a string 2016-05-27 23:05:37 +00:00
HandleLibcxxFlags.cmake [libcxx] Allow target flags to affect CMake configuration tests 2016-06-02 01:10:08 +00:00
HandleOutOfTreeLLVM.cmake [CMake] Cleanup uses of USES_TERMINAL 2016-06-08 22:20:28 +00:00
MacroEnsureOutOfSourceBuild.cmake