FIX: make sure the object file name is correctly mangled for depend information
This commit is contained in:
parent
6257ca30a5
commit
144bc1e55c
|
@ -1892,6 +1892,7 @@ bool cmLocalUnixMakefileGenerator::OutputObjectDepends(std::ostream& fout)
|
||||||
m_GlobalGenerator->GetLanguageOutputExtensionFromExtension(
|
m_GlobalGenerator->GetLanguageOutputExtensionFromExtension(
|
||||||
(*source)->GetSourceExtension().c_str());
|
(*source)->GetSourceExtension().c_str());
|
||||||
s += outExt;
|
s += outExt;
|
||||||
|
s = this->CreateSafeUniqueObjectFileName(s.c_str());
|
||||||
fout << this->ConvertToRelativeOutputPath(s.c_str()) << " : "
|
fout << this->ConvertToRelativeOutputPath(s.c_str()) << " : "
|
||||||
<< this->ConvertToRelativeOutputPath(dep->c_str()) << "\n";
|
<< this->ConvertToRelativeOutputPath(dep->c_str()) << "\n";
|
||||||
ret = true;
|
ret = true;
|
||||||
|
|
Loading…
Reference in New Issue