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|ARM"> 5 <Configuration>Debug</Configuration> 6 <Platform>ARM</Platform> 7 </ProjectConfiguration> 8 <ProjectConfiguration Include="Debug|ARM64"> 9 <Configuration>Debug</Configuration> 10 <Platform>ARM64</Platform> 11 </ProjectConfiguration> 12 <ProjectConfiguration Include="Debug|Win32"> 13 <Configuration>Debug</Configuration> 14 <Platform>Win32</Platform> 15 </ProjectConfiguration> 16 <ProjectConfiguration Include="Debug|x64"> 17 <Configuration>Debug</Configuration> 18 <Platform>x64</Platform> 19 </ProjectConfiguration> 20 <ProjectConfiguration Include="PGInstrument|ARM"> 21 <Configuration>PGInstrument</Configuration> 22 <Platform>ARM</Platform> 23 </ProjectConfiguration> 24 <ProjectConfiguration Include="PGInstrument|ARM64"> 25 <Configuration>PGInstrument</Configuration> 26 <Platform>ARM64</Platform> 27 </ProjectConfiguration> 28 <ProjectConfiguration Include="PGInstrument|Win32"> 29 <Configuration>PGInstrument</Configuration> 30 <Platform>Win32</Platform> 31 </ProjectConfiguration> 32 <ProjectConfiguration Include="PGInstrument|x64"> 33 <Configuration>PGInstrument</Configuration> 34 <Platform>x64</Platform> 35 </ProjectConfiguration> 36 <ProjectConfiguration Include="PGUpdate|ARM"> 37 <Configuration>PGUpdate</Configuration> 38 <Platform>ARM</Platform> 39 </ProjectConfiguration> 40 <ProjectConfiguration Include="PGUpdate|ARM64"> 41 <Configuration>PGUpdate</Configuration> 42 <Platform>ARM64</Platform> 43 </ProjectConfiguration> 44 <ProjectConfiguration Include="PGUpdate|Win32"> 45 <Configuration>PGUpdate</Configuration> 46 <Platform>Win32</Platform> 47 </ProjectConfiguration> 48 <ProjectConfiguration Include="PGUpdate|x64"> 49 <Configuration>PGUpdate</Configuration> 50 <Platform>x64</Platform> 51 </ProjectConfiguration> 52 <ProjectConfiguration Include="Release|ARM"> 53 <Configuration>Release</Configuration> 54 <Platform>ARM</Platform> 55 </ProjectConfiguration> 56 <ProjectConfiguration Include="Release|ARM64"> 57 <Configuration>Release</Configuration> 58 <Platform>ARM64</Platform> 59 </ProjectConfiguration> 60 <ProjectConfiguration Include="Release|Win32"> 61 <Configuration>Release</Configuration> 62 <Platform>Win32</Platform> 63 </ProjectConfiguration> 64 <ProjectConfiguration Include="Release|x64"> 65 <Configuration>Release</Configuration> 66 <Platform>x64</Platform> 67 </ProjectConfiguration> 68 </ItemGroup> 69 <PropertyGroup Label="Globals"> 70 <ProjectGuid>{4946ECAC-2E69-4BF8-A90A-F5136F5094DF}</ProjectGuid> 71 <RootNamespace>_tkinter</RootNamespace> 72 <Keyword>Win32Proj</Keyword> 73 </PropertyGroup> 74 <Import Project="python.props" /> 75 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 76 <PropertyGroup Label="Configuration"> 77 <ConfigurationType>DynamicLibrary</ConfigurationType> 78 <CharacterSet>NotSet</CharacterSet> 79 </PropertyGroup> 80 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 81 <PropertyGroup> 82 <TargetExt>.pyd</TargetExt> 83 </PropertyGroup> 84 <ImportGroup Label="ExtensionSettings"> 85 </ImportGroup> 86 <ImportGroup Label="PropertySheets"> 87 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 88 <Import Project="tcltk.props" /> 89 </ImportGroup> 90 <PropertyGroup Label="UserMacros" /> 91 <PropertyGroup> 92 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> 93 </PropertyGroup> 94 <ItemDefinitionGroup> 95 <ClCompile> 96 <AdditionalIncludeDirectories>$(tcltkDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 97 <PreprocessorDefinitions>WITH_APPINIT;%(PreprocessorDefinitions)</PreprocessorDefinitions> 98 <PreprocessorDefinitions Condition="'$(BuildForRelease)' != 'true'">Py_TCLTK_DIR="$(tcltkDir.TrimEnd('\').Replace('\', '\\'))";%(PreprocessorDefinitions)</PreprocessorDefinitions> 99 </ClCompile> 100 <Link> 101 <AdditionalDependencies>$(tcltkLib);%(AdditionalDependencies)</AdditionalDependencies> 102 </Link> 103 </ItemDefinitionGroup> 104 <ItemGroup> 105 <ClCompile Include="..\Modules\_tkinter.c" /> 106 <ClCompile Include="..\Modules\tkappinit.c" /> 107 </ItemGroup> 108 <ItemGroup> 109 <ResourceCompile Include="..\PC\python_nt.rc" /> 110 </ItemGroup> 111 <ItemGroup> 112 <_TclTkDLL Include="$(tcltkdir)\bin\$(tclDllName)" /> 113 <_TclTkDLL Include="$(tcltkdir)\bin\$(tkDllName)" /> 114 </ItemGroup> 115 <ItemGroup> 116 <ProjectReference Include="pythoncore.vcxproj"> 117 <Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project> 118 <ReferenceOutputAssembly>false</ReferenceOutputAssembly> 119 </ProjectReference> 120 </ItemGroup> 121 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 122 <ImportGroup Label="ExtensionTargets"> 123 </ImportGroup> 124 <Target Name="_CopyTclTkDLL" Inputs="@(_TclTkDLL)" Outputs="@(_TclTkDLL->'$(OutDir)%(Filename)%(Extension)')" AfterTargets="Build"> 125 <Copy SourceFiles="@(_TclTkDLL)" DestinationFolder="$(OutDir)" UseHardlinksIfPossible="true" /> 126 </Target> 127 <Target Name="_CleanTclTkDLL" BeforeTargets="Clean"> 128 <Delete Files="@(_TclTkDLL->'$(OutDir)%(Filename)%(Extension)')" /> 129 </Target> 130 <Target Name="_WriteTCL_LIBRARY" Outputs="$(OutDir)TCL_LIBRARY.env" AfterTargets="Build"> 131 <WriteLinesToFile File="$(OutDir)TCL_LIBRARY.env" Lines="$(tcltkdir)\lib\tcl$(TclMajorVersion).$(TclMinorVersion)" Encoding="utf-8" Overwrite="true" /> 132 </Target> 133 <Target Name="_CleanTCL_LIBRARY" BeforeTargets="Clean"> 134 <Delete Files="$(OutDir)TCL_LIBRARY.env" /> 135 </Target> 136</Project>