summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-02-06 17:34:48 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-02-06 17:34:48 (GMT)
commit08fa5ddb1c0eac593aff143d0d6b00dd284df2a1 (patch)
treea9ebc1b8cc2fcd38e75ce44a755d7469e97c7fc2 /Source/cmake.cxx
parent4f96a7621fe57cd42dc659572eb2a31c84c65abd (diff)
downloadCMake-08fa5ddb1c0eac593aff143d0d6b00dd284df2a1.zip
CMake-08fa5ddb1c0eac593aff143d0d6b00dd284df2a1.tar.gz
CMake-08fa5ddb1c0eac593aff143d0d6b00dd284df2a1.tar.bz2
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/cmake.cxx')
-rw-r--r--Source/cmake.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index bab0aaf..c8de913 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -2898,6 +2898,7 @@ void cmake::GenerateGraphViz(const char* fileName) const
gvWriter->ReadSettings(settingsFile.c_str(), fallbackSettingsFile.c_str());
gvWriter->WritePerTargetFiles(fileName);
+ gvWriter->WriteTargetDependersFiles(fileName);
gvWriter->WriteGlobalFile(fileName);
#endif