You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Only display the Windows toggle console option if it can actually be used
This commit is contained in:
@@ -210,6 +210,7 @@ def configure_msvc(env, manual_msvc_config):
|
||||
env.Append(LINKFLAGS=["/SUBSYSTEM:WINDOWS"])
|
||||
else:
|
||||
env.Append(LINKFLAGS=["/SUBSYSTEM:CONSOLE"])
|
||||
env.AppendUnique(CPPDEFINES=["WINDOWS_SUBSYSTEM_CONSOLE"])
|
||||
|
||||
## Compile/link flags
|
||||
|
||||
@@ -347,6 +348,7 @@ def configure_mingw(env):
|
||||
env.Append(LINKFLAGS=["-Wl,--subsystem,windows"])
|
||||
else:
|
||||
env.Append(LINKFLAGS=["-Wl,--subsystem,console"])
|
||||
env.AppendUnique(CPPDEFINES=["WINDOWS_SUBSYSTEM_CONSOLE"])
|
||||
|
||||
## Compiler configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user