diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-21 19:49:41 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-24 07:19:55 (GMT) |
commit | a0ebd69b52dea77c5d8c718bcb7ba0c75ceb9d5f (patch) | |
tree | 50ca44b7829c2f9d2679872a61248fb5218ddc66 /Source/cmGraphVizWriter.h | |
parent | bcee21ceb733d7e6d12d85346d8e683399cc4fc4 (diff) | |
download | CMake-a0ebd69b52dea77c5d8c718bcb7ba0c75ceb9d5f.zip CMake-a0ebd69b52dea77c5d8c718bcb7ba0c75ceb9d5f.tar.gz CMake-a0ebd69b52dea77c5d8c718bcb7ba0c75ceb9d5f.tar.bz2 |
Graphviz: Port to cmGeneratorTarget.
Diffstat (limited to 'Source/cmGraphVizWriter.h')
-rw-r--r-- | Source/cmGraphVizWriter.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmGraphVizWriter.h b/Source/cmGraphVizWriter.h index 0a20e6e..90d31d3 100644 --- a/Source/cmGraphVizWriter.h +++ b/Source/cmGraphVizWriter.h @@ -14,9 +14,9 @@ #include "cmStandardIncludes.h" #include "cmLocalGenerator.h" #include "cmGeneratedFileStream.h" -#include "cmTarget.h" #include <cmsys/RegularExpression.hxx> +class cmGeneratorTarget; /** This class implements writing files for graphviz (dot) for graphs * representing the dependencies between the targets in the project. */ @@ -54,7 +54,8 @@ protected: std::set<std::string>& insertedConnections, cmGeneratedFileStream& str) const; - void WriteNode(const std::string& targetName, const cmTarget* target, + void WriteNode(const std::string& targetName, + const cmGeneratorTarget* target, std::set<std::string>& insertedNodes, cmGeneratedFileStream& str) const; @@ -73,7 +74,7 @@ protected: const std::vector<cmLocalGenerator*>& LocalGenerators; - std::map<std::string, const cmTarget*> TargetPtrs; + std::map<std::string, const cmGeneratorTarget*> TargetPtrs; // maps from the actual target names to node names in dot: std::map<std::string, std::string> TargetNamesNodes; |