ENH: split cmGlobalGenerator::SetLanguageEnabled() in two parts, where the

second part copies the values from the cmake variables into internal maps.
So this can now be done after the compiler-specific information has been
loaded, which can now overwrite more settings.

Alex
This commit is contained in:
Alexander Neundorf
2007-06-11 15:31:42 -04:00
parent 1a71290836
commit 422dc631b6
8 changed files with 58 additions and 37 deletions

View File

@@ -208,6 +208,9 @@ public:
const std::map<cmStdString, std::vector<cmLocalGenerator*> >& GetProjectMap() const {return this->ProjectMap;}
protected:
void SetLanguageEnabledFlag(const char* l, cmMakefile* mf);
void SetLanguageEnabledMaps(const char* l, cmMakefile* mf);
// Fill the ProjectMap, this must be called after LocalGenerators
// has been populated.
void FillProjectMap();