• Home
  • 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="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>{C5A3E7FB-9695-4B2E-960B-1D9F43F1E555}</ProjectGuid>
39    <RootNamespace>tix</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>$(tixDLLPath)</TargetPath>
50  </PropertyGroup>
51
52  <ItemGroup>
53    <ExpectedOutputs Include="$(TargetPath)" />
54  </ItemGroup>
55
56  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
57
58  <PropertyGroup>
59    <TkOpts>msvcrt</TkOpts>
60    <TkOpts Condition="$(Configuration) == 'Debug'">symbols,msvcrt</TkOpts>
61    <TixDirs>BUILDDIRTOP="$(BuildDirTop)" TCL_DIR="$(tclDir.TrimEnd(`\`))" TK_DIR="$(tkDir.TrimEnd(`\`))" INSTALL_DIR="$(OutDir.TrimEnd(`\`))"</TixDirs>
62    <DebugFlags Condition="'$(Configuration)' == 'Debug'">DEBUG=1 NODEBUG=0 TCL_DBGX=g DEBUGFLAGS="-wd4456 -wd4457 -wd4458 -wd4459 -wd4996"</DebugFlags>
63    <DebugFlags Condition="'$(Configuration)' != 'Debug'">DEBUG=0 NODEBUG=1</DebugFlags>
64    <NMakeBuildCommandLine>setlocal
65@(ExpectedOutputs->'if not exist "%(FullPath)" goto build','
66')
67goto :eof
68:build
69set VCINSTALLDIR=$(VCInstallDir)
70cd /D "$(tixDir)win"
71nmake /nologo -f makefile.vc MACHINE=$(TclMachine) $(DebugFlags) $(TclShortVersions) $(TixDirs) all install
72</NMakeBuildCommandLine>
73    <NMakeCleanCommandLine>rmdir /q/s "$(OutDir.TrimEnd(`\`))"</NMakeCleanCommandLine>
74  </PropertyGroup>
75
76  <ItemGroup>
77    <ProjectReference Include="tcl.vcxproj">
78      <Project>{b5fd6f1d-129e-4bff-9340-03606fac7283}</Project>
79      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
80    </ProjectReference>
81    <ProjectReference Include="tk.vcxproj">
82      <Project>{7e85eccf-a72c-4da4-9e52-884508e80ba1}</Project>
83      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
84    </ProjectReference>
85  </ItemGroup>
86
87  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
88
89  <Target Name="Clean" />
90  <Target Name="CleanAll">
91    <RemoveDir Directories="$(OutDir)" />
92    <RemoveDir Directories="$(IntDir)" />
93  </Target>
94</Project>
95