blob: 7fcd3e1c618c46db68c015dd5da05364ef0ab6ce [file] [log] [blame]
Steve Dower21a92f82019-06-14 08:29:20 -07001<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <Import Project="pyproject.props" Condition="$(__PyProject_Props_Imported) != 'true'" />
Steve Dower65e4cb12014-11-22 12:54:57 -08004 <PropertyGroup>
5 <TclMajorVersion>8</TclMajorVersion>
6 <TclMinorVersion>6</TclMinorVersion>
Steve Dowerf8e9bd52018-12-14 09:13:15 -08007 <TclPatchLevel>9</TclPatchLevel>
Zachary Ware28c31842016-07-28 18:39:11 -05008 <TclRevision>0</TclRevision>
Steve Dower65e4cb12014-11-22 12:54:57 -08009 <TkMajorVersion>$(TclMajorVersion)</TkMajorVersion>
10 <TkMinorVersion>$(TclMinorVersion)</TkMinorVersion>
11 <TkPatchLevel>$(TclPatchLevel)</TkPatchLevel>
12 <TkRevision>$(TclRevision)</TkRevision>
13 <TixMajorVersion>8</TixMajorVersion>
14 <TixMinorVersion>4</TixMinorVersion>
15 <TixPatchLevel>3</TixPatchLevel>
Steve Dowerab2a34a2015-08-19 08:39:12 -070016 <TixRevision>6</TixRevision>
Zachary Warefb8ca222014-12-15 15:42:10 -060017 <tclDir>$(ExternalsDir)tcl-core-$(TclMajorVersion).$(TclMinorVersion).$(TclPatchLevel).$(TclRevision)\</tclDir>
Steve Dower65e4cb12014-11-22 12:54:57 -080018 <tkDir>$(ExternalsDir)tk-$(TkMajorVersion).$(TkMinorVersion).$(TkPatchLevel).$(TkRevision)\</tkDir>
19 <tixDir>$(ExternalsDir)tix-$(TixMajorVersion).$(TixMinorVersion).$(TixPatchLevel).$(TixRevision)\</tixDir>
Steve Dower68d663c2017-07-17 11:15:48 +020020 <tcltkDir>$(ExternalsDir)tcltk-$(TclMajorVersion).$(TclMinorVersion).$(TclPatchLevel).$(TclRevision)\$(ArchName)\</tcltkDir>
21 <!--<TclDebugExt Condition="'$(Configuration)' == 'Debug'">g</TclDebugExt>-->
Steve Dower65e4cb12014-11-22 12:54:57 -080022 <tclDLLName>tcl$(TclMajorVersion)$(TclMinorVersion)t$(TclDebugExt).dll</tclDLLName>
23 <tclLibName>tcl$(TclMajorVersion)$(TclMinorVersion)t$(TclDebugExt).lib</tclLibName>
24 <tclShExeName>tclsh$(TclMajorVersion)$(TclMinorVersion)t$(TclDebugExt).exe</tclShExeName>
25 <tkDLLName>tk$(TkMajorVersion)$(TkMinorVersion)t$(TclDebugExt).dll</tkDLLName>
26 <tkLibName>tk$(TkMajorVersion)$(TkMinorVersion)t$(TclDebugExt).lib</tkLibName>
27 <tixDLLName>tix$(TixMajorVersion)$(TixMinorVersion)$(TclDebugExt).dll</tixDLLName>
28 <tixDLLPath>$(tcltkDir)lib\tix$(TixMajorVersion).$(TixMinorVersion).$(TixPatchLevel)\$(tixDLLName)</tixDLLPath>
29 <tcltkLib>$(tcltkDir)lib\tcl$(TclMajorVersion)$(TclMinorVersion)t$(TclDebugExt).lib;$(tcltkDir)lib\tk$(TkMajorVersion)$(TkMinorVersion)t$(TclDebugExt).lib</tcltkLib>
30 <TclMachine>IX86</TclMachine>
31 <TclMachine Condition="'$(Platform)' == 'x64'">AMD64</TclMachine>
32 <TclVersions>TCL_MAJOR_VERSION=$(TclMajorVersion) TCL_MINOR_VERSION=$(TclMinorVersion) TCL_PATCH_LEVEL=$(TclPatchLevel)</TclVersions>
33 <TclShortVersions>TCL_MAJOR=$(TclMajorVersion) TCL_MINOR=$(TclMinorVersion) TCL_PATCH=$(TclPatchLevel)</TclShortVersions>
34 <TkVersions>TK_MAJOR_VERSION=$(TkMajorVersion) TK_MINOR_VERSION=$(TkMinorVersion) TK_PATCH_LEVEL=$(TkPatchLevel)</TkVersions>
35
36 <BuildDirTop>Release</BuildDirTop>
37 <BuildDirTop Condition="$(Configuration) == 'Debug'">Debug</BuildDirTop>
38 <BuildDirTop Condition="$(TclMachine) != 'IX86'">$(BuildDirTop)_$(TclMachine)</BuildDirTop>
Steve Dower5d578442017-09-06 13:55:42 -070039 <BuildDirTop Condition="$(PlatformToolset) == 'v141'">$(BuildDirTop)_VC13</BuildDirTop>
Steve Dowerd3722e72016-03-12 08:38:55 -080040 <BuildDirTop Condition="$(PlatformToolset) == 'v140'">$(BuildDirTop)_VC13</BuildDirTop>
41 <BuildDirTop Condition="$(PlatformToolset) == 'v120'">$(BuildDirTop)_VC12</BuildDirTop>
42 <BuildDirTop Condition="$(PlatformToolset) == 'v110'">$(BuildDirTop)_VC11</BuildDirTop>
43 <BuildDirTop Condition="$(PlatformToolset) == 'v100'">$(BuildDirTop)_VC10</BuildDirTop>
Zachary Warea191b912014-03-21 22:58:19 -050044 </PropertyGroup>
Steve Dower21a92f82019-06-14 08:29:20 -070045
46 <!--
47 Helper target for copying the lib to a specific directory.
48
49 Using "msbuild tcltk.props /t:CopyTclTkLib /p:OutDir=..." is generally
50 easier than trying to extract the value of $(tcltkdir).
51 -->
52 <Target Name="CopyTclTkLib">
53 <ItemGroup>
54 <_TclTkLib Include="$(tcltkdir)\lib\**\*" />
55 </ItemGroup>
56 <Copy SourceFiles="@(_TclTkLib)"
57 DestinationFiles="$(OutDir)\%(RecursiveDir)\%(Filename)%(Extension)"
58 UseHardlinksIfPossible="true" />
59 </Target>
Zachary Ware28c31842016-07-28 18:39:11 -050060</Project>