| 3426 | } |
| 3427 | |
| 3428 | cm::optional<cmStandardLevel> cmGeneratorTarget::GetExplicitStandardLevel( |
| 3429 | std::string const& lang, std::string const& config) const |
| 3430 | { |
| 3431 | cm::optional<cmStandardLevel> level; |
| 3432 | std::string key = cmStrCat(cmSystemTools::UpperCase(config), '-', lang); |
| 3433 | auto i = this->ExplicitStandardLevel.find(key); |
| 3434 | if (i != this->ExplicitStandardLevel.end()) { |
| 3435 | level = i->second; |
| 3436 | } |
| 3437 | return level; |
| 3438 | } |
| 3439 | |
| 3440 | void cmGeneratorTarget::UpdateExplicitStandardLevel(std::string const& lang, |
| 3441 | std::string const& config, |
no test coverage detected