[Cmake-commits] CMake branch, master, updated. v3.14.3-919-g3429369
Kitware Robot
kwrobot at kitware.com
Mon May 13 10:23:03 EDT 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 342936963479d59400a5f6ba8ef4de339212d303 (commit)
via daad51c3b7ab65276937b38dae566c3d25b80e0c (commit)
from 2bc9ddcad9f9a01055e5e3acc02a501b31af9940 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=342936963479d59400a5f6ba8ef4de339212d303
commit 342936963479d59400a5f6ba8ef4de339212d303
Merge: 2bc9ddc daad51c
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon May 13 14:13:40 2019 +0000
Commit: Kitware Robot <kwrobot at kitware.com>
CommitDate: Mon May 13 10:13:52 2019 -0400
Merge topic 'apple_clang_full_cxx_14_support'
daad51c3b7 CompileFeatures: Record when AppleClang gained full CXX14 support
Acked-by: Kitware Robot <kwrobot at kitware.com>
Merge-request: !3293
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=daad51c3b7ab65276937b38dae566c3d25b80e0c
commit daad51c3b7ab65276937b38dae566c3d25b80e0c
Author: Robert Maynard <robert.maynard at kitware.com>
AuthorDate: Tue May 7 13:33:40 2019 -0400
Commit: Robert Maynard <robert.maynard at kitware.com>
CommitDate: Tue May 7 13:33:40 2019 -0400
CompileFeatures: Record when AppleClang gained full CXX14 support
Use the infrastructure added by commit 646fb1a646 (CompileFeatures:
memoize C++ compilers with full language level support, 2019-03-27) to
avoid using a `try_compile` to check for C++14 feature support when the
running compiler is known to have all features.
diff --git a/Modules/Compiler/AppleClang-CXX.cmake b/Modules/Compiler/AppleClang-CXX.cmake
index 2042360..861a15c 100644
--- a/Modules/Compiler/AppleClang-CXX.cmake
+++ b/Modules/Compiler/AppleClang-CXX.cmake
@@ -17,10 +17,12 @@ endif()
if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6.1)
set(CMAKE_CXX14_STANDARD_COMPILE_OPTION "-std=c++14")
set(CMAKE_CXX14_EXTENSION_COMPILE_OPTION "-std=gnu++14")
+ set(CMAKE_CXX14_STANDARD__HAS_FULL_SUPPORT ON)
elseif(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.1)
# AppleClang 5.0 knows this flag, but does not set a __cplusplus macro greater than 201103L
set(CMAKE_CXX14_STANDARD_COMPILE_OPTION "-std=c++1y")
set(CMAKE_CXX14_EXTENSION_COMPILE_OPTION "-std=gnu++1y")
+ set(CMAKE_CXX14_STANDARD__HAS_FULL_SUPPORT ON)
endif()
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6.1)
-----------------------------------------------------------------------
Summary of changes:
Modules/Compiler/AppleClang-CXX.cmake | 2 ++
1 file changed, 2 insertions(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list