Home | History | Annotate | Download | only in PCbuild
      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     <TixDirs>BUILDDIRTOP="$(BuildDirTop)" TCL_DIR="$(tclDir.TrimEnd(`\`))" TK_DIR="$(tkDir.TrimEnd(`\`))" INSTALL_DIR="$(OutDir.TrimEnd(`\`))"</TixDirs>
     60     <DebugFlags Condition="'$(Configuration)' == 'Debug'">DEBUG=1 NODEBUG=0 TCL_DBGX=g TK_DBGX=g</DebugFlags>
     61     <DebugFlags Condition="'$(Configuration)' != 'Debug'">DEBUG=0 NODEBUG=1</DebugFlags>
     62     <NMakeBuildCommandLine>setlocal
     63 @(ExpectedOutputs->'if not exist "%(FullPath)" goto build','
     64 ')
     65 goto :eof
     66 :build
     67 set VCINSTALLDIR=$(VCInstallDir)
     68 cd /D "$(tixDir)win"
     69 nmake /nologo -f makefile.vc MACHINE=$(TclMachine) $(DebugFlags) $(TclShortVersions) $(TixDirs) all install
     70 </NMakeBuildCommandLine>
     71     <NMakeCleanCommandLine>rmdir /q/s "$(OutDir.TrimEnd(`\`))"</NMakeCleanCommandLine>
     72   </PropertyGroup>
     73   
     74   <ItemGroup>
     75     <ProjectReference Include="tcl.vcxproj">
     76       <Project>{b5fd6f1d-129e-4bff-9340-03606fac7283}</Project>
     77       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     78     </ProjectReference>
     79     <ProjectReference Include="tk.vcxproj">
     80       <Project>{7e85eccf-a72c-4da4-9e52-884508e80ba1}</Project>
     81       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     82     </ProjectReference>
     83   </ItemGroup>
     84 
     85   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
     86 
     87   <Target Name="Clean" />
     88   <Target Name="CleanAll">
     89     <RemoveDir Directories="$(OutDir)" />
     90     <RemoveDir Directories="$(IntDir)" />
     91   </Target>
     92   
     93   <Target Name="ResolveAssemblyReferences" />
     94 </Project>