summaryrefslogtreecommitdiffstats
path: root/Source/cmGraphVizWriter.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-04-19 18:07:36 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-04-19 18:07:36 (GMT)
commitcc214c68ddcf7b51a827a64517b877f55d75cba4 (patch)
treee1ede7b37b88fc539d2cf93bf27310e3d1a34f90 /Source/cmGraphVizWriter.h
parentb1a9f7a2758b5be3aea03e0fa75daee7d8179684 (diff)
parent08fa5ddb1c0eac593aff143d0d6b00dd284df2a1 (diff)
downloadCMake-cc214c68ddcf7b51a827a64517b877f55d75cba4.zip
CMake-cc214c68ddcf7b51a827a64517b877f55d75cba4.tar.gz
CMake-cc214c68ddcf7b51a827a64517b877f55d75cba4.tar.bz2
Merge topic 'MoreGraphVizFeatures'
08fa5dd Also generate dependers-graphviz files. 4f96a76 GRAPHVIZ_IGNORE_TARGETS is now a list of regular expressions 5698ad2 Make it possible to exlude external libs from dot files
Diffstat (limited to 'Source/cmGraphVizWriter.h')
-rw-r--r--Source/cmGraphVizWriter.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/cmGraphVizWriter.h b/Source/cmGraphVizWriter.h
index 105eb96..f784aa0 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;
@@ -67,10 +73,9 @@ protected:
bool GenerateForStaticLibs;
bool GenerateForSharedLibs;
bool GenerateForModuleLibs;
+ bool GenerateForExternals;
- cmsys::RegularExpression TargetIgnoreRegex;
-
- std::set<cmStdString> TargetsToIgnore;
+ std::vector<cmsys::RegularExpression> TargetsToIgnoreRegex;
const std::vector<cmLocalGenerator*>& LocalGenerators;