Carry over the windows_subsystem setting to the generated vsproj if it's not the default.
Even if you specify the subsystem to be the console one, the vsproj doesn't carry over the setting, which makes working with this mode in the IDE a bit annoying since it'll regenerate the vsproj right afterwards. Since there's only two options and 'gui' is the default, we only carry over the 'console' setting.
(cherry picked from commit cda4b4ebf3
)
This commit is contained in:
parent
12aeb83043
commit
5f7685c831
|
@ -868,6 +868,9 @@ def generate_vs_project(env, num_jobs, project_name="godot"):
|
|||
if env["custom_modules"]:
|
||||
common_build_postfix.append("custom_modules=%s" % env["custom_modules"])
|
||||
|
||||
if env["windows_subsystem"] == "console":
|
||||
common_build_postfix.append("windows_subsystem=console")
|
||||
|
||||
if env["precision"] == "double":
|
||||
common_build_postfix.append("precision=double")
|
||||
|
||||
|
|
Loading…
Reference in New Issue