mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
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.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user