Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 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> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 8 | <ProjectConfiguration Include="Release|Win32"> |
| 9 | <Configuration>Release</Configuration> |
| 10 | <Platform>Win32</Platform> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 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> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 28 | <ProjectConfiguration Include="Debug|x64"> |
| 29 | <Configuration>Debug</Configuration> |
| 30 | <Platform>x64</Platform> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 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> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 40 | </PropertyGroup> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 41 | |
| 42 | <Import Project="python.props" /> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 43 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 44 | <Import Project="tcltk.props" /> |
| 45 | |
| 46 | <PropertyGroup Label="Configuration"> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 47 | <ConfigurationType>Makefile</ConfigurationType> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 48 | <OutDir>$(tcltkDir)</OutDir> |
| 49 | <TargetPath>$(OutDir)bin\$(tkDLLName)</TargetPath> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 50 | </PropertyGroup> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 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 | |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 60 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 61 | |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 62 | <PropertyGroup> |
Steve Dower | fcbe1df | 2015-09-08 21:39:01 -0700 | [diff] [blame] | 63 | <TkOpts>msvcrt</TkOpts> |
| 64 | <TkOpts Condition="$(Configuration) == 'Debug'">symbols,msvcrt</TkOpts> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 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 | ') |
| 70 | goto :eof |
| 71 | :build |
| 72 | set VCINSTALLDIR=$(VCInstallDir) |
| 73 | cd /D "$(tkDir)win" |
| 74 | nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) all |
| 75 | nmake /nologo -f makefile.vc RC=rc MACHINE=$(TclMachine) OPTS=$(TkOpts) $(TkDirs) $(DebugFlags) install-binaries install-libraries |
| 76 | </NMakeBuildCommandLine> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 77 | </PropertyGroup> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 78 | <ItemGroup> |
| 79 | <ProjectReference Include="tcl.vcxproj"> |
| 80 | <Project>{b5fd6f1d-129e-4bff-9340-03606fac7283}</Project> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 81 | <ReferenceOutputAssembly>false</ReferenceOutputAssembly> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 82 | </ProjectReference> |
| 83 | </ItemGroup> |
| 84 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 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> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 95 | </Project> |