[PATCH][libcxx] Add CMake support for libc++abi and libcxxrt

Michael van der Westhuizen r1mikey at gmail.com
Thu Feb 7 00:21:41 PST 2013


The attached patch add support for building against libc++abi and libcxxrt to CMake builds of libc++.

Usage (with the appropriate CC and CXX environment variables) is:
$ cmake -DLIBCXX_CXX_ABI=libcxxabi '-DLIBCXX_LIBCXXABI_INCLUDE_PATHS=/home/michael/libcxxabi/include' ../libcxx
$ cmake -DLIBCXX_CXX_ABI=libcxxrt '-DLIBCXX_LIBCXXRT_INCLUDE_PATHS=/home/michael/libcxxrt/src' ../libcxx

I've got another patch on the way that supports testing using a libc++ built with this support.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcxx-add-libcxxabi-and-libcxxrt-support-to-cmake.patch
Type: application/octet-stream
Size: 3415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130207/5c64176e/attachment.obj>

More information about the cfe-commits mailing list