tix.vcxproj 3.85 KB
Newer Older
1 2 3 4 5 6 7
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
8 9 10
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
    </ProjectConfiguration>
    <ProjectConfiguration Include="PGInstrument|Win32">
      <Configuration>PGInstrument</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="PGInstrument|x64">
      <Configuration>PGInstrument</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="PGUpdate|Win32">
      <Configuration>PGUpdate</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="PGUpdate|x64">
      <Configuration>PGUpdate</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
28 29 30
    <ProjectConfiguration Include="Debug|x64">
      <Configuration>Debug</Configuration>
      <Platform>x64</Platform>
31 32 33 34 35 36 37 38 39
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|x64">
      <Configuration>Release</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectGuid>{C5A3E7FB-9695-4B2E-960B-1D9F43F1E555}</ProjectGuid>
    <RootNamespace>tix</RootNamespace>
40
    <SupportSigning>true</SupportSigning>
41
  </PropertyGroup>
42 43

  <Import Project="python.props" />
44
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
45 46 47
  <Import Project="tcltk.props" />
  
  <PropertyGroup Label="Configuration">
48
    <ConfigurationType>Makefile</ConfigurationType>
49 50
    <OutDir>$(tcltkDir)</OutDir>
    <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 58
    <DebugFlags Condition="'$(Configuration)' == 'Debug'">DEBUG=1 NODEBUG=0 TCL_DBGX=g TK_DBGX=g</DebugFlags>
    <DebugFlags Condition="'$(Configuration)' != 'Debug'">DEBUG=0 NODEBUG=1</DebugFlags>
59
    <CFlags>-c -W3 -nologo -MD -wd4028 -wd4090 -wd4244 -wd4267 -wd4312</CFlags>
60 61 62
    <NMakeBuildCommandLine>setlocal
set VCINSTALLDIR=$(VCInstallDir)
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 66
</NMakeBuildCommandLine>
    <NMakeCleanCommandLine>rmdir /q/s "$(OutDir.TrimEnd(`\`))"</NMakeCleanCommandLine>
67
  </PropertyGroup>
68
  
69 70 71 72 73 74 75 76
  <Target Name="SignFiles" AfterTargets="Build" Condition="$(_SignCommand) != ''">
    <ItemGroup>
      <FilesToSign Include="$(OutDir)\bin\*.exe" />
      <FilesToSign Include="$(OutDir)\bin\*.dll" />
    </ItemGroup>
    <Exec Command="$(_SignCommand) &quot;%(FilesToSign.FullPath)&quot;" ContinueOnError="true" />
  </Target>

77 78 79
  <ItemGroup>
    <ProjectReference Include="tcl.vcxproj">
      <Project>{b5fd6f1d-129e-4bff-9340-03606fac7283}</Project>
80
      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
81 82 83
    </ProjectReference>
    <ProjectReference Include="tk.vcxproj">
      <Project>{7e85eccf-a72c-4da4-9e52-884508e80ba1}</Project>
84
      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
85 86
    </ProjectReference>
  </ItemGroup>
87

88
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
89 90 91 92 93 94

  <Target Name="Clean" />
  <Target Name="CleanAll">
    <RemoveDir Directories="$(OutDir)" />
    <RemoveDir Directories="$(IntDir)" />
  </Target>
95 96
  
  <Target Name="ResolveAssemblyReferences" />
97
</Project>