summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-16 14:58:23 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-23 13:21:56 (GMT)
commit097be4139df044c86daadb665ec224ee66e6b3bb (patch)
tree9d112d32470762de2953f7cd999a9401f60a4bcb /Source/cmTarget.h
parent4dad5fd20bfa330b3131fd5cafa709d85c1b58ec (diff)
downloadCMake-097be4139df044c86daadb665ec224ee66e6b3bb.zip
CMake-097be4139df044c86daadb665ec224ee66e6b3bb.tar.gz
CMake-097be4139df044c86daadb665ec224ee66e6b3bb.tar.bz2
cmTarget: Add GetUtilityItems to get target ordering dependencies
Add a method like GetUtilities but that provides the target names already looked up and resolved to cmTarget pointers internally. Update call site in cmComputeTargetDepends::AddTargetDepend to use the already-found target instead of looking it up again.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 97c8bf0..c56fa98 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -227,6 +227,7 @@ public:
void AddUtility(const std::string& u, cmMakefile *makefile = 0);
///! Get the utilities used by this target
std::set<std::string>const& GetUtilities() const { return this->Utilities; }
+ std::set<cmLinkItem>const& GetUtilityItems() const;
cmListFileBacktrace const* GetUtilityBacktrace(const std::string& u) const;
/** Finalize the target at the end of the Configure step. */