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

Method GetLanguageStandardProperty

Source/cmGeneratorTarget.cxx:912–923  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

910}
911
912BTs<std::string> const* cmGeneratorTarget::GetLanguageStandardProperty(
913 std::string const& lang, std::string const& config) const
914{
915 std::string key = cmStrCat(cmSystemTools::UpperCase(config), '-', lang);
916 auto langStandardIter = this->LanguageStandardMap.find(key);
917 if (langStandardIter != this->LanguageStandardMap.end()) {
918 return &langStandardIter->second;
919 }
920
921 return this->Target->GetLanguageStandardProperty(
922 cmStrCat(lang, "_STANDARD"));
923}
924
925cmValue cmGeneratorTarget::GetLanguageStandard(std::string const& lang,
926 std::string const& config) const

Callers 2

GetLanguageStandardMethod · 0.95

Calls 3

cmStrCatFunction · 0.70
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected