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

Method UpdateExplicitStandardLevel

Source/cmGeneratorTarget.cxx:3440–3449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3438}
3439
3440void cmGeneratorTarget::UpdateExplicitStandardLevel(std::string const& lang,
3441 std::string const& config,
3442 cmStandardLevel level)
3443{
3444 auto e = this->ExplicitStandardLevel.emplace(
3445 cmStrCat(cmSystemTools::UpperCase(config), '-', lang), level);
3446 if (!e.second && e.first->second < level) {
3447 e.first->second = level;
3448 }
3449}
3450
3451bool cmGeneratorTarget::ComputeCompileFeatures(std::string const& config)
3452{

Callers 1

Calls 2

emplaceMethod · 0.80
cmStrCatFunction · 0.70

Tested by

no test coverage detected