Vs2010Backend: Fix REGEN.vcxproj not getting default debug config in release

pull/13289/head
Renan Lavarec 6 months ago committed by Jussi Pakkanen
parent 8835ad4e02
commit 75132a94a1
  1. 2
      mesonbuild/backend/vs2010backend.py

@ -627,6 +627,8 @@ class Vs2010Backend(backends.Backend):
target_platform = self.platform
multi_config_buildtype_list = coredata.get_genvs_default_buildtype_list() if self.gen_lite else [self.buildtype]
if "debug" not in multi_config_buildtype_list:
multi_config_buildtype_list += ["debug"]
for buildtype in multi_config_buildtype_list:
prjconf = ET.SubElement(confitems, 'ProjectConfiguration',
{'Include': buildtype + '|' + target_platform})

Loading…
Cancel
Save