BUG: When writing newlines between script portions in prebuild, prelink, and postbuild command lines they must be escaped for XML so that the IDE receives them. This fixes the fix for bug #3977.

This commit is contained in:
Brad King 2006-10-26 10:49:29 -04:00
parent e15249f11e
commit b9f3de8491
1 changed files with 3 additions and 3 deletions

View File

@ -1440,7 +1440,7 @@ void cmLocalVisualStudio7Generator
}
else
{
fout << "\n";
fout << this->EscapeForXML("\n");
}
std::string script =
this->ConstructScript(cr->GetCommandLines(),
@ -1469,7 +1469,7 @@ void cmLocalVisualStudio7Generator
}
else
{
fout << "\n";
fout << this->EscapeForXML("\n");
}
std::string script =
this->ConstructScript(cr->GetCommandLines(),
@ -1498,7 +1498,7 @@ void cmLocalVisualStudio7Generator
}
else
{
fout << "\n";
fout << this->EscapeForXML("\n");
}
std::string script =
this->ConstructScript(cr->GetCommandLines(),