Explorar o código

SCons: Disable `show_progress` with ninja

Thaddeus Crews hai 1 ano
pai
achega
a7e7167a85
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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