blob: 95e3cd50eca5af3af96907893ef58d5518fefe67 [file] [log] [blame]
Brian Curtin401f9f32012-05-13 11:19:23 -05001<?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>
Steve Dower65e4cb12014-11-22 12:54:57 -080042 <Import Project="python.props" />
Brian Curtin401f9f32012-05-13 11:19:23 -050043 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
Steve Dower65e4cb12014-11-22 12:54:57 -080044 <PropertyGroup Label="Configuration">
Brian Curtin401f9f32012-05-13 11:19:23 -050045 <ConfigurationType>DynamicLibrary</ConfigurationType>
46 <CharacterSet>NotSet</CharacterSet>
47 </PropertyGroup>
48 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
Steve Dower65e4cb12014-11-22 12:54:57 -080049 <PropertyGroup>
50 <TargetExt>.pyd</TargetExt>
51 </PropertyGroup>
Brian Curtin401f9f32012-05-13 11:19:23 -050052 <ImportGroup Label="ExtensionSettings">
53 </ImportGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080054 <ImportGroup Label="PropertySheets">
Brian Curtin401f9f32012-05-13 11:19:23 -050055 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
Zachary Warea191b912014-03-21 22:58:19 -050056 <Import Project="tcltk.props" />
Brian Curtin401f9f32012-05-13 11:19:23 -050057 </ImportGroup>
58 <PropertyGroup Label="UserMacros" />
59 <PropertyGroup>
60 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
Brian Curtin401f9f32012-05-13 11:19:23 -050061 </PropertyGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080062 <ItemDefinitionGroup>
Brian Curtin401f9f32012-05-13 11:19:23 -050063 <ClCompile>
Steve Dower65e4cb12014-11-22 12:54:57 -080064 <AdditionalIncludeDirectories>$(tcltkDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Brian Curtin401f9f32012-05-13 11:19:23 -050065 <PreprocessorDefinitions>WITH_APPINIT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Zachary Ware7dc9dea2015-05-22 11:36:53 -050066 <PreprocessorDefinitions Condition="'$(BuildForRelease)' != 'true'">Py_TCLTK_DIR="$(tcltkDir.TrimEnd('\').Replace('\', '\\'))";%(PreprocessorDefinitions)</PreprocessorDefinitions>
Brian Curtin401f9f32012-05-13 11:19:23 -050067 </ClCompile>
68 <Link>
Zachary Warea191b912014-03-21 22:58:19 -050069 <AdditionalDependencies>$(tcltkLib);%(AdditionalDependencies)</AdditionalDependencies>
Brian Curtin401f9f32012-05-13 11:19:23 -050070 </Link>
71 </ItemDefinitionGroup>
Brian Curtin401f9f32012-05-13 11:19:23 -050072 <ItemGroup>
73 <ClCompile Include="..\Modules\_tkinter.c" />
74 <ClCompile Include="..\Modules\tkappinit.c" />
75 </ItemGroup>
76 <ItemGroup>
Steve Dowerb0660582016-04-06 12:35:24 -070077 <ResourceCompile Include="..\PC\python_nt.rc" />
78 </ItemGroup>
79 <ItemGroup>
Steve Dower68d663c2017-07-17 11:15:48 +020080 <_TclTkDLL Include="$(tcltkdir)\bin\$(tclDllName)" />
81 <_TclTkDLL Include="$(tcltkdir)\bin\$(tkDllName)" />
82 </ItemGroup>
83 <ItemGroup>
Brian Curtin401f9f32012-05-13 11:19:23 -050084 <ProjectReference Include="pythoncore.vcxproj">
85 <Project>{cf7ac3d1-e2df-41d2-bea6-1e2556cdea26}</Project>
86 <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
87 </ProjectReference>
Brian Curtin401f9f32012-05-13 11:19:23 -050088 </ItemGroup>
89 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
90 <ImportGroup Label="ExtensionTargets">
91 </ImportGroup>
Steve Dower68d663c2017-07-17 11:15:48 +020092 <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>
Brian Curtin401f9f32012-05-13 11:19:23 -050098</Project>