diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-25 12:06:59 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-27 06:44:25 (GMT) |
commit | 8caf1f361b2207522d19bf4a28cecaa3a2391918 (patch) | |
tree | af905ed60f26c9ea9afdab16403558bc8f14c949 /Source/cmGlobalGenerator.h | |
parent | 278ba2db477fdc8cccd2313eb56e0179234747a0 (diff) | |
download | CMake-8caf1f361b2207522d19bf4a28cecaa3a2391918.zip CMake-8caf1f361b2207522d19bf4a28cecaa3a2391918.tar.gz CMake-8caf1f361b2207522d19bf4a28cecaa3a2391918.tar.bz2 |
cmGlobalGenerator: Add FindGeneratorTarget API
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 419cada..c52b209 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -254,6 +254,8 @@ public: cmTarget* FindTarget(const std::string& name, bool excludeAliases = false) const; + cmGeneratorTarget* FindGeneratorTarget(const std::string& name) const; + void AddAlias(const std::string& name, const std::string& tgtName); bool IsAlias(const std::string& name) const; @@ -432,6 +434,10 @@ protected: cmTarget* FindTargetImpl(std::string const& name) const; cmTarget* FindImportedTargetImpl(std::string const& name) const; + cmGeneratorTarget* FindGeneratorTargetImpl(std::string const& name) const; + cmGeneratorTarget* + FindImportedGeneratorTargetImpl(std::string const& name) const; + const char* GetPredefinedTargetsFolder(); virtual bool UseFolderProperty(); |