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

View File

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