mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Use default console subsystem on Windows for dev builds
This commit is contained in:
parent
a082501173
commit
da8f06b0f9
1 changed files with 5 additions and 3 deletions
|
@ -259,7 +259,9 @@ class MachCommands(CommandBase):
|
||||||
servo_exe_dir)
|
servo_exe_dir)
|
||||||
if "msvc" in (target or host_triple()):
|
if "msvc" in (target or host_triple()):
|
||||||
msvc_x64 = "64" if "x86_64" in (target or host_triple()) else ""
|
msvc_x64 = "64" if "x86_64" in (target or host_triple()) else ""
|
||||||
# on msvc builds, use editbin to change the subsystem to windows
|
# on msvc builds, use editbin to change the subsystem to windows, but only
|
||||||
|
# on release builds -- on debug builds, it hides log output
|
||||||
|
if not dev:
|
||||||
call(["editbin", "/nologo", "/subsystem:windows", path.join(servo_exe_dir, "servo.exe")],
|
call(["editbin", "/nologo", "/subsystem:windows", path.join(servo_exe_dir, "servo.exe")],
|
||||||
verbose=verbose)
|
verbose=verbose)
|
||||||
# on msvc, we need to copy in some DLLs in to the servo.exe dir
|
# on msvc, we need to copy in some DLLs in to the servo.exe dir
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue