Commit 0b9521da authored by Bill Hoffman's avatar Bill Hoffman

BUG: fix build with non-borland compiler

parent baa7a402
......@@ -272,8 +272,10 @@ void cmBorlandMakefileGenerator::OutputMakefile(const char* file)
std::string ext = i->GetSourceExtension();
if (!i->IsAHeaderFileOnly() && (ext!="def" && ext!="rc"))
{
std::string sourceName = i->GetSourceName();
cmSystemTools::ConvertToWindowsSlashes(sourceName);
fout << " \\\n " <<
cmSystemTools::ConvertToWindowsSlashes(i->GetSourceName())
sourceName
<< ".obj ";
}
}
......@@ -399,8 +401,10 @@ void cmBorlandMakefileGenerator::OutputMakefile(const char* file)
{
fullname = i->GetFullPath();
cmSystemTools::ReplaceString(fullname, outpath.c_str(), "");
std::string sourceName = i->GetSourceName();
cmSystemTools::ConvertToWindowsSlashes(sourceName);
fout << ""
<< cmSystemTools::ConvertToWindowsSlashes(i->GetSourceName())
<< sourceName
<< ".obj : " << fullname << "\n";
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment