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)
commitedad1b47973e859c4a516cdb825f8412d87c1f7f
tree95ad40a8d76bd4971a4639b5102adce49becaeaf
parentd61a0c028d017fce9b7d1073f044b41722d82d54
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

llvm-svn: 198625
llvm/CMakeLists.txt
llvm/cmake/modules/HandleLLVMOptions.cmake