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:
parent
e15249f11e
commit
b9f3de8491
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue