ENH: Added a clause for Borland compiler compatibility

This commit is contained in:
John Biddiscombe 2001-09-01 17:13:18 -04:00
parent 2f6e0d4703
commit ecff0d36ac
1 changed files with 7 additions and 0 deletions

View File

@ -68,6 +68,13 @@ bool cmBuildCommand::InitialPass(std::vector<std::string>& args)
makecommand += m_Makefile->GetProjectName();
makecommand += ".dsw /MAKE \"ALL_BUILD - Release\" ";
}
else if(makeprogram.find("Borland") != std::string::npos ||
makeprogram.find("BORLAND") != std::string::npos ||
makeprogram.find("borland") != std::string::npos)
{
makecommand = makeprogram;
makecommand += " -K";
}
else
{
makecommand = makeprogram;