summaryrefslogtreecommitdiffstats
path: root/Source/Checks/cm_cxx14_check.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-12-06 15:53:10 (GMT)
committerBrad King <brad.king@kitware.com>2017-12-22 14:05:54 (GMT)
commit31c6b9adbff0fd7113ce4b97bc4ad9514615deb8 (patch)
tree2ef024206e8c83e96772c4e7d042eeb846b7b499 /Source/Checks/cm_cxx14_check.cpp
parent05af537ecc6b89af5f0bb8051b63d08fb105e36b (diff)
downloadCMake-31c6b9adbff0fd7113ce4b97bc4ad9514615deb8.zip
CMake-31c6b9adbff0fd7113ce4b97bc4ad9514615deb8.tar.gz
CMake-31c6b9adbff0fd7113ce4b97bc4ad9514615deb8.tar.bz2
Generalize check for C++14 constructs
The check for C++14 and cstdio is a special case of the more general problem of checking that the compiler's C++14 mode supports everything we need. Rename the checks accordingly.
Diffstat (limited to 'Source/Checks/cm_cxx14_check.cpp')
-rw-r--r--Source/Checks/cm_cxx14_check.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Checks/cm_cxx14_check.cpp b/Source/Checks/cm_cxx14_check.cpp
new file mode 100644
index 0000000..f5806a9
--- /dev/null
+++ b/Source/Checks/cm_cxx14_check.cpp
@@ -0,0 +1,5 @@
+#include <cstdio>
+int main()
+{
+ return 0;
+}