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     <SupportSigning>true</SupportSigning>
     41   </PropertyGroup>
     42 
     43   <Import Project="python.props" />
     44   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
     45   <Import Project="tcltk.props" />
     46   
     47   <PropertyGroup Label="Configuration">
     48     <ConfigurationType>Makefile</ConfigurationType>
     49     <OutDir>$(tcltkDir)</OutDir>
     50     <TargetPath>$(tixDLLPath)</TargetPath>
     51   </PropertyGroup>
     52   
     53   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
     54   
     55   <PropertyGroup>
     56     <TixDirs>BUILDDIRTOP="$(BuildDirTop)" TCL_DIR="$(tclDir.TrimEnd(`\`))" TK_DIR="$(tkDir.TrimEnd(`\`))" INSTALL_DIR="$(OutDir.TrimEnd(`\`))"</TixDirs>
     57     <DebugFlags Condition="'$(Configuration)' == 'Debug'">DEBUG=1 NODEBUG=0 TCL_DBGX=g TK_DBGX=g</DebugFlags>
     58     <DebugFlags Condition="'$(Configuration)' != 'Debug'">DEBUG=0 NODEBUG=1</DebugFlags>
     59     <CFlags>-c -W3 -nologo -MD -wd4028 -wd4090 -wd4244 -wd4267 -wd4312</CFlags>
     60     <NMakeBuildCommandLine>setlocal
     61 set VCINSTALLDIR=$(VCInstallDir)
     62 cd /D "$(tixDir)win"
     63 nmake /nologo -f makefile.vc MACHINE=$(TclMachine) cflags="$(CFlags)" $(DebugFlags) $(TclShortVersions) $(TixDirs) all install
     64 copy /Y ..\license.terms "$(OutDir)\tixlicense.terms"
     65 </NMakeBuildCommandLine>
     66     <NMakeCleanCommandLine>rmdir /q/s "$(OutDir.TrimEnd(`\`))"</NMakeCleanCommandLine>
     67   </PropertyGroup>
     68   
     69   <Target Name="SignFiles" AfterTargets="Build" Condition="$(_SignCommand) != ''">
     70     <ItemGroup>
     71       <FilesToSign Include="$(OutDir)\bin\*.exe" />
     72       <FilesToSign Include="$(OutDir)\bin\*.dll" />
     73     </ItemGroup>
     74     <Exec Command="$(_SignCommand) &quot;%(FilesToSign.FullPath)&quot;" ContinueOnError="true" />
     75   </Target>
     76 
     77   <ItemGroup>
     78     <ProjectReference Include="tcl.vcxproj">
     79       <Project>{b5fd6f1d-129e-4bff-9340-03606fac7283}</Project>
     80       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     81     </ProjectReference>
     82     <ProjectReference Include="tk.vcxproj">
     83       <Project>{7e85eccf-a72c-4da4-9e52-884508e80ba1}</Project>
     84       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     85     </ProjectReference>
     86   </ItemGroup>
     87 
     88   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
     89 
     90   <Target Name="Clean" />
     91   <Target Name="CleanAll">
     92     <RemoveDir Directories="$(OutDir)" />
     93     <RemoveDir Directories="$(IntDir)" />
     94   </Target>
     95   
     96   <Target Name="ResolveAssemblyReferences" />
     97 </Project>