Browse Source

ENH: fix so verbose is put in the correct place

Bill Hoffman 20 years ago
parent
commit
9b0a485c75
1 changed files with 8 additions and 8 deletions
  1. 8 8
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 8 - 8
Source/cmLocalUnixMakefileGenerator3.cxx

@@ -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",