Skip to content

Commit 75132a9

Browse files
rlavarec-gpswjpakkane
authored andcommitted
Vs2010Backend: Fix REGEN.vcxproj not getting default debug config in release
1 parent 8835ad4 commit 75132a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mesonbuild/backend/vs2010backend.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,8 @@ def create_basic_project(self, target_name, *,
627627
target_platform = self.platform
628628

629629
multi_config_buildtype_list = coredata.get_genvs_default_buildtype_list() if self.gen_lite else [self.buildtype]
630+
if "debug" not in multi_config_buildtype_list:
631+
multi_config_buildtype_list += ["debug"]
630632
for buildtype in multi_config_buildtype_list:
631633
prjconf = ET.SubElement(confitems, 'ProjectConfiguration',
632634
{'Include': buildtype + '|' + target_platform})

0 commit comments

Comments
 (0)