Fix the Python type error when creating the .sln file

(cherry picked from commit 19a8efc8759794bc39121809016245988f2db216)
This commit is contained in:
HK-SHAO 2023-03-25 15:09:50 +08:00 committed by Relintai
parent 6c9362a9f4
commit dc9ceddb67

View File

@ -939,7 +939,7 @@ def generate_vs_project(env, num_jobs):
for plat_id in ModuleConfigs.PLATFORM_IDS for plat_id in ModuleConfigs.PLATFORM_IDS
] ]
self.arg_dict["cpppaths"] += ModuleConfigs.for_every_variant(env["CPPPATH"] + [includes]) self.arg_dict["cpppaths"] += ModuleConfigs.for_every_variant(env["CPPPATH"] + [includes])
self.arg_dict["cppdefines"] += ModuleConfigs.for_every_variant(env["CPPDEFINES"] + defines) self.arg_dict["cppdefines"] += ModuleConfigs.for_every_variant(list(env["CPPDEFINES"]) + defines)
self.arg_dict["cmdargs"] += ModuleConfigs.for_every_variant(cli_args) self.arg_dict["cmdargs"] += ModuleConfigs.for_every_variant(cli_args)
def build_commandline(self, commands): def build_commandline(self, commands):