[llvm] r367584 - Document LLVM_ENABLE_LIBCXX in CMake.rst

Erich Keane via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 10:30:21 PDT 2019


Author: erichkeane
Date: Thu Aug  1 10:30:21 2019
New Revision: 367584

URL: http://llvm.org/viewvc/llvm-project?rev=367584&view=rev
Log:
Document LLVM_ENABLE_LIBCXX in CMake.rst

Modified:
    llvm/trunk/docs/CMake.rst

Modified: llvm/trunk/docs/CMake.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CMake.rst?rev=367584&r1=367583&r2=367584&view=diff
==============================================================================
--- llvm/trunk/docs/CMake.rst (original)
+++ llvm/trunk/docs/CMake.rst Thu Aug  1 10:30:21 2019
@@ -426,6 +426,11 @@ LLVM-specific variables
   search. For example to link LLVM with the Gold linker, cmake can be invoked
   with ``-DLLVM_USE_LINKER=gold``.
 
+**LLVM_ENABLE_LIBCXX**:BOOL
+  If the host compiler and linker supports the stdlib flag, -stdlib=libc++ is
+  passed to invocations of both so that the project is built using libc++
+  instead of stdlibc++. Defaults to OFF.
+
 **LLVM_ENABLE_LLD**:BOOL
   This option is equivalent to `-DLLVM_USE_LINKER=lld`, except during a 2-stage
   build where a dependency is added from the first stage to the second ensuring




More information about the llvm-commits mailing list