diff options
author | Brad King <brad.king@kitware.com> | 2023-10-04 19:12:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-10-04 22:44:44 (GMT) |
commit | c1f1aedcee3e24f96ec129105ae0119f3201d1cc (patch) | |
tree | e63d591534005c2f8f3103df61475704a34bc9b8 /Source/cmStandardLevelResolver.h | |
parent | 23b57462aa5865d1e526c40dfd0f04f6a4af9e25 (diff) | |
download | CMake-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.h | 3 |
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; |