From 01d6816128e5718bdd981792392708a73c92b85c Mon Sep 17 00:00:00 2001 From: Brian Gladman Date: Thu, 27 Jun 2019 18:13:21 +0100 Subject: [PATCH] correct active configuration bug --- msvc/_msvc_solution.py | 4 ++-- msvc/vs19/mpir.sln | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/msvc/_msvc_solution.py b/msvc/_msvc_solution.py index 1d65da67..acf7fd30 100644 --- a/msvc/_msvc_solution.py +++ b/msvc/_msvc_solution.py @@ -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: diff --git a/msvc/vs19/mpir.sln b/msvc/vs19/mpir.sln index 2740fe03..fe9e20b2 100644 --- a/msvc/vs19/mpir.sln +++ b/msvc/vs19/mpir.sln @@ -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