Commit 7e37a0ca authored by Ken Martin's avatar Ken Martin

include fixes

parent 8ff79eb8
......@@ -73,7 +73,19 @@ void cmDSPWriter::OutputDSPFile()
for(i = includes.begin(); i != includes.end(); ++i)
{
m_IncludeOptions += " /I ";
m_IncludeOptions += cmSystemTools::ConvertToWindowsSlashesAndCleanUp(cmSystemTools::EscapeSpaces(i->c_str()));
std::string tmp = cmSystemTools::ConvertToWindowsSlashesAndCleanUp(cmSystemTools::EscapeSpaces(i->c_str()));
// quote if not already quoted
if (tmp[0] != '"')
{
m_IncludeOptions += "\"";
m_IncludeOptions += tmp;
m_IncludeOptions += "\"";
}
else
{
m_IncludeOptions += tmp;
}
}
// Create the DSP or set of DSP's for libraries and executables
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment