diff options
author | Brad King <brad.king@kitware.com> | 2010-08-25 14:07:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-11-18 15:51:00 (GMT) |
commit | 605f4bc0978fd3c84bc06875aef500e62b0f41c7 (patch) | |
tree | fd4441fc3b796ecd84d554fd79a45ee464bc9287 /Source/cmComputeTargetDepends.h | |
parent | 82596fcffcdf3e536fb0def67f6d4d1d1a3e5207 (diff) | |
download | CMake-605f4bc0978fd3c84bc06875aef500e62b0f41c7.zip CMake-605f4bc0978fd3c84bc06875aef500e62b0f41c7.tar.gz CMake-605f4bc0978fd3c84bc06875aef500e62b0f41c7.tar.bz2 |
Record edge type in global dependency graph
Each inter-target dependency may be a 'link' or 'util' dependency.
Diffstat (limited to 'Source/cmComputeTargetDepends.h')
-rw-r--r-- | Source/cmComputeTargetDepends.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmComputeTargetDepends.h b/Source/cmComputeTargetDepends.h index 240de76..36e533f 100644 --- a/Source/cmComputeTargetDepends.h +++ b/Source/cmComputeTargetDepends.h @@ -21,6 +21,7 @@ class cmComputeComponentGraph; class cmGlobalGenerator; class cmTarget; +class cmTargetDependSet; /** \class cmComputeTargetDepends * \brief Compute global interdependencies among targets. @@ -38,7 +39,7 @@ public: bool Compute(); std::vector<cmTarget*> const& GetTargets() const { return this->Targets; } - void GetTargetDirectDepends(cmTarget* t, std::set<cmTarget*>& deps); + void GetTargetDirectDepends(cmTarget* t, cmTargetDependSet& deps); private: void CollectTargets(); void CollectDepends(); |