summaryrefslogtreecommitdiffstats
path: root/Source/cmStandardLevelResolver.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-10-04 19:12:47 (GMT)
committerBrad King <brad.king@kitware.com>2023-10-04 22:44:44 (GMT)
commitc1f1aedcee3e24f96ec129105ae0119f3201d1cc (patch)
treee63d591534005c2f8f3103df61475704a34bc9b8 /Source/cmStandardLevelResolver.h
parent23b57462aa5865d1e526c40dfd0f04f6a4af9e25 (diff)
downloadCMake-c1f1aedcee3e24f96ec129105ae0119f3201d1cc.zip
CMake-c1f1aedcee3e24f96ec129105ae0119f3201d1cc.tar.gz
CMake-c1f1aedcee3e24f96ec129105ae0119f3201d1cc.tar.bz2
cmStandardLevelResolver: Add method to look up standard level by name
Diffstat (limited to 'Source/cmStandardLevelResolver.h')
-rw-r--r--Source/cmStandardLevelResolver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmStandardLevelResolver.h b/Source/cmStandardLevelResolver.h
index 09989ba..29cab55 100644
--- a/Source/cmStandardLevelResolver.h
+++ b/Source/cmStandardLevelResolver.h
@@ -39,6 +39,9 @@ public:
cm::optional<cmStandardLevel> CompileFeatureStandardLevel(
std::string const& lang, std::string const& feature) const;
+ cm::optional<cmStandardLevel> LanguageStandardLevel(
+ std::string const& lang, std::string const& standardStr) const;
+
cmValue CompileFeaturesAvailable(const std::string& lang,
std::string* error) const;