diff --git a/methods.py b/methods.py index 1507718f8598..1f3b0755023d 100644 --- a/methods.py +++ b/methods.py @@ -1389,6 +1389,11 @@ def get_dependencies(file, env, exts, headers, sources, others): proj_template = proj_template.replace("%%DEFAULT_ITEMS%%", "\n ".join(all_items)) proj_template = proj_template.replace("%%PROPERTIES%%", "\n ".join(properties)) + toolset = "v143" + if not env.msvc: + toolset = "CLang" + proj_template = proj_template.replace("%%PlatformToolset%%", toolset) + if not env.msvc: proplist = [str(j) for j in env["CPPPATH"]] proplist += [str(j) for j in env.get("VSHINT_INCLUDES", [])] diff --git a/misc/msvs/vcxproj.template b/misc/msvs/vcxproj.template index 251dc09245df..628af960270a 100644 --- a/misc/msvs/vcxproj.template +++ b/misc/msvs/vcxproj.template @@ -13,7 +13,7 @@ Makefile false - Clang + %%PlatformToolset%% $(PlatformToolset) $(SolutionDir)\bin\$(GodotPlatform)\$(GodotConfiguration)\ obj\$(GodotPlatform)\$(GodotConfiguration)\