ENH: add better error reporting for file open failures

This commit is contained in:
Bill Hoffman
2004-09-07 16:55:25 -04:00
parent 8f92e8c069
commit b5bdf2cb0a
14 changed files with 17 additions and 2 deletions
+1
View File
@@ -141,6 +141,7 @@ int cmTryCompileCommand::CoreTryCompileCode(
{
cmSystemTools::Error("Failed to create CMakeList file for ",
outFileName.c_str());
cmSystemTools::ReportLastSystemError("");
return -1;
}