1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

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 Rémi Verschelde
parent 2ce2f632f0
commit 5013dde8fc
2 changed files with 7 additions and 2 deletions

View File

@@ -787,6 +787,9 @@ def generate_vs_project(env, num_jobs):
if env["custom_modules"]:
common_build_postfix.append("custom_modules=%s" % env["custom_modules"])
if env["incremental_link"]:
common_build_postfix.append("incremental_link=yes")
result = " ^& ".join(common_build_prefix + [" ".join([commands] + common_build_postfix)])
return result