summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-01-21 17:26:32 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-01-21 17:26:32 (GMT)
commit13865fc4fae3806c1359e17e60b7032edc379026 (patch)
tree00a008367d2e67dfbd1eefd09d196f980bc03dc0 /Source/cmGlobalGenerator.h
parent35c33d0e2df8646c67125dde4c8b05267388f73c (diff)
downloadCMake-13865fc4fae3806c1359e17e60b7032edc379026.zip
CMake-13865fc4fae3806c1359e17e60b7032edc379026.tar.gz
CMake-13865fc4fae3806c1359e17e60b7032edc379026.tar.bz2
ENH: move project map to global generator base
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 89441dc..e1ebe20 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -116,6 +116,8 @@ public:
///! What is the output extension for a given source file extension.
const char* GetLanguageOutputExtensionFromExtension(const char* lang);
protected:
+ // Fill the m_ProjectMap, this must be called after m_LocalGenerators has been populated.
+ void FillProjectMap();
bool IsExcluded(cmLocalGenerator* root, cmLocalGenerator* gen);
void FindMakeProgram(cmMakefile*);
@@ -124,6 +126,8 @@ protected:
cmStdString m_ConfiguredFilesPath;
cmake *m_CMakeInstance;
std::vector<cmLocalGenerator *> m_LocalGenerators;
+ // map from project name to vector of local generators in that project
+ std::map<cmStdString, std::vector<cmLocalGenerator*> > m_ProjectMap;
///! used by Configure()
void RecursiveConfigure(cmLocalGenerator *lg, float start, float end);
@@ -136,7 +140,7 @@ private:
std::map<cmStdString, cmStdString> m_OutputExtensions;
std::map<cmStdString, cmStdString> m_LanguageToOutputExtension;
std::map<cmStdString, cmStdString> m_ExtensionToLanguage;
- std::map<cmStdString, cmStdString> m_LanguageToLinkerPreference;
+ std::map<cmStdString, cmStdString> m_LanguageToLinkerPreference;
};
#endif