summaryrefslogtreecommitdiffstats
path: root/PCbuild/find_msbuild.bat
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2019-12-06 17:40:39 (GMT)
committerGitHub <noreply@github.com>2019-12-06 17:40:39 (GMT)
commitc9f480d2ccda9de46584cabe086f0acfa45f2faf (patch)
tree80b0a703b2443c684a1a30b4fe57985278279deb /PCbuild/find_msbuild.bat
parent681285d052977e3a3a82ef665e788946fca1ac59 (diff)
downloadcpython-c9f480d2ccda9de46584cabe086f0acfa45f2faf.zip
cpython-c9f480d2ccda9de46584cabe086f0acfa45f2faf.tar.gz
cpython-c9f480d2ccda9de46584cabe086f0acfa45f2faf.tar.bz2
bpo-33125: Add support for building and releasing Windows ARM64 packages (GH-17480)
Note that the support is not actually enabled yet, and so we won't be publishing these packages. However, for those who want to build it themselves (even by reusing the Azure Pipelines definition), it's now relatively easy to enable.
Diffstat (limited to 'PCbuild/find_msbuild.bat')
-rw-r--r--PCbuild/find_msbuild.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/find_msbuild.bat b/PCbuild/find_msbuild.bat
index a2810f0..bc9d00c 100644
--- a/PCbuild/find_msbuild.bat
+++ b/PCbuild/find_msbuild.bat
@@ -32,7 +32,7 @@
@rem VS 2017 and later provide vswhere.exe, which can be used
@if not exist "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" goto :skip_vswhere
@set _Py_MSBuild_Root=
-@for /F "tokens=*" %%i in ('"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -property installationPath -latest') DO @(set _Py_MSBuild_Root=%%i\MSBuild)
+@for /F "tokens=*" %%i in ('"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -property installationPath -latest -prerelease') DO @(set _Py_MSBuild_Root=%%i\MSBuild)
@if not defined _Py_MSBuild_Root goto :skip_vswhere
@for %%j in (Current 15.0) DO @if exist "%_Py_MSBuild_Root%\%%j\Bin\msbuild.exe" (set MSBUILD="%_Py_MSBuild_Root%\%%j\Bin\msbuild.exe")
@set _Py_MSBuild_Root=