Merge topic 'vs10-include-backslashes'

c131107 VS: Convert include path to backslashes for VS >= 10
This commit is contained in:
Brad King 2014-01-09 09:37:15 -05:00 committed by CMake Topic Stage
commit f3a9eb4560
1 changed files with 3 additions and 1 deletions

View File

@ -1425,7 +1425,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);