summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2014-10-17[libcxxabi] Document the standalone build's requirements on llvm-config and ↵Eric Fiselier
llvm sources. The current documentation does not explain that the standalone build requires the LLVM sources. This patch updates the documentation to reflect this requirement and explains how to manually specify the location of the required files. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@220049 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-26Remove strict dependency on llvm-config.Dan Albert
Depending on llvm-config allows for a few nice things (auto-detecting LLVM source tree, version numbers, etc), but it's makes bootstrapping a pain. Keep the llvm-config features around, but also fall back to being able to configure based on -DLLVM_PATH=path/to/llvm. Reviewers: jroelofs, loladiro Reviewed By: loladiro Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D5016 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@216482 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-16libcxxabi cmake: Use HandleLLVMOptions.cmake, don't manually add -std=c++11.Nico Weber
No intended behavior change on Linux and Mac OS X. On Windows, having libcxxabi in one's checkout should now no longer break running cmake. (cl.exe supports c++11, but doesn't understand a -std= flag.) git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@213214 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-11Add support for building and testing the unwinder.Dan Albert
Note: The unwinder currently only works on Darwin and on ARM Linux. Non-ARM Linux support is not yet implemented, and will fail to build. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@212824 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-10Make cmake cxxflags match those in lib/buildit.Dan Albert
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@212768 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-10Add lit configs for libcxxabi tests.Dan Albert
This makes running libcxxabi tests on Linux _much_ easier. Adds a check-libcxxabi target to cmake. Also defaults to building a dynamic libc++abi. This is so that the default options still test the libc++abi that is being built. There are two problems with testing a static libc++abi. In the case of a standalone build, the tests will link the system's libc++, which might not have been built against our libc++abi. In the case of an in tree build, libc++ will prefer a dynamic libc++abi from the system over a static libc++abi from the output directory. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@212672 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-03Add a cmake build system.Dan Albert
Will add support for tests with lit in a later patch. This does not yet support building the unwinder in src/Unwind. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@212286 91177308-0d34-0410-b5e6-96231b3b80d8