diff options
author | Alex Neundorf <neundorf@kde.org> | 2010-11-14 18:33:12 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2010-11-14 18:33:12 (GMT) |
commit | 2a5790a080d86c63daf3d2c17d533c919cbef582 (patch) | |
tree | c4f0138c088f3c4291a10ef83ed72b9f1de69aed /Source | |
parent | 7ba2d365858d259572b22ab35ea6c709ba1514ea (diff) | |
download | CMake-2a5790a080d86c63daf3d2c17d533c919cbef582.zip CMake-2a5790a080d86c63daf3d2c17d533c919cbef582.tar.gz CMake-2a5790a080d86c63daf3d2c17d533c919cbef582.tar.bz2 |
Use std::cout instead of fprintf
Alex
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGraphVizWriter.cxx | 5 | ||||
-rw-r--r-- | Source/cmGraphVizWriter.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmGraphVizWriter.cxx b/Source/cmGraphVizWriter.cxx index b62badf..94918a5 100644 --- a/Source/cmGraphVizWriter.cxx +++ b/Source/cmGraphVizWriter.cxx @@ -164,7 +164,7 @@ void cmGraphVizWriter::WritePerTargetFiles(const char* fileName) return; } - fprintf(stderr, "Writing %s...\n", currentFilename.c_str()); + std::cout << "Writing " << currentFilename << "..." << std::endl; this->WriteHeader(str); this->WriteConnections(ptrIt->first.c_str(), @@ -184,7 +184,8 @@ void cmGraphVizWriter::WriteGlobalFile(const char* fileName) } this->WriteHeader(str); - fprintf(stderr, "Writing %s...\n", fileName); + std::cout << "Writing " << fileName << "..." << std::endl; + std::set<std::string> insertedConnections; std::set<std::string> insertedNodes; diff --git a/Source/cmGraphVizWriter.h b/Source/cmGraphVizWriter.h index af8b716..c9e5fbd 100644 --- a/Source/cmGraphVizWriter.h +++ b/Source/cmGraphVizWriter.h @@ -65,14 +65,14 @@ protected: bool GenerateForSharedLibs; bool GenerateForModuleLibs; + std::set<cmStdString> TargetsToIgnore; + const std::vector<cmLocalGenerator*>& LocalGenerators; std::map<cmStdString, const cmTarget*> TargetPtrs; // maps from the actual target names to node names in dot: std::map<cmStdString, cmStdString> TargetNamesNodes; - std::set<cmStdString> TargetsToIgnore; - }; #endif |