diff options
author | Brad King <brad.king@kitware.com> | 2006-10-26 14:49:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-10-26 14:49:29 (GMT) |
commit | b9f3de84915258545ecf91c9e2b525b9087976e3 (patch) | |
tree | 6852ac2232653c019c85afe0065a632a87bfbdcb | |
parent | e15249f11e66c4e245c4f72b12eccc1162eda640 (diff) | |
download | CMake-b9f3de84915258545ecf91c9e2b525b9087976e3.zip CMake-b9f3de84915258545ecf91c9e2b525b9087976e3.tar.gz CMake-b9f3de84915258545ecf91c9e2b525b9087976e3.tar.bz2 |
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.
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index b650157..bf85145 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -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(), |