summaryrefslogtreecommitdiffstats
path: root/Source/cmExperimental.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-05-24 21:19:59 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-06-14 23:27:30 (GMT)
commitfb289dfcd9be3ceb9dcca20b3f51b779d77e01ee (patch)
tree0b0ed52ebbc25b4e19b8b3717c2b7e71416553b7 /Source/cmExperimental.h
parentfffc7813a42b9a2256981b575ef7e1a9799d1adf (diff)
downloadCMake-fb289dfcd9be3ceb9dcca20b3f51b779d77e01ee.zip
CMake-fb289dfcd9be3ceb9dcca20b3f51b779d77e01ee.tar.gz
CMake-fb289dfcd9be3ceb9dcca20b3f51b779d77e01ee.tar.bz2
cmExperimental: add a mechanism for experimental CMake features
Diffstat (limited to 'Source/cmExperimental.h')
-rw-r--r--Source/cmExperimental.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Source/cmExperimental.h b/Source/cmExperimental.h
new file mode 100644
index 0000000..c2df019
--- /dev/null
+++ b/Source/cmExperimental.h
@@ -0,0 +1,19 @@
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
+
+#pragma once
+
+#include "cmConfigure.h" // IWYU pragma: keep
+
+class cmMakefile;
+
+class cmExperimental
+{
+public:
+ enum class Feature
+ {
+ Sentinel,
+ };
+
+ static bool HasSupportEnabled(cmMakefile const& mf, Feature f);
+};