summaryrefslogtreecommitdiffstats
path: root/Source/cmBorlandMakefileGenerator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-06-03 17:08:52 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-06-03 17:08:52 (GMT)
commit350f09ae6d267806051873027d47af64dab81547 (patch)
treec95550ea1645b93a2445989855d2be22da11e0de /Source/cmBorlandMakefileGenerator.cxx
parent5a286f1c90d7dc04188bd3b2f0aa0b9320462f89 (diff)
downloadCMake-350f09ae6d267806051873027d47af64dab81547.zip
CMake-350f09ae6d267806051873027d47af64dab81547.tar.gz
CMake-350f09ae6d267806051873027d47af64dab81547.tar.bz2
removed ccommand use cmake now
Diffstat (limited to 'Source/cmBorlandMakefileGenerator.cxx')
-rw-r--r--Source/cmBorlandMakefileGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmBorlandMakefileGenerator.cxx b/Source/cmBorlandMakefileGenerator.cxx
index c73d27b..b064364 100644
--- a/Source/cmBorlandMakefileGenerator.cxx
+++ b/Source/cmBorlandMakefileGenerator.cxx
@@ -102,8 +102,6 @@ void cmBorlandMakefileGenerator::OutputMakeVariables(std::ostream& fout)
std::string replaceVars = variables;
m_Makefile->ExpandVariablesInString(replaceVars);
- std::string ccommand = m_Makefile->GetDefinition("CCOMMAND_COMMAND");
- fout << "RM = " << this->ConvertToOutputPath(ccommand.c_str()) << " remove -f\n";
std::string ccompiler = m_Makefile->GetDefinition("CMAKE_C_COMPILER");
fout << "CMAKE_C_COMPILER = "
<< this->ConvertToOutputPath(ccompiler.c_str())
@@ -123,6 +121,7 @@ void cmBorlandMakefileGenerator::OutputMakeVariables(std::ostream& fout)
std::string cmakecommand = m_Makefile->GetDefinition("CMAKE_COMMAND");
fout << "CMAKE_COMMAND = "
<< this->ShortPath(cmakecommand.c_str()) << "\n";
+ fout << "RM = " << this->ShortPath(cmakecommand.c_str()) << " -E remove -f\n";
fout << replaceVars.c_str();
fout << "CMAKE_CURRENT_SOURCE = "