blob: 74a6b84f5732521194e0da708e5ec18df60dab98 [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>
Steve Dower65e4cb12014-11-22 12:54:57 -08008 <ProjectConfiguration Include="Release|Win32">
9 <Configuration>Release</Configuration>
10 <Platform>Win32</Platform>
Zachary Warea191b912014-03-21 22:58:19 -050011 </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>
Steve Dower65e4cb12014-11-22 12:54:57 -080028 <ProjectConfiguration Include="Debug|x64">
29 <Configuration>Debug</Configuration>
30 <Platform>x64</Platform>
Zachary Warea191b912014-03-21 22:58:19 -050031 </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>
Zachary Warea191b912014-03-21 22:58:19 -050040 </PropertyGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080041
42 <Import Project="python.props" />
Zachary Warea191b912014-03-21 22:58:19 -050043 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
Steve Dower65e4cb12014-11-22 12:54:57 -080044 <Import Project="tcltk.props" />
45
46 <PropertyGroup Label="Configuration">
Zachary Warea191b912014-03-21 22:58:19 -050047 <ConfigurationType>Makefile</ConfigurationType>
Steve Dower65e4cb12014-11-22 12:54:57 -080048 <OutDir>$(tcltkDir)</OutDir>
49 <TargetPath>$(tixDLLPath)</TargetPath>
Zachary Warea191b912014-03-21 22:58:19 -050050 </PropertyGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080051
52 <ItemGroup>
53 <ExpectedOutputs Include="$(TargetPath)" />
54 </ItemGroup>
55
Zachary Warea191b912014-03-21 22:58:19 -050056 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
Steve Dower65e4cb12014-11-22 12:54:57 -080057
Zachary Warea191b912014-03-21 22:58:19 -050058 <PropertyGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080059 <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>
Zachary Warea191b912014-03-21 22:58:19 -050074 </PropertyGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080075
Zachary Warea191b912014-03-21 22:58:19 -050076 <ItemGroup>
77 <ProjectReference Include="tcl.vcxproj">
78 <Project>{b5fd6f1d-129e-4bff-9340-03606fac7283}</Project>
Steve Dower65e4cb12014-11-22 12:54:57 -080079 <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
Zachary Warea191b912014-03-21 22:58:19 -050080 </ProjectReference>
81 <ProjectReference Include="tk.vcxproj">
82 <Project>{7e85eccf-a72c-4da4-9e52-884508e80ba1}</Project>
Steve Dower65e4cb12014-11-22 12:54:57 -080083 <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
Zachary Warea191b912014-03-21 22:58:19 -050084 </ProjectReference>
85 </ItemGroup>
Steve Dower65e4cb12014-11-22 12:54:57 -080086
Zachary Warea191b912014-03-21 22:58:19 -050087 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Steve Dower65e4cb12014-11-22 12:54:57 -080088
89 <Target Name="Clean" />
90 <Target Name="CleanAll">
91 <RemoveDir Directories="$(OutDir)" />
92 <RemoveDir Directories="$(IntDir)" />
93 </Target>
Zachary Warea191b912014-03-21 22:58:19 -050094</Project>