ENH: fix so verbose is put in the correct place

This commit is contained in:
Bill Hoffman 2005-12-30 21:54:03 -05:00
parent 9b97f43342
commit 9b0a485c75
1 changed files with 8 additions and 8 deletions

View File

@ -1004,14 +1004,6 @@ cmLocalUnixMakefileGenerator3
<< "\n";
}
if(m_Makefile->IsOn("CMAKE_VERBOSE_MAKEFILE"))
{
makefileStream
<< "# Produce verbose output by default.\n"
<< "VERBOSE = 1\n"
<< "\n";
}
std::string cmakecommand =
m_Makefile->GetRequiredDefinition("CMAKE_COMMAND");
makefileStream
@ -1197,6 +1189,14 @@ cmLocalUnixMakefileGenerator3
std::vector<std::string> commands;
commands.clear();
std::vector<std::string> no_depends;
if(m_Makefile->IsOn("CMAKE_VERBOSE_MAKEFILE"))
{
makefileStream
<< "# Produce verbose output by default.\n"
<< "VERBOSE = 1\n"
<< "\n";
}
this->WriteMakeRule(makefileStream,
"Suppress display of executed commands.",
"$(VERBOSE).SILENT",