diff options
author | Brad King <brad.king@kitware.com> | 2019-03-07 14:15:48 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-03-07 14:15:57 (GMT) |
commit | 591fab8a6a49d4067121059d0e5c1092eccafc5b (patch) | |
tree | 2ab13af5826d76a8230c5e0f5abcc0d071ef5f9c | |
parent | 8f05be992172e6d65bbb23426231fa253d7f15c9 (diff) | |
parent | 0bf4418017d7d6f653a8e3192a8f628a35587a04 (diff) | |
download | CMake-591fab8a6a49d4067121059d0e5c1092eccafc5b.zip CMake-591fab8a6a49d4067121059d0e5c1092eccafc5b.tar.gz CMake-591fab8a6a49d4067121059d0e5c1092eccafc5b.tar.bz2 |
Merge topic 'vs-explicit-newline'
0bf4418017 VS: Encode newlines in XML attributes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3065
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index b655815..5c9f25e 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -35,6 +35,7 @@ static std::string cmVS10EscapeAttr(std::string arg) cmSystemTools::ReplaceString(arg, "<", "<"); cmSystemTools::ReplaceString(arg, ">", ">"); cmSystemTools::ReplaceString(arg, "\"", """); + cmSystemTools::ReplaceString(arg, "\n", " "); return arg; } |