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:
parent
b341bf2178
commit
e7bcdf856e
|
@ -1389,7 +1389,7 @@ OutputIncludes(std::vector<std::string> const & includes)
|
||||||
for(std::vector<std::string>::const_iterator i = includes.begin();
|
for(std::vector<std::string>::const_iterator i = includes.begin();
|
||||||
i != includes.end(); ++i)
|
i != includes.end(); ++i)
|
||||||
{
|
{
|
||||||
*this->BuildFileStream << *i << ";";
|
*this->BuildFileStream << cmVS10EscapeXML(*i) << ";";
|
||||||
}
|
}
|
||||||
this->WriteString("%(AdditionalIncludeDirectories)"
|
this->WriteString("%(AdditionalIncludeDirectories)"
|
||||||
"</AdditionalIncludeDirectories>\n", 0);
|
"</AdditionalIncludeDirectories>\n", 0);
|
||||||
|
|
Loading…
Reference in New Issue