Răsfoiți Sursa

Watcom: Suppress WMake interactive prompt on error

Add the "-e" option to build.make invocations of wmake as part of
the silencing flags.  From "wmake /?":

 -e erase files after error (no prompt)

This prevents test timeouts on error.
Brad King 12 ani în urmă
părinte
comite
abd2b36089
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Source/cmGlobalWatcomWMakeGenerator.cxx

+ 1 - 1
Source/cmGlobalWatcomWMakeGenerator.cxx

@@ -47,7 +47,7 @@ cmLocalGenerator *cmGlobalWatcomWMakeGenerator::CreateLocalGenerator()
   lg->SetDefineWindowsNULL(true);
   lg->SetWindowsShell(true);
   lg->SetWatcomWMake(true);
-  lg->SetMakeSilentFlag("-s -h");
+  lg->SetMakeSilentFlag("-s -h -e");
   lg->SetGlobalGenerator(this);
   lg->SetIgnoreLibPrefix(true);
   lg->SetPassMakeflags(false);