Sfoglia il codice sorgente

SCons: Disable `show_progress` with ninja

Thaddeus Crews 1 anno fa
parent
commit
a7e7167a85
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      methods.py

+ 4 - 0
methods.py

@@ -990,6 +990,10 @@ def using_emcc(env):
 
 
 def show_progress(env):
+    if env["ninja"]:
+        # Has its own progress/tracking tool that clashes with ours
+        return
+
     import sys
     from SCons.Script import Progress, Command, AlwaysBuild