BUG: use windows paths for utility depends

This commit is contained in:
Bill Hoffman 2002-09-03 10:41:58 -04:00
parent 231c9dad5a
commit 1fc3bb4377
1 changed files with 5 additions and 2 deletions

View File

@ -811,6 +811,7 @@ void cmUnixMakefileGenerator::OutputUtilityRule(std::ostream& fout,
std::string comment = "Rule to build Utility "; std::string comment = "Rule to build Utility ";
comment += name; comment += name;
std::string depends; std::string depends;
std::string replaceVars;
const std::vector<cmCustomCommand> &ccs = t.GetCustomCommands(); const std::vector<cmCustomCommand> &ccs = t.GetCustomCommands();
for(std::vector<cmCustomCommand>::const_iterator i = ccs.begin(); for(std::vector<cmCustomCommand>::const_iterator i = ccs.begin();
i != ccs.end(); ++i) i != ccs.end(); ++i)
@ -820,7 +821,9 @@ void cmUnixMakefileGenerator::OutputUtilityRule(std::ostream& fout,
d != dep.end(); ++d) d != dep.end(); ++d)
{ {
depends += " \\\n"; depends += " \\\n";
depends += *d; replaceVars = *d;
m_Makefile->ExpandVariablesInString(replaceVars);
depends += this->ConvertToOutputPath(replaceVars.c_str());
} }
} }
this->OutputMakeRule(fout, this->OutputMakeRule(fout,