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

Method GetLanguageStandard

Source/cmGeneratorTarget.cxx:925–936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

923}
924
925cmValue cmGeneratorTarget::GetLanguageStandard(std::string const& lang,
926 std::string const& config) const
927{
928 BTs<std::string> const* languageStandard =
929 this->GetLanguageStandardProperty(lang, config);
930
931 if (languageStandard) {
932 return cmValue(languageStandard->Value);
933 }
934
935 return nullptr;
936}
937
938cmValue cmGeneratorTarget::GetPropertyWithPairedLanguageSupport(
939 std::string const& lang, char const* suffix) const

Callers 6

AddCompileOptionsMethod · 0.80
EvaluateMethod · 0.80
GetCompileOptionDefMethod · 0.80
GetEffectiveStandardMethod · 0.80
HaveStandardAvailableMethod · 0.80

Calls 2

cmValueClass · 0.70

Tested by

no test coverage detected