Build system: add option for MSVC incremental linking.

(cherry picked from commit bbafe14970)
This commit is contained in:
ocean (they/them) 2023-08-29 17:56:25 -04:00 committed by Yuri Sizov
parent d3265cf518
commit cd2e003a05
2 changed files with 7 additions and 2 deletions

View file

@ -871,6 +871,9 @@ def generate_vs_project(env, num_jobs, project_name="godot"):
if env["precision"] == "double":
common_build_postfix.append("precision=double")
if env["incremental_link"]:
common_build_postfix.append("incremental_link=yes")
result = " ^& ".join(common_build_prefix + [" ".join([commands] + common_build_postfix)])
return result