blob: a177f5c14b42b658eedcafe657aa2be0e58b636d [file] [log] [blame]
Zachary Warea191b912014-03-21 22:58:19 -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>{C5A3E7FB-9695-4B2E-960B-1D9F43F1E555}</ProjectGuid>
39 <RootNamespace>tix</RootNamespace>
40 <Keyword>MakeFileProj</Keyword>
41 </PropertyGroup>
42 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
43 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PGUpdate|Win32'" Label="Configuration">
44 <ConfigurationType>Makefile</ConfigurationType>
45 <CharacterSet>NotSet</CharacterSet>
46 </PropertyGroup>
47 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PGInstrument|Win32'" Label="Configuration">
48 <ConfigurationType>Makefile</ConfigurationType>
49 <CharacterSet>NotSet</CharacterSet>
50 </PropertyGroup>
51 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
52 <ConfigurationType>Makefile</ConfigurationType>
53 <CharacterSet>NotSet</CharacterSet>
54 </PropertyGroup>
55 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
56 <ConfigurationType>Makefile</ConfigurationType>
57 <CharacterSet>NotSet</CharacterSet>
58 </PropertyGroup>
59 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PGUpdate|x64'" Label="Configuration">
60 <ConfigurationType>Makefile</ConfigurationType>
61 <CharacterSet>NotSet</CharacterSet>
62 </PropertyGroup>
63 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='PGInstrument|x64'" Label="Configuration">
64 <ConfigurationType>Makefile</ConfigurationType>
65 <CharacterSet>NotSet</CharacterSet>
66 </PropertyGroup>
67 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
68 <ConfigurationType>Makefile</ConfigurationType>
69 <CharacterSet>NotSet</CharacterSet>
70 </PropertyGroup>
71 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
72 <ConfigurationType>Makefile</ConfigurationType>
73 <CharacterSet>NotSet</CharacterSet>
74 </PropertyGroup>
75 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
76 <ImportGroup Label="ExtensionSettings">
77 </ImportGroup>
78 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='PGUpdate|Win32'" Label="PropertySheets">
79 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
80 <Import Project="pyproject.props" />
81 <Import Project="pgupdate.props" />
82 <Import Project="tcltk.props" />
83 </ImportGroup>
84 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='PGInstrument|Win32'" Label="PropertySheets">
85 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
86 <Import Project="pyproject.props" />
87 <Import Project="pginstrument.props" />
88 <Import Project="tcltk.props" />
89 </ImportGroup>
90 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
91 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
92 <Import Project="pyproject.props" />
93 <Import Project="release.props" />
94 <Import Project="tcltk.props" />
95 </ImportGroup>
96 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
97 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
98 <Import Project="pyproject.props" />
99 <Import Project="debug.props" />
100 <Import Project="tcltk.props" />
101 </ImportGroup>
102 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='PGUpdate|x64'" Label="PropertySheets">
103 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
104 <Import Project="pyproject.props" />
105 <Import Project="x64.props" />
106 <Import Project="pgupdate.props" />
107 <Import Project="tcltk.props" />
108 </ImportGroup>
109 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='PGInstrument|x64'" Label="PropertySheets">
110 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
111 <Import Project="pyproject.props" />
112 <Import Project="x64.props" />
113 <Import Project="pginstrument.props" />
114 <Import Project="tcltk.props" />
115 </ImportGroup>
116 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
117 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
118 <Import Project="pyproject.props" />
119 <Import Project="x64.props" />
120 <Import Project="release.props" />
121 <Import Project="tcltk.props" />
122 </ImportGroup>
123 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
124 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
125 <Import Project="pyproject.props" />
126 <Import Project="x64.props" />
127 <Import Project="debug.props" />
128 <Import Project="tcltk.props" />
129 </ImportGroup>
130 <PropertyGroup Label="UserMacros" />
131 <PropertyGroup>
132 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
133 <NMakeBuildCommandLine>
134IF EXIST $(tcltkDir)\lib\tix8.4.3\$(tixDLLName) (
135 echo Tix is already built and available.
136 exit /b 0
137)
138
139IF NOT EXIST $(tixDir) (
140 echo error: $(tixDir) doesn't exist.
141 exit 1
142)
143
144IF "$(Platform)" EQU "Win32" set TclMachine=IX86
145IF "$(Platform)" EQU "x64" set TclMachine=AMD64
146
147IF "$(Configuration)" EQU "Debug" (
148 set TixDebug=1
149) ELSE (
150 set TixDebug=0
151)
152
153cd $(tixDir)\win
154nmake -f python.mak MACHINE=%TclMachine% DEBUG=%TixDebug% TCL_DIR=$(SolutionDir)$(tclDir) TK_DIR=$(SolutionDir)$(tkDir) all &amp;&amp; nmake -f python.mak MACHINE=%TclMachine% DEBUG=%TixDebug% TCL_DIR=$(SolutionDir)$(tclDir) TK_DIR=$(SolutionDir)$(tkDir) INSTALL_DIR=$(SolutionDir)$(tcltkDir) install
155 </NMakeBuildCommandLine>
156 <NMakeCleanCommandLine>echo Tix must be cleaned manually if you want to rebuild it.</NMakeCleanCommandLine>
157 </PropertyGroup>
158 <ItemDefinitionGroup>
159 </ItemDefinitionGroup>
160 <ItemGroup>
161 <ProjectReference Include="tcl.vcxproj">
162 <Project>{b5fd6f1d-129e-4bff-9340-03606fac7283}</Project>
163 </ProjectReference>
164 <ProjectReference Include="tk.vcxproj">
165 <Project>{7e85eccf-a72c-4da4-9e52-884508e80ba1}</Project>
166 </ProjectReference>
167 </ItemGroup>
168 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
169 <ImportGroup Label="ExtensionTargets">
170 </ImportGroup>
171</Project>