summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-08-01 18:58:54 (GMT)
committerBrad King <brad.king@kitware.com>2013-08-01 19:00:28 (GMT)
commite7bcdf856e13a17aacff7218dca99363cc38d007 (patch)
treeb08bc9576060705fdf8ca5afa90dc99a5d573979 /Source/cmVisualStudio10TargetGenerator.cxx
parentb341bf2178e3923636735ae1df53a33e5857df7d (diff)
downloadCMake-e7bcdf856e13a17aacff7218dca99363cc38d007.zip
CMake-e7bcdf856e13a17aacff7218dca99363cc38d007.tar.gz
CMake-e7bcdf856e13a17aacff7218dca99363cc38d007.tar.bz2
VS10: Escape include paths in XML project files (#14331)
Fix generation of the AdditionalIncludeDirectories element content to escape for XML syntax. We already escape content of other elements, this one was simply missing by accident.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 1130704..937509e 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -1389,7 +1389,7 @@ OutputIncludes(std::vector<std::string> const & includes)
for(std::vector<std::string>::const_iterator i = includes.begin();
i != includes.end(); ++i)
{
- *this->BuildFileStream << *i << ";";
+ *this->BuildFileStream << cmVS10EscapeXML(*i) << ";";
}
this->WriteString("%(AdditionalIncludeDirectories)"
"</AdditionalIncludeDirectories>\n", 0);