summaryrefslogtreecommitdiff
path: root/Source/cmGraphVizWriter.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-02-06 18:34:48 +0100
committerAlex Neundorf <neundorf@kde.org>2011-02-06 18:34:48 +0100
commit08fa5ddb1c0eac593aff143d0d6b00dd284df2a1 (patch)
treea9ebc1b8cc2fcd38e75ce44a755d7469e97c7fc2 /Source/cmGraphVizWriter.h
parent4f96a7621fe57cd42dc659572eb2a31c84c65abd (diff)
downloadcmake-08fa5ddb1c0eac593aff143d0d6b00dd284df2a1.tar.gz
Also generate dependers-graphviz files.
With this commit, the --graphviz option now also generates dot files which show which other targets depend on some target. So, now there is * a global dot-file which shows all targets and dependencies * a dot file which shows on what a target Foo depends * a dot file which shows which other targets depend on Foo Alex
Diffstat (limited to 'Source/cmGraphVizWriter.h')
-rw-r--r--Source/cmGraphVizWriter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGraphVizWriter.h b/Source/cmGraphVizWriter.h
index cd7a62784e..f784aa0a1f 100644
--- a/Source/cmGraphVizWriter.h
+++ b/Source/cmGraphVizWriter.h
@@ -30,6 +30,7 @@ public:
const char* fallbackSettingsFileName);
void WritePerTargetFiles(const char* fileName);
+ void WriteTargetDependersFiles(const char* fileName);
void WriteGlobalFile(const char* fileName);
@@ -48,6 +49,11 @@ protected:
std::set<std::string>& insertedConnections,
cmGeneratedFileStream& str) const;
+ void WriteDependerConnections(const char* targetName,
+ std::set<std::string>& insertedNodes,
+ std::set<std::string>& insertedConnections,
+ cmGeneratedFileStream& str) const;
+
void WriteNode(const char* targetName, const cmTarget* target,
std::set<std::string>& insertedNodes,
cmGeneratedFileStream& str) const;