소스 검색

ENH: fix so verbose is put in the correct place

Bill Hoffman 20 년 전
부모
커밋
9b0a485c75
1개의 변경된 파일8개의 추가작업 그리고 8개의 파일을 삭제
  1. 8 8
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 8 - 8
Source/cmLocalUnixMakefileGenerator3.cxx

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