BUG: fix for paths with spaces

This commit is contained in:
Bill Hoffman 2002-03-14 14:59:00 -05:00
parent 15d365cddd
commit d981347866
1 changed files with 4 additions and 5 deletions

View File

@ -151,19 +151,18 @@ void cmDSPWriter::AddDSPBuildRule(cmSourceGroup& sourceGroup)
m_Makefile->ExpandVariablesInString(dsprule);
dsprule = cmSystemTools::ConvertToOutputPath(dsprule.c_str());
std::string args = makefileIn;
args += " -H\"";
args += " -H";
args +=
cmSystemTools::ConvertToOutputPath(m_Makefile->GetHomeDirectory());
args += "\" -S\"";
args += " -S";
args +=
cmSystemTools::ConvertToOutputPath(m_Makefile->GetStartDirectory());
args += "\" -O\"";
args += " -O";
args +=
cmSystemTools::ConvertToOutputPath(m_Makefile->GetStartOutputDirectory());
args += "\" -B\"";
args += " -B";
args +=
cmSystemTools::ConvertToOutputPath(m_Makefile->GetHomeOutputDirectory());
args += "\"";
m_Makefile->ExpandVariablesInString(args);
std::string configFile =