CMake/Source/Checks
Brad King 31d59ff3b1 Compile CMake as C++17 if supported by the compiler
Add a check that a simple source file can compile as C++17 that uses
some of the features we need.  Do this only when hosted by CMake 3.8
or above because those versions are aware of C++17.

Check for unordered_map as we do in bootstrap since commit 375eca7881
(bootstrap: Check support for unordered_map from compiler mode,
2017-11-30).  Also maintain the existing C++14 cstdio check.
2017-12-22 09:05:54 -05:00
..
cm_c11_thread_local.c
cm_c11_thread_local.cmake
cm_cxx14_check.cmake Generalize check for C++14 constructs 2017-12-22 09:05:54 -05:00
cm_cxx14_check.cpp Generalize check for C++14 constructs 2017-12-22 09:05:54 -05:00
cm_cxx17_check.cmake Compile CMake as C++17 if supported by the compiler 2017-12-22 09:05:54 -05:00
cm_cxx17_check.cpp Compile CMake as C++17 if supported by the compiler 2017-12-22 09:05:54 -05:00
cm_cxx_features.cmake Simplify CM_FALLTHROUGH implementation 2017-11-30 09:50:39 -05:00
cm_cxx_make_unique.cxx Check for availability of unique_ptr and make_unique when building CMake 2016-09-16 13:22:10 -04:00
cm_cxx_unique_ptr.cxx Check for availability of unique_ptr and make_unique when building CMake 2016-09-16 13:22:10 -04:00