Merge branch 'vs10-include-backslashes' into release

This commit is contained in:
Brad King 2014-01-09 14:06:08 -05:00
commit 6d004976de
1 changed files with 3 additions and 1 deletions

View File

@ -1420,7 +1420,9 @@ OutputIncludes(std::vector<std::string> const & includes)
for(std::vector<std::string>::const_iterator i = includes.begin();
i != includes.end(); ++i)
{
*this->BuildFileStream << cmVS10EscapeXML(*i) << ";";
std::string incDir = *i;
this->ConvertToWindowsSlash(incDir);
*this->BuildFileStream << cmVS10EscapeXML(incDir) << ";";
}
this->WriteString("%(AdditionalIncludeDirectories)"
"</AdditionalIncludeDirectories>\n", 0);