summaryrefslogtreecommitdiffstats
path: root/Source/cmExperimental.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2023-07-17 18:12:10 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2023-07-17 19:19:30 (GMT)
commit051cea7b7ecb2dd84199407165843006765588cf (patch)
tree843e31e85c14b775e85deae7d4df1fdbe90697a1 /Source/cmExperimental.h
parenta28217eb8c3c8fd6287661dc3b4bc56a14e0d019 (diff)
downloadCMake-051cea7b7ecb2dd84199407165843006765588cf.zip
CMake-051cea7b7ecb2dd84199407165843006765588cf.tar.gz
CMake-051cea7b7ecb2dd84199407165843006765588cf.tar.bz2
cmExperimental: Expose feature data API
Diffstat (limited to 'Source/cmExperimental.h')
-rw-r--r--Source/cmExperimental.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmExperimental.h b/Source/cmExperimental.h
index 26e0d17..97eb586 100644
--- a/Source/cmExperimental.h
+++ b/Source/cmExperimental.h
@@ -5,6 +5,8 @@
#include "cmConfigure.h" // IWYU pragma: keep
+#include <string>
+
class cmMakefile;
class cmExperimental
@@ -17,5 +19,14 @@ public:
Sentinel,
};
+ struct FeatureData
+ {
+ std::string const Uuid;
+ std::string const Variable;
+ std::string const Description;
+ bool Warned;
+ };
+
+ static const FeatureData& DataForFeature(Feature f);
static bool HasSupportEnabled(cmMakefile const& mf, Feature f);
};