BUG: Adjust prebuild/prelink/postbuild script construction to account for ConstructScript no longer producing trailing newlines. This addresses bug#3977.

This commit is contained in:
Brad King
2006-10-25 12:49:27 -04:00
parent e23b82c2cf
commit 89f098bc59
2 changed files with 21 additions and 10 deletions
+12
View File
@@ -1438,6 +1438,10 @@ void cmLocalVisualStudio7Generator
fout << "\nCommandLine=\"";
init = true;
}
else
{
fout << "\n";
}
std::string script =
this->ConstructScript(cr->GetCommandLines(),
cr->GetWorkingDirectory(),
@@ -1463,6 +1467,10 @@ void cmLocalVisualStudio7Generator
fout << "\nCommandLine=\"";
init = true;
}
else
{
fout << "\n";
}
std::string script =
this->ConstructScript(cr->GetCommandLines(),
cr->GetWorkingDirectory(),
@@ -1488,6 +1496,10 @@ void cmLocalVisualStudio7Generator
fout << "\nCommandLine=\"";
init = true;
}
else
{
fout << "\n";
}
std::string script =
this->ConstructScript(cr->GetCommandLines(),
cr->GetWorkingDirectory(),