]> granicus.if.org Git - llvm/commit
[CMake] Replace LLVM_ENABLE_CXX1Y and friends with LLVM_CXX_STD
authorJustin Bogner <mail@justinbogner.com>
Mon, 8 Apr 2019 10:19:17 +0000 (10:19 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 8 Apr 2019 10:19:17 +0000 (10:19 +0000)
commit9736ffc02af86add87912db3427d088bf6bbd94d
treeb73f40cb7fca9a442b4282fbee3be7121af8d0e4
parentdc4e93b649b162796029d84922967fb6983da5d2
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357899 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
cmake/modules/HandleLLVMOptions.cmake
docs/CMake.rst