| 61 | }; |
| 62 | |
| 63 | cm::string_view MapLanguage(cm::string_view lang, |
| 64 | LanguageGlobOption glob = AllowGlob) |
| 65 | { |
| 66 | if (glob == AllowGlob && lang == "*"_s) { |
| 67 | return "*"_s; |
| 68 | } |
| 69 | auto const li = Languages.find(cmSystemTools::LowerCase(lang)); |
| 70 | if (li != Languages.end()) { |
| 71 | return li->second; |
| 72 | } |
| 73 | return {}; |
| 74 | } |
| 75 | |
| 76 | std::string GetRealPath(std::string const& path) |
| 77 | { |
no test coverage detected
searching dependent graphs…