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