• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  <ItemGroup Label="ProjectConfigurations">
4    <ProjectConfiguration Include="Debug|Win32">
5      <Configuration>Debug</Configuration>
6      <Platform>Win32</Platform>
7    </ProjectConfiguration>
8    <ProjectConfiguration Include="Debug|x64">
9      <Configuration>Debug</Configuration>
10      <Platform>x64</Platform>
11    </ProjectConfiguration>
12    <ProjectConfiguration Include="PGInstrument|Win32">
13      <Configuration>PGInstrument</Configuration>
14      <Platform>Win32</Platform>
15    </ProjectConfiguration>
16    <ProjectConfiguration Include="PGInstrument|x64">
17      <Configuration>PGInstrument</Configuration>
18      <Platform>x64</Platform>
19    </ProjectConfiguration>
20    <ProjectConfiguration Include="PGUpdate|Win32">
21      <Configuration>PGUpdate</Configuration>
22      <Platform>Win32</Platform>
23    </ProjectConfiguration>
24    <ProjectConfiguration Include="PGUpdate|x64">
25      <Configuration>PGUpdate</Configuration>
26      <Platform>x64</Platform>
27    </ProjectConfiguration>
28    <ProjectConfiguration Include="Release|Win32">
29      <Configuration>Release</Configuration>
30      <Platform>Win32</Platform>
31    </ProjectConfiguration>
32    <ProjectConfiguration Include="Release|x64">
33      <Configuration>Release</Configuration>
34      <Platform>x64</Platform>
35    </ProjectConfiguration>
36  </ItemGroup>
37  <PropertyGroup Label="Globals">
38    <ProjectGuid>{4946ECAC-2E69-4BF8-A90A-F5136F5094DF}</ProjectGuid>
39    <RootNamespace>_tkinter</RootNamespace>
40    <Keyword>Win32Proj</Keyword>
41  </PropertyGroup>
42  <Import Project="python.props" />
43  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
44  <PropertyGroup Label="Configuration">
45    <ConfigurationType>DynamicLibrary</ConfigurationType>
46    <CharacterSet>NotSet</CharacterSet>
47  </PropertyGroup>
48  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
49  <PropertyGroup>
50    <TargetExt>.pyd</TargetExt>
51  </PropertyGroup>
52  <ImportGroup Label="ExtensionSettings">
53  </ImportGroup>
54  <ImportGroup Label="PropertySheets">
55    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
56    <Import Project="tcltk.props" />
57  </ImportGroup>
58  <PropertyGroup Label="UserMacros" />
59  <PropertyGroup>
60    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
61  </PropertyGroup>
62  <ItemDefinitionGroup>
63    <ClCompile>
64      <AdditionalIncludeDirectories>$(tcltkDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
65      <PreprocessorDefinitions>WITH_APPINIT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
66      <PreprocessorDefinitions Condition="'$(BuildForRelease)' != 'true'">Py_TCLTK_DIR="$(tcltkDir.TrimEnd('\').Replace('\', '\\'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
67    </ClCompile>
68    <Link>
69      <AdditionalDependencies>$(tcltkLib);%(AdditionalDependencies)</AdditionalDependencies>
70    </Link>
71  </ItemDefinitionGroup>
72  <ItemGroup>
73    <ClCompile Include="..\Modules\_tkinter.c" />
74    <ClCompile Include="..\Modules\tkappinit.c" />
75  </ItemGroup>
76  <ItemGroup>
77    <ResourceCompile Include="..\PC\python_nt.rc" />
78  </ItemGroup>
79  <ItemGroup>
80    <_TclTkDLL Include="$(tcltkdir)\bin\$(tclDllName)" />
81    <_TclTkDLL Include="$(tcltkdir)\bin\$(tkDllName)" />
82  </ItemGroup>
83  <ItemGroup>
84    <ProjectReference Include="pythoncore.vcxproj">
85      <Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project>
86      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
87    </ProjectReference>
88  </ItemGroup>
89  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
90  <ImportGroup Label="ExtensionTargets">
91  </ImportGroup>
92  <Target Name="_CopyTclTkDLL" Inputs="@(_TclTkDLL)" Outputs="@(_TclTkDLL->'$(OutDir)%(Filename)%(Extension)')" AfterTargets="Build">
93    <Copy SourceFiles="@(_TclTkDLL)" DestinationFolder="$(OutDir)" />
94  </Target>
95  <Target Name="_CleanTclTkDLL" BeforeTargets="Clean">
96    <Delete Files="@(_TclTkDLL->'$(OutDir)%(Filename)%(Extension)')" />
97  </Target>
98  <Target Name="_WriteTCL_LIBRARY" Outputs="$(OutDir)TCL_LIBRARY.env" AfterTargets="Build">
99    <WriteLinesToFile File="$(OutDir)TCL_LIBRARY.env" Lines="$(tcltkdir)\lib\tcl$(TclMajorVersion).$(TclMinorVersion)" Encoding="utf-8" Overwrite="true" />
100  </Target>
101  <Target Name="_CleanTCL_LIBRARY" BeforeTargets="Clean">
102    <Delete Files="$(OutDir)TCL_LIBRARY.env" />
103  </Target>
104</Project>