summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeTargetDepends.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-08-25 14:07:25 (GMT)
committerBrad King <brad.king@kitware.com>2010-11-18 15:51:00 (GMT)
commit605f4bc0978fd3c84bc06875aef500e62b0f41c7 (patch)
treefd4441fc3b796ecd84d554fd79a45ee464bc9287 /Source/cmComputeTargetDepends.h
parent82596fcffcdf3e536fb0def67f6d4d1d1a3e5207 (diff)
downloadCMake-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.h3
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();