summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-10-31 16:40:46 (GMT)
committerAlex Neundorf <neundorf@kde.org>2010-10-31 16:40:46 (GMT)
commita60b09927d4c29756c428d4c38f5ee2810a8f66e (patch)
tree2486ff42da3095c96333d6f04daf6db5ef9fbbd5 /Source/cmake.h
parent487bd571d56134b15b1060e1921a7e16711f12e6 (diff)
downloadCMake-a60b09927d4c29756c428d4c38f5ee2810a8f66e.zip
CMake-a60b09927d4c29756c428d4c38f5ee2810a8f66e.tar.gz
CMake-a60b09927d4c29756c428d4c38f5ee2810a8f66e.tar.bz2
Generate separate dot files for each target, and a big one with everything.
The big all-in-one file is basically unusable for e.g. kdelibs, it contains around 1000 nodes and the created image is huuuuge ! Too big actually to be displayable or viewable or comprehensable. Alex
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index b2cc7e7..0de72d9 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -51,6 +51,7 @@ class cmDocumentationSection;
class cmPolicies;
class cmListFileBacktrace;
class cmTarget;
+class cmGeneratedFileStream;
class cmake
{
@@ -440,7 +441,14 @@ protected:
int getAllExternalLibs(const std::set<cmStdString>& ignoreTargetsSet,
std::map<cmStdString, cmStdString>& targetNamesNodes,
std::map<cmStdString, const cmTarget*>& targetPtrs,
- const char* graphNodePrefix) const;
+ const char* graphNodePrefix, int cnt) const;
+
+ void writeDotConnections(const char* targetName,
+ const std::map<cmStdString, cmStdString>& targetNamesNodes,
+ const std::map<cmStdString, const cmTarget*>& targetPtrs,
+ std::set<std::string>& insertedNodes,
+ std::set<std::string>& insertedConnections,
+ cmGeneratedFileStream& str) const;
///! Find the full path to one of the cmake programs like ctest, cpack, etc.
std::string FindCMakeProgram(const char* name) const;