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

Method SetLanguageEnabledFlag

Source/cmGlobalGenerator.cxx:1154–1165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1152}
1153
1154void cmGlobalGenerator::SetLanguageEnabledFlag(std::string const& l,
1155 cmMakefile* mf)
1156{
1157 this->CMakeInstance->GetState()->SetLanguageEnabled(l);
1158
1159 // Fill the language-to-extension map with the current variable
1160 // settings to make sure it is available for the try_compile()
1161 // command source file signature. In SetLanguageEnabledMaps this
1162 // will be done again to account for any compiler- or
1163 // platform-specific entries.
1164 this->FillExtensionToLanguageMap(l, mf);
1165}
1166
1167void cmGlobalGenerator::SetLanguageEnabledMaps(std::string const& l,
1168 cmMakefile* mf)

Callers 2

EnableLanguageMethod · 0.95
SetLanguageEnabledMethod · 0.95

Calls 3

SetLanguageEnabledMethod · 0.45
GetStateMethod · 0.45

Tested by

no test coverage detected