diff options
author | John Biddiscombe <jbiddiscombe@skippingmouse.co.uk> | 2001-09-01 21:13:18 (GMT) |
---|---|---|
committer | John Biddiscombe <jbiddiscombe@skippingmouse.co.uk> | 2001-09-01 21:13:18 (GMT) |
commit | ecff0d36ac396c6fd905bd639a2f2a604d1aad43 (patch) | |
tree | 0fc97c9637b217e3d2fb2f9b30564b7fb6af9982 /Source/cmBuildCommand.cxx | |
parent | 2f6e0d47039f3e0975a924785c4e3effff70d9ce (diff) | |
download | CMake-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.cxx | 7 |
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; |