diff options
author | Brad King <brad.king@kitware.com> | 2019-10-17 17:54:11 +0000 |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-10-17 13:54:26 -0400 |
commit | 5417737fac3b6dce325a1e7b97267f974837da70 (patch) | |
tree | 05fb8661a32db3df6f0fd2c991bdcc154f68fd23 /Source/cmake.cxx | |
parent | d61b8921acde5650dbe6d20ec7b77c6f7522c876 (diff) | |
parent | 553658393c0e775efdec6b29b69c1274fb771e83 (diff) | |
download | cmake-5417737fac3b6dce325a1e7b97267f974837da70.tar.gz |
Merge topic 'graphviz'
553658393c Graphviz: added test suite, fixes, enhancements
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: slodki <slodki_dom@poczta.onet.pl>
Merge-request: !3766
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index bbd33a75bc..07a1fce293 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -2291,7 +2291,7 @@ void cmake::MarkCliAsUsed(const std::string& variable) void cmake::GenerateGraphViz(const std::string& fileName) const { #ifndef CMAKE_BOOTSTRAP - cmGraphVizWriter gvWriter(this->GetGlobalGenerator()); + cmGraphVizWriter gvWriter(fileName, this->GetGlobalGenerator()); std::string settingsFile = cmStrCat(this->GetHomeOutputDirectory(), "/CMakeGraphVizOptions.cmake"); @@ -2299,9 +2299,8 @@ void cmake::GenerateGraphViz(const std::string& fileName) const cmStrCat(this->GetHomeDirectory(), "/CMakeGraphVizOptions.cmake"); gvWriter.ReadSettings(settingsFile, fallbackSettingsFile); - gvWriter.WritePerTargetFiles(fileName); - gvWriter.WriteTargetDependersFiles(fileName); - gvWriter.WriteGlobalFile(fileName); + + gvWriter.Write(); #endif } |