summaryrefslogtreecommitdiffstats
path: root/PCbuild/tk.vcxproj
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2022-02-28 12:06:43 (GMT)
committerGitHub <noreply@github.com>2022-02-28 12:06:43 (GMT)
commitda7d99a4de72aac8d436cecedf16ab2676f9b785 (patch)
tree4cd872e18c9b1053147d9e50bed6cbe8cfe6a1b6 /PCbuild/tk.vcxproj
parent424ecab494d538650ba34937cdd710094ccb2275 (diff)
downloadcpython-da7d99a4de72aac8d436cecedf16ab2676f9b785.zip
cpython-da7d99a4de72aac8d436cecedf16ab2676f9b785.tar.gz
cpython-da7d99a4de72aac8d436cecedf16ab2676f9b785.tar.bz2
bpo-46567: Add Tcl/Tk build for Windows ARM64 (GH-31574)
Diffstat (limited to 'PCbuild/tk.vcxproj')
-rw-r--r--PCbuild/tk.vcxproj8
1 files changed, 6 insertions, 2 deletions
diff --git a/PCbuild/tk.vcxproj b/PCbuild/tk.vcxproj
index 70b5459..b111969 100644
--- a/PCbuild/tk.vcxproj
+++ b/PCbuild/tk.vcxproj
@@ -33,6 +33,10 @@
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
+ <ProjectConfiguration Include="Release|ARM64">
+ <Configuration>Release</Configuration>
+ <Platform>ARM64</Platform>
+ </ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{7E85ECCF-A72C-4DA4-9E52-884508E80BA1}</ProjectGuid>
@@ -60,8 +64,8 @@
<NMakeBuildCommandLine>setlocal
set VCINSTALLDIR=$(VCInstallDir)
cd /D "$(tkDir)win"
-nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) $(WarningsFlags) all
-nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) $(WarningsFlags) install-binaries install-libraries
+nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) $(WarningsFlags) TCLSH_NATIVE="$(tclWin32Exe)" all
+nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) $(WarningsFlags) TCLSH_NATIVE="$(tclWin32Exe)" install-binaries install-libraries
copy /Y ..\license.terms "$(OutDir)\tklicense.terms"
</NMakeBuildCommandLine>
</PropertyGroup>