From 7166b2820d4ede88e165c9a8010103cc6e28617b Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Fri, 28 Feb 2014 21:30:03 +0000 Subject: [PATCH] [C++11] Switch CMake to use C++11 by default! Next up, autoconf/make! Now, please don't get too excited. I've just toggled the default to suss out the last remaining bot problems. This does *not* mean we can all go write lots of C++11 code yet. I at least want to let the dust settle from the bots first. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202542 91177308-0d34-0410-b5e6-96231b3b80d8 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ab93503f282..24c799915f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -203,7 +203,7 @@ else( MSVC ) option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." ON) endif() -option(LLVM_ENABLE_CXX11 "Compile with C++11 enabled." OFF) +option(LLVM_ENABLE_CXX11 "Compile with C++11 enabled." ON) option(LLVM_ENABLE_LIBCXX "Use libc++ if available." OFF) option(LLVM_ENABLE_PEDANTIC "Compile with pedantic enabled." ON) option(LLVM_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF)