[libcxxabi] Teach CMake better ways to find the libc++ source directory (and misc...
authorEric Fiselier <eric@efcs.ca>
Thu, 22 Jan 2015 20:00:06 +0000 (20:00 +0000)
committerEric Fiselier <eric@efcs.ca>
Thu, 22 Jan 2015 20:00:06 +0000 (20:00 +0000)
commit753f7c306be17d9ad7d82ee586f80271d3b3687f
tree9a58ed0cc3e7bbf8d16f26543fb4251df4011f9f
parent7a2421095c730b4c09242643e1fdd56ca4d45e08
[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

llvm-svn: 226855
libcxxabi/.gitignore [new file with mode: 0644]
libcxxabi/CMakeLists.txt
libcxxabi/test/libcxxabi/test/config.py
libcxxabi/test/lit.cfg
libcxxabi/test/lit.site.cfg.in
libcxxabi/www/index.html