summaryrefslogtreecommitdiffstats
path: root/PCbuild/_tkinter.vcxproj
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2017-07-17 09:15:48 (GMT)
committerGitHub <noreply@github.com>2017-07-17 09:15:48 (GMT)
commit68d663cf85d1ac5eaf83482eed39c0a6f8093601 (patch)
treefe26ff995655c31aca2d5c0f7bc4f8048cca5cc4 /PCbuild/_tkinter.vcxproj
parent49f6449ef4b81537c19b82329caaf60596c516c2 (diff)
downloadcpython-68d663cf85d1ac5eaf83482eed39c0a6f8093601.zip
cpython-68d663cf85d1ac5eaf83482eed39c0a6f8093601.tar.gz
cpython-68d663cf85d1ac5eaf83482eed39c0a6f8093601.tar.bz2
[bpo-30916] Pre-build OpenSSL and Tcl/Tk for Windows (#2688)
Updates ssl and tkinter projects to use pre-built externals
Diffstat (limited to 'PCbuild/_tkinter.vcxproj')
-rw-r--r--PCbuild/_tkinter.vcxproj16
1 files changed, 10 insertions, 6 deletions
diff --git a/PCbuild/_tkinter.vcxproj b/PCbuild/_tkinter.vcxproj
index 6793106..95e3cd5 100644
--- a/PCbuild/_tkinter.vcxproj
+++ b/PCbuild/_tkinter.vcxproj
@@ -77,18 +77,22 @@
<ResourceCompile Include="..\PC\python_nt.rc" />
</ItemGroup>
<ItemGroup>
+ <_TclTkDLL Include="$(tcltkdir)\bin\$(tclDllName)" />
+ <_TclTkDLL Include="$(tcltkdir)\bin\$(tkDllName)" />
+ </ItemGroup>
+ <ItemGroup>
<ProjectReference Include="pythoncore.vcxproj">
<Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
- <ProjectReference Include="tcl.vcxproj">
- <Project>{b5fd6f1d-129e-4bff-9340-03606fac7283}</Project>
- </ProjectReference>
- <ProjectReference Include="tk.vcxproj">
- <Project>{7e85eccf-a72c-4da4-9e52-884508e80ba1}</Project>
- </ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
+ <Target Name="_CopyTclTkDLL" Inputs="@(_TclTkDLL)" Outputs="@(_TclTkDLL->'$(OutDir)%(Filename)%(Extension)')" AfterTargets="Build">
+ <Copy SourceFiles="@(_TclTkDLL)" DestinationFolder="$(OutDir)" />
+ </Target>
+ <Target Name="_CleanTclTkDLL" BeforeTargets="Clean">
+ <Delete Files="@(_TclTkDLL->'$(OutDir)%(Filename)%(Extension)')" />
+ </Target>
</Project> \ No newline at end of file