[C++11] Switch CMake to use C++11 by default! Next up, autoconf/make!
authorChandler Carruth <chandlerc@gmail.com>
Fri, 28 Feb 2014 21:30:03 +0000 (21:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 28 Feb 2014 21:30:03 +0000 (21:30 +0000)
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

index ab93503f282be9137c6ba9d687657914462e1605..24c799915f956432dd187efab4d0b6ef1e709692 100644 (file)
@@ -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)