diff --git a/Source/cmGraphVizWriter.cxx b/Source/cmGraphVizWriter.cxx index b62badfbee..94918a5e60 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 af8b71638a..c9e5fbdc4a 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