BUG: more fixes for relative path stuff
This commit is contained in:
parent
ae0f6d9207
commit
bcc0b4018d
|
@ -491,7 +491,7 @@ void cmLocalUnixMakefileGenerator::OutputTargetRules(std::ostream& fout)
|
||||||
path = m_LibraryOutputPath;
|
path = m_LibraryOutputPath;
|
||||||
path += this->GetFullTargetName(l->first.c_str(), l->second);
|
path += this->GetFullTargetName(l->first.c_str(), l->second);
|
||||||
fout << " \\\n"
|
fout << " \\\n"
|
||||||
<< this->ConvertToRelativeOutputPath(path.c_str());
|
<< this->ConvertToMakeTarget(this->ConvertToRelativeOutputPath(path.c_str()).c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -505,7 +505,7 @@ void cmLocalUnixMakefileGenerator::OutputTargetRules(std::ostream& fout)
|
||||||
{
|
{
|
||||||
path = m_ExecutableOutputPath;
|
path = m_ExecutableOutputPath;
|
||||||
path += this->GetFullTargetName(l->first.c_str(), l->second);
|
path += this->GetFullTargetName(l->first.c_str(), l->second);
|
||||||
fout << " \\\n" << this->ConvertToRelativeOutputPath(path.c_str());
|
fout << " \\\n" << this->ConvertToMakeTarget(this->ConvertToRelativeOutputPath(path.c_str()).c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// list utilities last
|
// list utilities last
|
||||||
|
@ -1498,7 +1498,7 @@ void cmLocalUnixMakefileGenerator::OutputUtilityRule(std::ostream& fout,
|
||||||
depends += " \\\n";
|
depends += " \\\n";
|
||||||
replaceVars = *d;
|
replaceVars = *d;
|
||||||
m_Makefile->ExpandVariablesInString(replaceVars);
|
m_Makefile->ExpandVariablesInString(replaceVars);
|
||||||
depends += this->ConvertToRelativeOutputPath(replaceVars.c_str());
|
depends += this->ConvertToMakeTarget(this->ConvertToRelativeOutputPath(replaceVars.c_str()).c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this->OutputMakeRule(fout, comment.c_str(), name,
|
this->OutputMakeRule(fout, comment.c_str(), name,
|
||||||
|
|
Loading…
Reference in New Issue