From 2a5790a080d86c63daf3d2c17d533c919cbef582 Mon Sep 17 00:00:00 2001 From: Alex Neundorf Date: Sun, 14 Nov 2010 19:33:12 +0100 Subject: [PATCH] Use std::cout instead of fprintf Alex --- Source/cmGraphVizWriter.cxx | 5 +++-- Source/cmGraphVizWriter.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Source/cmGraphVizWriter.cxx b/Source/cmGraphVizWriter.cxx index b62badfbe..94918a5e6 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 insertedConnections; std::set insertedNodes; diff --git a/Source/cmGraphVizWriter.h b/Source/cmGraphVizWriter.h index af8b71638..c9e5fbdc4 100644 --- a/Source/cmGraphVizWriter.h +++ b/Source/cmGraphVizWriter.h @@ -65,14 +65,14 @@ protected: bool GenerateForSharedLibs; bool GenerateForModuleLibs; + std::set TargetsToIgnore; + const std::vector& LocalGenerators; std::map TargetPtrs; // maps from the actual target names to node names in dot: std::map TargetNamesNodes; - std::set TargetsToIgnore; - }; #endif