summaryrefslogtreecommitdiffstats
path: root/Source/cmBuildCommand.cxx
diff options
context:
space:
mode:
authorJohn Biddiscombe <jbiddiscombe@skippingmouse.co.uk>2001-09-01 21:13:18 (GMT)
committerJohn Biddiscombe <jbiddiscombe@skippingmouse.co.uk>2001-09-01 21:13:18 (GMT)
commitecff0d36ac396c6fd905bd639a2f2a604d1aad43 (patch)
tree0fc97c9637b217e3d2fb2f9b30564b7fb6af9982 /Source/cmBuildCommand.cxx
parent2f6e0d47039f3e0975a924785c4e3effff70d9ce (diff)
downloadCMake-ecff0d36ac396c6fd905bd639a2f2a604d1aad43.zip
CMake-ecff0d36ac396c6fd905bd639a2f2a604d1aad43.tar.gz
CMake-ecff0d36ac396c6fd905bd639a2f2a604d1aad43.tar.bz2
ENH: Added a clause for Borland compiler compatibility
Diffstat (limited to 'Source/cmBuildCommand.cxx')
-rw-r--r--Source/cmBuildCommand.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmBuildCommand.cxx b/Source/cmBuildCommand.cxx
index 8d75237..528c365 100644
--- a/Source/cmBuildCommand.cxx
+++ b/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;