Introduce a cmake LLVM_ENABLE_LIBCXX build parameter to compile using libc++ instead...
authorJean-Daniel Dupas <devlists@shadowlab.org>
Mon, 6 Jan 2014 18:27:27 +0000 (18:27 +0000)
committerJean-Daniel Dupas <devlists@shadowlab.org>
Mon, 6 Jan 2014 18:27:27 +0000 (18:27 +0000)
commit1abc3c0b7fe517ac7fc0d215c0e93003518e6270
tree7aa5bc3316b0063690d3c33bbef9187e45baba04
parent34fa3112675535b002bf48d0aaae9abe459ca3da
Introduce a cmake LLVM_ENABLE_LIBCXX build parameter to compile using libc++ instead of the system default

Summary:
This parameter is required to build C++11 projects (like lld or lldb) on OS X as the default STL does not provide c++ classes.

CC: llvm-commits, triton
Differential Revision: http://llvm-reviews.chandlerc.com/D2381

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198625 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
cmake/modules/HandleLLVMOptions.cmake