Browse Source

ENH: Added a clause for Borland compiler compatibility

John Biddiscombe 24 years ago
parent
commit
ecff0d36ac
1 changed files with 7 additions and 0 deletions
  1. 7 0
      Source/cmBuildCommand.cxx

+ 7 - 0
Source/cmBuildCommand.cxx

@@ -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;