Use std::cout instead of fprintf

Alex
This commit is contained in:
Alex Neundorf 2010-11-14 19:33:12 +01:00
parent 7ba2d36585
commit 2a5790a080
2 changed files with 5 additions and 4 deletions

View File

@ -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;

View File

@ -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