Better defaults for in-tree libc++ with cmake.
authorDan Albert <danalbert@google.com>
Sat, 26 Jul 2014 23:08:33 +0000 (23:08 +0000)
committerDan Albert <danalbert@google.com>
Sat, 26 Jul 2014 23:08:33 +0000 (23:08 +0000)
commit55d029e6ae67d173fd0fd218e62f9e359bb1bf34
tree27432391e8553fc421ad5c44820ad1d58270a6c5
parent61281faa455e9c3a9d1a8d219039cc45c16ac98a
Better defaults for in-tree libc++ with cmake.

This will detect if you are building libcxx in-tree and libcxxabi is
available.  If so, it will default to using the in-tree libcxxabi by
setting LIBCXX_CXX_ABI to "libcxxabi", LIBCXX_LIBCXXABI_INCLUDE_PATHS to
"${CMAKE_SOURCE_DIR}/projects/libcxxabi/include" and will add "cxxabi"
as a proper dependency.

Patch by Russell Harmon.

llvm-svn: 214037
libcxx/CMakeLists.txt