Browse Source

SCons: Disable `show_progress` with ninja

Thaddeus Crews 1 năm trước cách đây
mục cha
commit
a7e7167a85
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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