浏览代码

ENH: More scripting changes

Andy Cedilnik 22 年之前
父节点
当前提交
3b7c4b2a7b
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      Source/cmGlobalGenerator.cxx

+ 4 - 1
Source/cmGlobalGenerator.cxx

@@ -371,7 +371,10 @@ void cmGlobalGenerator::Configure()
                          "Please set the following variables:\n",
                          notFoundVars.c_str());
     }
-  m_CMakeInstance->UpdateProgress("Configuring done", -1);
+  if ( !m_CMakeInstance->GetScriptMode() )
+    {
+    m_CMakeInstance->UpdateProgress("Configuring done", -1);
+    }
 }
 
 // loop through the directories creating cmLocalGenerators and Configure()