summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-09 14:37:15 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-01-09 14:37:15 (GMT)
commitf3a9eb45605638b42ca431731080875470cc229a (patch)
tree9150edfa3a23ca8af4d8a5b2c0f38ca6c819ce9e /Source/cmVisualStudio10TargetGenerator.cxx
parentdf55a930fa2a2af933a351efe0a24dd2f958a541 (diff)
parentc1311077b82e1ac4599101467162cdb45be217ec (diff)
downloadCMake-f3a9eb45605638b42ca431731080875470cc229a.zip
CMake-f3a9eb45605638b42ca431731080875470cc229a.tar.gz
CMake-f3a9eb45605638b42ca431731080875470cc229a.tar.bz2
Merge topic 'vs10-include-backslashes'
c131107 VS: Convert include path to backslashes for VS >= 10
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 784cadb..0434506 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -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);