diff options
author | Brad King <brad.king@kitware.com> | 2014-01-09 14:37:15 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-01-09 14:37:15 (GMT) |
commit | f3a9eb45605638b42ca431731080875470cc229a (patch) | |
tree | 9150edfa3a23ca8af4d8a5b2c0f38ca6c819ce9e /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | df55a930fa2a2af933a351efe0a24dd2f958a541 (diff) | |
parent | c1311077b82e1ac4599101467162cdb45be217ec (diff) | |
download | CMake-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.cxx | 4 |
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); |