MCPcopy Create free account
hub / github.com/Kitware/CMake / GetExplicitStandardLevel

Method GetExplicitStandardLevel

Source/cmGeneratorTarget.cxx:3428–3438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3426}
3427
3428cm::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
3440void cmGeneratorTarget::UpdateExplicitStandardLevel(std::string const& lang,
3441 std::string const& config,

Callers 2

ApplyCXXStdTargetsMethod · 0.95
HaveCxxModuleSupportMethod · 0.95

Calls 3

cmStrCatFunction · 0.70
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected