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>{B5FD6F1D-129E-4BFF-9340-03606FAC7283}</ProjectGuid> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 39 | </PropertyGroup> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 40 | |
| 41 | <Import Project="python.props" /> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 42 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 43 | <Import Project="tcltk.props" /> |
| 44 | |
| 45 | <PropertyGroup Label="Configuration"> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 46 | <ConfigurationType>Makefile</ConfigurationType> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 47 | <OutDir>$(tcltkDir)</OutDir> |
| 48 | <TargetPath>$(OutDir)bin\$(tclDLLName)</TargetPath> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 49 | </PropertyGroup> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 50 | |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 51 | <ItemGroup> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 52 | <ExpectedOutputs Include=" |
| 53 | $(OutDir)\bin\$(tclDLLName); |
| 54 | $(OutDir)\bin\$(tclShExeName); |
| 55 | $(OutDir)\include\tcl.h; |
| 56 | $(OutDir)\lib\tcl$(TclMajorVersion); |
| 57 | $(OutDir)\lib\tcl$(TclMajorVersion).$(TclMinorVersion); |
| 58 | $(OutDir)\lib\$(tclLibName)" /> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 59 | </ItemGroup> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 60 | |
| 61 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
| 62 | |
| 63 | <PropertyGroup> |
| 64 | <TclOpts Condition="$(Configuration) == 'Debug'">symbols</TclOpts> |
| 65 | <TclDirs>INSTALLDIR="$(OutDir.TrimEnd(`\`))" INSTALL_DIR="$(OutDir.TrimEnd(`\`))"</TclDirs> |
| 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 "$(tclDir)win" |
| 74 | nmake -f makefile.vc MACHINE=$(TclMachine) OPTS=$(TclOpts) $(TclDirs) $(DebugFlags) core shell dlls |
| 75 | nmake -f makefile.vc MACHINE=$(TclMachine) OPTS=$(TclOpts) $(TclDirs) $(DebugFlags) install-binaries install-libraries |
| 76 | </NMakeBuildCommandLine> |
| 77 | </PropertyGroup> |
| 78 | |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 79 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
Steve Dower | 65e4cb1 | 2014-11-22 12:54:57 -0800 | [diff] [blame] | 80 | |
| 81 | <Target Name="CopyDll" Inputs="$(OutDir)\bin\$(tclDLLName)" Outputs="$(BuildPath)$(tclDLLName)" AfterTargets="Build"> |
| 82 | <Copy SourceFiles="$(OutDir)\bin\$(tclDLLName)" DestinationFiles="$(BuildPath)$(tclDLLName)" /> |
| 83 | </Target> |
| 84 | |
| 85 | <Target Name="Clean" /> |
| 86 | <Target Name="CleanAll"> |
| 87 | <Delete Files="$(TargetPath);$(BuildPath)$(tclDLLName)" /> |
| 88 | <RemoveDir Directories="$(IntDir)" /> |
| 89 | </Target> |
Zachary Ware | a191b91 | 2014-03-21 22:58:19 -0500 | [diff] [blame] | 90 | </Project> |