The Windows binaries of next release will be built using Visual Studio 2017.
authorHiroshi Inoue <h-inoue@dream.email.ne.jp>
Sat, 3 Nov 2018 10:27:27 +0000 (19:27 +0900)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Sat, 3 Nov 2018 10:27:27 +0000 (19:27 +0900)
winbuild/MSProgram-Get.psm1

index a51e8d92b3eeebefde8e72276475827ec45c7498..3b4839c79a2d78a83fd053d3202bfc2efb20f04d 100644 (file)
@@ -40,12 +40,12 @@ function Find-MSBuild
    }
 #  neither C++ nor SDK prompt
    if ("$VisualStudioVersion" -eq "") {
-       if ("${env:VS120COMNTOOLS}" -ne "") { # VC12 is installed (current official)
-           $VisualStudioVersion = "12.0"
-       } elseif ((Find-VSDir 15) -ne "") { # VC15 is installed
+       if ((Find-VSDir 15) -ne "") {   # VC15 is installed (current official)
            $VisualStudioVersion = "15.0"
        } elseif ("${env:VS140COMNTOOLS}" -ne "") { # VC14 is installed
            $VisualStudioVersion = "14.0"
+       } elseif ("${env:VS120COMNTOOLS}" -ne "") { # VC12 is installed
+           $VisualStudioVersion = "12.0"
        } elseif ("${env:VS100COMNTOOLS}" -ne "") { # VC10 is installed
            $VisualStudioVersion = "10.0"
        } elseif ("${env:VS110COMNTOOLS}" -ne "") { # VC11 is installed