mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
ENH: add better error reporting for file open failures
This commit is contained in:
@@ -149,6 +149,7 @@ void cmLocalVisualStudio6Generator::CreateSingleDSP(const char *lname, cmTarget
|
||||
if(!fout)
|
||||
{
|
||||
cmSystemTools::Error("Error Writing ", fname.c_str());
|
||||
cmSystemTools::ReportLastSystemError("");
|
||||
}
|
||||
this->WriteDSPFile(fout,lname,target);
|
||||
fout.close();
|
||||
|
||||
Reference in New Issue
Block a user