summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-25 16:49:27 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-25 16:49:27 (GMT)
commit89f098bc59a41fa1a3387c493f97705242315311 (patch)
treec784d48c82dc0a535fba5d6ac56ecb7719cb80a8 /Source/cmLocalVisualStudio7Generator.cxx
parente23b82c2cfee4437bc191f867348076f61f81dc3 (diff)
downloadCMake-89f098bc59a41fa1a3387c493f97705242315311.zip
CMake-89f098bc59a41fa1a3387c493f97705242315311.tar.gz
CMake-89f098bc59a41fa1a3387c493f97705242315311.tar.bz2
BUG: Adjust prebuild/prelink/postbuild script construction to account for ConstructScript no longer producing trailing newlines. This addresses bug#3977.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 262d92e..b650157 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -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(),