Browse Source

SCons: Disable `show_progress` with ninja

Thaddeus Crews 1 year ago
parent
commit
a7e7167a85
1 changed files with 4 additions and 0 deletions
  1. 4 0
      methods.py

+ 4 - 0
methods.py

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