From 7c6be4d5586aa365c8f52289ffddf57b87da4da7 Mon Sep 17 00:00:00 2001 From: "Arnaud A. de Grandmaison" Date: Tue, 26 Nov 2013 10:33:53 +0000 Subject: CMake : optionaly enable LLVM to be compiled with -std=c++11 (default: off) In some case, it may be required to build LLVM in C++11 mode, as some the subprojects (like lldb) requires it. This mimics the autoconf behaviour. However, given the discussions on the switch to C++11 of the codebase, this behaviour should evolve to default to C++11 with some checks of the compiler capabilities. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195727 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CMake.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/CMake.rst b/docs/CMake.rst index c9fe538c9d..9fb4f489b4 100644 --- a/docs/CMake.rst +++ b/docs/CMake.rst @@ -211,6 +211,9 @@ LLVM-specific variables **LLVM_ENABLE_THREADS**:BOOL Build with threads support, if available. Defaults to ON. +**LLVM_ENABLE_CXX11**:BOOL + Build in C++11 mode, if available. Defaults to OFF. + **LLVM_ENABLE_ASSERTIONS**:BOOL Enables code assertions. Defaults to OFF if and only if ``CMAKE_BUILD_TYPE`` is *Release*. -- cgit v1.2.3