diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-22 23:01:46 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-27 06:44:20 (GMT) |
commit | 736c2042c6bade0322441aafabababcbd92af52e (patch) | |
tree | 6d337a677712c800b7c2834d909c4736c1baa818 /Source/cmGeneratorTarget.cxx | |
parent | f210cb131e5814631d6d2974cf2437632446654f (diff) | |
download | CMake-736c2042c6bade0322441aafabababcbd92af52e.zip CMake-736c2042c6bade0322441aafabababcbd92af52e.tar.gz CMake-736c2042c6bade0322441aafabababcbd92af52e.tar.bz2 |
cmGeneratorTarget: Add GetUtilities API
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 7516576..7d5a9d0 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -796,7 +796,7 @@ std::set<cmLinkItem> const& cmGeneratorTarget::GetUtilityItems() const if(!this->UtilityItemsDone) { this->UtilityItemsDone = true; - std::set<std::string> const& utilities = this->Target->GetUtilities(); + std::set<std::string> const& utilities = this->GetUtilities(); for(std::set<std::string>::const_iterator i = utilities.begin(); i != utilities.end(); ++i) { @@ -1737,6 +1737,11 @@ const std::vector<std::string>&cmGeneratorTarget::GetLinkDirectories() const return this->Target->GetLinkDirectories(); } +const std::set<std::string>& cmGeneratorTarget::GetUtilities() const +{ + return this->Target->GetUtilities(); +} + //---------------------------------------------------------------------------- bool cmGeneratorTarget::HaveWellDefinedOutputFiles() const { |