ENH: fix for borland tlib files with dash in them problem.
This commit is contained in:
parent
142119be95
commit
12c5f0fa26
|
@ -303,7 +303,7 @@ void cmBorlandMakefileGenerator::OutputStaticLibraryRule(std::ostream& fout,
|
|||
deleteCommand += target;
|
||||
|
||||
command += " $(";
|
||||
command += std::string(name) + "_SRC_OBJS)";
|
||||
command += std::string(name) + "_SRC_OBJS_QUOTED)";
|
||||
command += "\n|\n";
|
||||
std::string comment = "rule to build static library: ";
|
||||
comment += name;
|
||||
|
|
|
@ -378,6 +378,21 @@ void cmUnixMakefileGenerator::OutputTargetRules(std::ostream& fout)
|
|||
}
|
||||
}
|
||||
fout << "\n\n";
|
||||
fout << l->first << "_SRC_OBJS_QUOTED = ";
|
||||
for(std::vector<cmSourceFile>::iterator i = classes.begin();
|
||||
i != classes.end(); i++)
|
||||
{
|
||||
if(!i->IsAHeaderFileOnly())
|
||||
{
|
||||
std::string outExt(this->GetOutputExtension(i->GetSourceExtension().c_str()));
|
||||
if(outExt.size())
|
||||
{
|
||||
fout << "\\\n\"" << this->ConvertToNativePath(i->GetSourceName().c_str())
|
||||
<< outExt.c_str() << "\" ";
|
||||
}
|
||||
}
|
||||
}
|
||||
fout << "\n\n";
|
||||
}
|
||||
}
|
||||
fout << "CLEAN_OBJECT_FILES = ";
|
||||
|
|
Loading…
Reference in New Issue