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

Method SetLanguageEnabled

Source/cmGlobalGenerator.cxx:1147–1152  ·  view source on GitHub ↗

SetLanguageEnabled() is now split in two parts: at first the enabled-flag is set. This can then be used in EnabledLanguage() for checking whether the language is already enabled. After setting this flag still the values from the cmake variables have to be copied into the internal maps, this is done in SetLanguageEnabledMaps() which is called after the system- and compiler specific files have been

Source from the content-addressed store, hash-verified

1145to the C++ maps.
1146*/
1147void cmGlobalGenerator::SetLanguageEnabled(std::string const& l,
1148 cmMakefile* mf)
1149{
1150 this->SetLanguageEnabledFlag(l, mf);
1151 this->SetLanguageEnabledMaps(l, mf);
1152}
1153
1154void cmGlobalGenerator::SetLanguageEnabledFlag(std::string const& l,
1155 cmMakefile* mf)

Callers 2

EnableLanguageMethod · 0.95

Calls 2

Tested by

no test coverage detected