SCons: Reduce and cleanup verbose output for SCU builds

Verbose output is meant for debugging the SCU mode itself and can be
triggered by changing the `_verbose` bool manually.

Prefix all prints with "SCU:" for context, and print the processed
folders all at once instead of when adding the sources.
This commit is contained in:
Rémi Verschelde 2023-10-26 13:17:27 +02:00
parent 46cb7f94f7
commit 495245ed89
No known key found for this signature in database
GPG key ID: C3336907360768E1
3 changed files with 16 additions and 19 deletions

View file

@ -96,9 +96,6 @@ def add_source_files_scu(self, sources, files, allow_gen=False):
if section_name not in (_scu_folders):
return False
if self["verbose"]:
print("SCU building " + section_name)
# Add all the gen.cpp files in the SCU directory
add_source_files_orig(self, sources, subdir + "scu/scu_*.gen.cpp", True)
return True