瀏覽代碼

SCons: Disable `show_progress` with ninja

Thaddeus Crews 1 年之前
父節點
當前提交
a7e7167a85
共有 1 個文件被更改,包括 4 次插入0 次删除
  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