diff options
author | Justin Bogner <mail@justinbogner.com> | 2019-04-08 10:19:17 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2019-04-08 10:19:17 +0000 |
commit | 25de7691a0e27c29c8d783a22373cc265571f5e9 (patch) | |
tree | fe75f013f7b47236fb397f175d448c623878b306 /llvm/docs | |
parent | a82235843b102202766115e10003c9465a8b83ae (diff) | |
download | bcm5719-llvm-25de7691a0e27c29c8d783a22373cc265571f5e9.tar.gz bcm5719-llvm-25de7691a0e27c29c8d783a22373cc265571f5e9.zip |
[CMake] Replace LLVM_ENABLE_CXX1Y and friends with LLVM_CXX_STD
Simplify building with particular C++ standards by replacing the
specific "enable standard X" flags with a flag that allows specifying
the standard you want directly.
We preserve compatibility with the existing flags so that anyone with
those flags in existing caches won't break mysteriously.
Differential Revision: https://reviews.llvm.org/D60399
llvm-svn: 357899
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/CMake.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/CMake.rst b/llvm/docs/CMake.rst index a58aa519af5..d62c42c32f8 100644 --- a/llvm/docs/CMake.rst +++ b/llvm/docs/CMake.rst @@ -266,8 +266,8 @@ LLVM-specific variables **LLVM_ENABLE_THREADS**:BOOL Build with threads support, if available. Defaults to ON. -**LLVM_ENABLE_CXX1Y**:BOOL - Build in C++1y mode, if available. Defaults to OFF. +**LLVM_CXX_STD**:STRING + Build with the specified C++ standard. Defaults to "c++11". **LLVM_ENABLE_ASSERTIONS**:BOOL Enables code assertions. Defaults to ON if and only if ``CMAKE_BUILD_TYPE`` |