1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00

SCons: Improve colored output

This commit is contained in:
Thaddeus Crews
2024-06-22 09:42:30 -05:00
parent a372214a4a
commit d8761f2c79
12 changed files with 150 additions and 255 deletions

View File

@@ -13,7 +13,7 @@ from emscripten_helpers import (
)
from SCons.Util import WhereIs
from methods import get_compiler_version, print_error, print_warning
from methods import get_compiler_version, print_error, print_info, print_warning
from platform_methods import validate_arch
if TYPE_CHECKING:
@@ -107,7 +107,7 @@ def configure(env: "SConsEnvironment"):
env.Append(LINKFLAGS=["-sASSERTIONS=1"])
if env.editor_build and env["initial_memory"] < 64:
print("Note: Forcing `initial_memory=64` as it is required for the web editor.")
print_info("Forcing `initial_memory=64` as it is required for the web editor.")
env["initial_memory"] = 64
env.Append(LINKFLAGS=["-sINITIAL_MEMORY=%sMB" % env["initial_memory"]])