ENH: add output when creating files

This commit is contained in:
Bill Hoffman 2001-04-27 09:32:55 -04:00
parent 07bd60f6b3
commit e14ecec4c7
1 changed files with 1 additions and 0 deletions

View File

@ -648,6 +648,7 @@ void cmMakefile::GenerateCacheOnly()
std::string dest = mf->GetStartOutputDirectory(); std::string dest = mf->GetStartOutputDirectory();
dest += "/Makefile"; dest += "/Makefile";
std::ofstream fout(dest.c_str()); std::ofstream fout(dest.c_str());
std::cout << "cmake: creating : " << dest.c_str() << "\n";
if(!fout) if(!fout)
{ {
cmSystemTools::Error("Failed to open file for write " , dest.c_str()); cmSystemTools::Error("Failed to open file for write " , dest.c_str());