diff options
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 8b35116..6ed8609 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -143,6 +143,9 @@ public: */ void FindMakeProgram(cmMakefile*); + ///! Find a target by name by searching the local generators. + cmTarget* FindTarget(const char* project, const char* name); + protected: // Fill the m_ProjectMap, this must be called after m_LocalGenerators has been populated. void FillProjectMap(); @@ -159,8 +162,6 @@ protected: // map from project name to vector of local generators in that project std::map<cmStdString, std::vector<cmLocalGenerator*> > m_ProjectMap; - ///! Find a target by name by searching the local generators. - cmTarget* FindTarget(const char* project, const char* name); private: // If you add a new map here, make sure it is copied // in EnableLanguagesFromGenerator |