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