Forráskód Böngészése

SCons: Disable `show_progress` with ninja

Thaddeus Crews 1 éve
szülő
commit
a7e7167a85
1 módosított fájl, 4 hozzáadás és 0 törlés
  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