summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-06-20 18:00:48 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-06-20 18:00:48 (GMT)
commit26c53fe14c4d6cabb8b7476f5c19ca7088199841 (patch)
tree0a21177b04547b365a0c82a52979315cb4adcd97 /Source/cmGlobalGenerator.h
parent490119d2aa31eaaeb99a145ab3e7b2aee2c957db (diff)
downloadCMake-26c53fe14c4d6cabb8b7476f5c19ca7088199841.zip
CMake-26c53fe14c4d6cabb8b7476f5c19ca7088199841.tar.gz
CMake-26c53fe14c4d6cabb8b7476f5c19ca7088199841.tar.bz2
ENH: modified GET_TARGET_PROPERTIES to work with all targets
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h5
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