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.
This commit is contained in:
Brad King 2013-08-01 14:58:54 -04:00
parent b341bf2178
commit e7bcdf856e
1 changed files with 1 additions and 1 deletions

View File

@ -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);