[PATCH] [libcxxabi] Add a cmake build system.
Dan Albert
danalbert at google.com
Wed Jul 2 10:51:31 PDT 2014
It also depends on llvm-config to find lit.py and the standard llvm cmake includes.
================
Comment at: www/index.html:95
@@ +94,3 @@
+ <li><code>mkdir build && cd build</code></li>
+ <li><code>cmake -DLIBCXXABI_LIBCXX_PATH=path/to/libcxx .. # on linux you may need to prefix with CC=clang CXX=clang++</code></li>
+ <li><code>make</code></li>
----------------
Logan Chien wrote:
> One typo here:
>
> -DLIBCXXABI_LIBCXX_INCLUDES=path/to/libcxx/include
>
> Also, maybe we can suggest to use:
>
> -DCMAKE_CXX_COMPILER=clang++
>
> instead of setting the environment variable here?
Oops, forgot to update the first part when I made that change. Good catch.
For the second part, is there any benefit to doing it that way?
http://reviews.llvm.org/D4359
More information about the cfe-commits
mailing list