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="Release|Win32">
9      <Configuration>Release</Configuration>
10      <Platform>Win32</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="Debug|x64">
29      <Configuration>Debug</Configuration>
30      <Platform>x64</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>{7E85ECCF-A72C-4DA4-9E52-884508E80BA1}</ProjectGuid>
39    <RootNamespace>tk</RootNamespace>
40  </PropertyGroup>
41  
42  <Import Project="python.props" />
43  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
44  <Import Project="tcltk.props" />
45  
46  <PropertyGroup Label="Configuration">
47    <ConfigurationType>Makefile</ConfigurationType>
48    <OutDir>$(tcltkDir)</OutDir>
49    <TargetPath>$(OutDir)bin\$(tkDLLName)</TargetPath>
50  </PropertyGroup>
51  
52  <ItemGroup>
53    <ExpectedOutputs Include="
54        $(OutDir)bin\$(tkDLLName);
55        $(OutDir)include\tk.h;
56        $(OutDir)lib\$(tkLibName);
57        $(OutDir)lib\tk$(TkMajorVersion).$(TkMinorVersion)" />
58  </ItemGroup>
59  
60  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
61  
62  <PropertyGroup>
63    <TkOpts>msvcrt</TkOpts>
64    <TkOpts Condition="$(Configuration) == 'Debug'">symbols,msvcrt</TkOpts>
65    <TkDirs>TCLDIR="$(tclDir.TrimEnd(`\`))" INSTALLDIR="$(OutDir.TrimEnd(`\`))"</TkDirs>
66    <DebugFlags Condition="'$(Configuration)' == 'Debug'">DEBUGFLAGS="-wd4456 -wd4457 -wd4458 -wd4459 -wd4996"</DebugFlags>
67    <NMakeBuildCommandLine>setlocal
68@(ExpectedOutputs->'if not exist "%(FullPath)" goto build','
69')
70goto :eof
71:build
72set VCINSTALLDIR=$(VCInstallDir)
73cd /D "$(tkDir)win"
74nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) all
75nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) install-binaries install-libraries
76</NMakeBuildCommandLine>
77  </PropertyGroup>
78  <ItemGroup>
79    <ProjectReference Include="tcl.vcxproj">
80      <Project>{b5fd6f1d-129e-4bff-9340-03606fac7283}</Project>
81      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
82    </ProjectReference>
83  </ItemGroup>
84  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
85  
86  <Target Name="CopyDll" Inputs="$(OutDir)\bin\$(tkDLLName)" Outputs="$(BuildPath)$(tkDLLName)" AfterTargets="Build">
87    <Copy SourceFiles="$(OutDir)\bin\$(tkDLLName)" DestinationFiles="$(BuildPath)$(tkDLLName)" />
88  </Target>
89  
90  <Target Name="Clean" />
91  <Target Name="CleanAll">
92    <Delete Files="$(TargetPath);$(BuildPath)$(tkDLLName)" />
93    <RemoveDir Directories="$(IntDir)" />
94  </Target>
95  
96  <Target Name="ResolveAssemblyReferences" />
97</Project>