correct active configuration bug

This commit is contained in:
Brian Gladman 2019-06-27 18:13:21 +01:00
parent d05f339020
commit 01d6816128
2 changed files with 5 additions and 7 deletions

View File

@ -93,10 +93,10 @@ class msvc_solution(object):
m = re_acfg.search(ln)
if m:
g = m.group(1)
if not g in self.g2acfg.keys():
self.g2acfg[g] = [0, 1, 2, 3]
ix = 2 * (m.group(2) == 'Release') + (m.group(3) == 'x64')
ac = 2 * (m.group(4) == 'Release') + (m.group(5) == 'x64')
if not g in self.g2acfg.keys():
self.g2acfg[g] = [0] * 4
self.g2acfg[g][ix] = ac
for g in self.g2proj:

View File

@ -1,6 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28705.295
# Visual Studio 19
VisualStudioVersion = 19.20.27027.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lib_mpir_cxx", "lib_mpir_cxx\lib_mpir_cxx.vcxproj", "{B265237A-08C6-4BC3-A582-2B480F27C987}"
EndProject
@ -32,7 +33,4 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E3E498CC-6B6A-4DBC-BECA-9D4E5F9A8ED7}
EndGlobalSection
EndGlobal