mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user