diff options
author | Brad King <brad.king@kitware.com> | 2006-10-25 16:49:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-10-25 16:49:27 (GMT) |
commit | 89f098bc59a41fa1a3387c493f97705242315311 (patch) | |
tree | c784d48c82dc0a535fba5d6ac56ecb7719cb80a8 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | e23b82c2cfee4437bc191f867348076f61f81dc3 (diff) | |
download | CMake-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.cxx | 12 |
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(), |