diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-01-22 20:00:06 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-01-22 20:00:06 +0000 |
commit | 9a9e93916519f8a27ea79e079ecbe22f24c6b880 (patch) | |
tree | 2045e1317cd1356deba2889d5302e2dc9a558ffd /www | |
parent | 390b5cb253acec71492707b327d283022efc9729 (diff) |
[libcxxabi] Teach CMake better ways to find the libc++ source directory (and misc cleanup).
Summary:
The main section of this patch teaches CMake a new option `LIBCXXABI_LIBCXX_PATH` that specifies the path to the libcxx source root. This information is passed to lit so that it can better find libc++'s python module. `LIBCXXABI_LIBCXX_PATH` is also used to help find the libc++ headers.
The rest of this patch is misc cleanup, mostly to make pep8 and pylint happy.
I've also copied libc++'s .gitignore into libc++abi.
Reviewers: jroelofs, danalbert
Reviewed By: danalbert
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D7130
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@226855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www')
-rw-r--r-- | www/index.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www/index.html b/www/index.html index b7b66d8..cc34014 100644 --- a/www/index.html +++ b/www/index.html @@ -90,9 +90,12 @@ <p>To do a standalone build:</p> <ul> + <li> + Check out the <a href="http://libcxx.llvm.org">libcxx source</a> tree. + </li> <li><code>cd libcxxabi</code></li> <li><code>mkdir build && cd build</code></li> - <li><code>cmake -DLIBCXXABI_LIBCXX_INCLUDES=path/to/libcxx/include .. # on + <li><code>cmake -DLIBCXXABI_LIBCXX_PATH=path/to/libcxx .. # on linux you may need -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++</code></li> <li><code>make</code></li> </ul> |