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

Method FillExtensionToLanguageMap

Source/cmGlobalGenerator.cxx:1227–1236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1225}
1226
1227void cmGlobalGenerator::FillExtensionToLanguageMap(std::string const& l,
1228 cmMakefile* mf)
1229{
1230 std::string extensionsVar = cmStrCat("CMAKE_", l, "_SOURCE_FILE_EXTENSIONS");
1231 std::string const& exts = mf->GetSafeDefinition(extensionsVar);
1232 cmList extensionList{ exts };
1233 for (std::string const& i : extensionList) {
1234 this->ExtensionToLanguage[i] = l;
1235 }
1236}
1237
1238cmValue cmGlobalGenerator::GetGlobalSetting(std::string const& name) const
1239{

Callers 2

Calls 1

cmStrCatFunction · 0.70

Tested by

no test coverage detected