Commit e14ecec4 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: add output when creating files

parent 07bd60f6
...@@ -648,6 +648,7 @@ void cmMakefile::GenerateCacheOnly() ...@@ -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());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment