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    <ProjectConfiguration Include="Release|ARM64">
37      <Configuration>Release</Configuration>
38      <Platform>ARM64</Platform>
39    </ProjectConfiguration>
40  </ItemGroup>
41  <PropertyGroup Label="Globals">
42    <ProjectGuid>{C5A3E7FB-9695-4B2E-960B-1D9F43F1E555}</ProjectGuid>
43    <RootNamespace>tix</RootNamespace>
44    <SupportSigning>true</SupportSigning>
45  </PropertyGroup>
46
47  <Import Project="python.props" />
48  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
49  <Import Project="tcltk.props" />
50
51  <PropertyGroup Label="Configuration">
52    <ConfigurationType>Makefile</ConfigurationType>
53    <OutDir>$(tcltkDir)</OutDir>
54    <TargetPath>$(tixDLLPath)</TargetPath>
55  </PropertyGroup>
56
57  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
58
59  <PropertyGroup>
60    <TixDirs>BUILDDIRTOP="$(BuildDirTop)" TCL_DIR="$(tclDir.TrimEnd(`\`))" TK_DIR="$(tkDir.TrimEnd(`\`))" INSTALL_DIR="$(OutDir.TrimEnd(`\`))" TCLSH_EXE="$(tclWin32Exe)"</TixDirs>
61    <DebugFlags Condition="'$(Configuration)' == 'Debug'">DEBUG=1 NODEBUG=0 TCL_DBGX=g TK_DBGX=g</DebugFlags>
62    <DebugFlags Condition="'$(Configuration)' != 'Debug'">DEBUG=0 NODEBUG=1</DebugFlags>
63    <CFlags>-c -W3 -nologo -MD -wd4028 -wd4090 -wd4244 -wd4267 -wd4312</CFlags>
64    <NMakeBuildCommandLine>setlocal
65set VCINSTALLDIR=$(VCInstallDir)
66cd /D "$(tixDir)win"
67nmake /nologo -f makefile.vc MACHINE=$(TclMachine) cflags="$(CFlags)" $(DebugFlags) $(TclShortVersions) $(TixDirs) all install
68copy /Y ..\license.terms "$(OutDir)\tixlicense.terms"
69</NMakeBuildCommandLine>
70    <NMakeCleanCommandLine>rmdir /q/s "$(OutDir.TrimEnd(`\`))"</NMakeCleanCommandLine>
71  </PropertyGroup>
72
73  <Target Name="SignFiles" AfterTargets="Build" Condition="$(_SignCommand) != ''">
74    <ItemGroup>
75      <FilesToSign Include="$(OutDir)\bin\*.exe" />
76      <FilesToSign Include="$(OutDir)\bin\*.dll" />
77    </ItemGroup>
78    <Exec Command="$(_SignCommand) &quot;%(FilesToSign.FullPath)&quot;" ContinueOnError="true" />
79  </Target>
80
81  <ItemGroup>
82    <ProjectReference Include="tcl.vcxproj">
83      <Project>{b5fd6f1d-129e-4bff-9340-03606fac7283}</Project>
84      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
85    </ProjectReference>
86    <ProjectReference Include="tk.vcxproj">
87      <Project>{7e85eccf-a72c-4da4-9e52-884508e80ba1}</Project>
88      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
89    </ProjectReference>
90  </ItemGroup>
91
92  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
93
94  <Target Name="Clean" />
95  <Target Name="CleanAll">
96    <RemoveDir Directories="$(OutDir)" />
97    <RemoveDir Directories="$(IntDir)" />
98  </Target>
99
100  <Target Name="ResolveAssemblyReferences" />
101</Project>