diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-06-03 17:08:52 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-06-03 17:08:52 (GMT) |
commit | 350f09ae6d267806051873027d47af64dab81547 (patch) | |
tree | c95550ea1645b93a2445989855d2be22da11e0de /Source/cmNMakeMakefileGenerator.cxx | |
parent | 5a286f1c90d7dc04188bd3b2f0aa0b9320462f89 (diff) | |
download | CMake-350f09ae6d267806051873027d47af64dab81547.zip CMake-350f09ae6d267806051873027d47af64dab81547.tar.gz CMake-350f09ae6d267806051873027d47af64dab81547.tar.bz2 |
removed ccommand use cmake now
Diffstat (limited to 'Source/cmNMakeMakefileGenerator.cxx')
-rw-r--r-- | Source/cmNMakeMakefileGenerator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmNMakeMakefileGenerator.cxx b/Source/cmNMakeMakefileGenerator.cxx index cdb42b1..14222ad 100644 --- a/Source/cmNMakeMakefileGenerator.cxx +++ b/Source/cmNMakeMakefileGenerator.cxx @@ -170,8 +170,6 @@ void cmNMakeMakefileGenerator::OutputMakeVariables(std::ostream& fout) std::string replaceVars = variables; m_Makefile->ExpandVariablesInString(replaceVars); fout << replaceVars.c_str(); - std::string ccommand = m_Makefile->GetDefinition("CCOMMAND_COMMAND"); - fout << "RM = " << this->ShortPath(ccommand.c_str()) << " remove -f\n"; std::string ccompiler = m_Makefile->GetDefinition("CMAKE_C_COMPILER"); fout << "CMAKE_C_COMPILER = " << this->ShortPath(ccompiler.c_str()) << "\n"; @@ -191,6 +189,7 @@ void cmNMakeMakefileGenerator::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"; if(m_Makefile->GetDefinition("CMAKE_EDIT_COMMAND")) { |