2019-06-14 17:29:20 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<Import Project="pyproject.props" Condition="$(__PyProject_Props_Imported) != 'true'" />
|
2014-11-22 21:54:57 +01:00
|
|
|
<PropertyGroup>
|
2024-05-31 14:07:19 +02:00
|
|
|
<TclVersion Condition="$(TclVersion) == ''">8.6.14.0</TclVersion>
|
2023-02-03 19:08:34 +01:00
|
|
|
<TkVersion Condition="$(TkVersion) == ''">$(TclVersion)</TkVersion>
|
|
|
|
<TclMajorVersion>$([System.Version]::Parse($(TclVersion)).Major)</TclMajorVersion>
|
|
|
|
<TclMinorVersion>$([System.Version]::Parse($(TclVersion)).Minor)</TclMinorVersion>
|
|
|
|
<TclPatchLevel>$([System.Version]::Parse($(TclVersion)).Build)</TclPatchLevel>
|
|
|
|
<TclRevision>$([System.Version]::Parse($(TclVersion)).Revision)</TclRevision>
|
|
|
|
<TkMajorVersion>$([System.Version]::Parse($(TkVersion)).Major)</TkMajorVersion>
|
|
|
|
<TkMinorVersion>$([System.Version]::Parse($(TkVersion)).Minor)</TkMinorVersion>
|
|
|
|
<TkPatchLevel>$([System.Version]::Parse($(TkVersion)).Build)</TkPatchLevel>
|
|
|
|
<TkRevision>$([System.Version]::Parse($(TkVersion)).Revision)</TkRevision>
|
|
|
|
<tclDir Condition="$(tclDir) == ''">$(ExternalsDir)tcl-core-$(TclVersion)\</tclDir>
|
|
|
|
<tkDir Condition="$(tkDir) == ''">$(ExternalsDir)tk-$(TkVersion)\</tkDir>
|
|
|
|
<tcltkDir Condition="$(tcltkDir) == ''">$(ExternalsDir)tcltk-$(TclVersion)\$(ArchName)\</tcltkDir>
|
2022-02-28 13:06:43 +01:00
|
|
|
<tclWin32Exe Condition="$(Platform) == 'Win32'">$(tcltkDir)\bin\tclsh$(TclMajorVersion)$(TclMinorVersion)t.exe</tclWin32Exe>
|
|
|
|
<tclWin32Exe Condition="$(Platform) != 'Win32'">$(tcltkDir)\..\win32\bin\tclsh$(TclMajorVersion)$(TclMinorVersion)t.exe</tclWin32Exe>
|
|
|
|
|
2017-07-17 11:15:48 +02:00
|
|
|
<!--<TclDebugExt Condition="'$(Configuration)' == 'Debug'">g</TclDebugExt>-->
|
2014-11-22 21:54:57 +01:00
|
|
|
<tclDLLName>tcl$(TclMajorVersion)$(TclMinorVersion)t$(TclDebugExt).dll</tclDLLName>
|
|
|
|
<tclLibName>tcl$(TclMajorVersion)$(TclMinorVersion)t$(TclDebugExt).lib</tclLibName>
|
|
|
|
<tclShExeName>tclsh$(TclMajorVersion)$(TclMinorVersion)t$(TclDebugExt).exe</tclShExeName>
|
|
|
|
<tkDLLName>tk$(TkMajorVersion)$(TkMinorVersion)t$(TclDebugExt).dll</tkDLLName>
|
|
|
|
<tkLibName>tk$(TkMajorVersion)$(TkMinorVersion)t$(TclDebugExt).lib</tkLibName>
|
2023-01-26 21:47:24 +01:00
|
|
|
<tclZlibDLLName>zlib1.dll</tclZlibDLLName>
|
2014-11-22 21:54:57 +01:00
|
|
|
<tcltkLib>$(tcltkDir)lib\tcl$(TclMajorVersion)$(TclMinorVersion)t$(TclDebugExt).lib;$(tcltkDir)lib\tk$(TkMajorVersion)$(TkMinorVersion)t$(TclDebugExt).lib</tcltkLib>
|
|
|
|
<TclMachine>IX86</TclMachine>
|
|
|
|
<TclMachine Condition="'$(Platform)' == 'x64'">AMD64</TclMachine>
|
2022-01-28 17:48:06 +01:00
|
|
|
<TclMachine Condition="'$(Platform)' == 'ARM64'">ARM64</TclMachine>
|
2014-11-22 21:54:57 +01:00
|
|
|
<TclVersions>TCL_MAJOR_VERSION=$(TclMajorVersion) TCL_MINOR_VERSION=$(TclMinorVersion) TCL_PATCH_LEVEL=$(TclPatchLevel)</TclVersions>
|
|
|
|
<TclShortVersions>TCL_MAJOR=$(TclMajorVersion) TCL_MINOR=$(TclMinorVersion) TCL_PATCH=$(TclPatchLevel)</TclShortVersions>
|
|
|
|
<TkVersions>TK_MAJOR_VERSION=$(TkMajorVersion) TK_MINOR_VERSION=$(TkMinorVersion) TK_PATCH_LEVEL=$(TkPatchLevel)</TkVersions>
|
|
|
|
|
|
|
|
<BuildDirTop>Release</BuildDirTop>
|
|
|
|
<BuildDirTop Condition="$(Configuration) == 'Debug'">Debug</BuildDirTop>
|
|
|
|
<BuildDirTop Condition="$(TclMachine) != 'IX86'">$(BuildDirTop)_$(TclMachine)</BuildDirTop>
|
2020-10-19 17:55:10 +02:00
|
|
|
<BuildDirTop Condition="$(PlatformToolset.StartsWith('v14'))">$(BuildDirTop)_VC13</BuildDirTop>
|
2016-03-12 17:38:55 +01:00
|
|
|
<BuildDirTop Condition="$(PlatformToolset) == 'v120'">$(BuildDirTop)_VC12</BuildDirTop>
|
|
|
|
<BuildDirTop Condition="$(PlatformToolset) == 'v110'">$(BuildDirTop)_VC11</BuildDirTop>
|
|
|
|
<BuildDirTop Condition="$(PlatformToolset) == 'v100'">$(BuildDirTop)_VC10</BuildDirTop>
|
2014-03-22 04:58:19 +01:00
|
|
|
</PropertyGroup>
|
2019-06-14 17:29:20 +02:00
|
|
|
|
|
|
|
<!--
|
|
|
|
Helper target for copying the lib to a specific directory.
|
|
|
|
|
|
|
|
Using "msbuild tcltk.props /t:CopyTclTkLib /p:OutDir=..." is generally
|
|
|
|
easier than trying to extract the value of $(tcltkdir).
|
|
|
|
-->
|
|
|
|
<Target Name="CopyTclTkLib">
|
|
|
|
<ItemGroup>
|
|
|
|
<_TclTkLib Include="$(tcltkdir)\lib\**\*" />
|
|
|
|
</ItemGroup>
|
|
|
|
<Copy SourceFiles="@(_TclTkLib)"
|
|
|
|
DestinationFiles="$(OutDir)\%(RecursiveDir)\%(Filename)%(Extension)"
|
|
|
|
UseHardlinksIfPossible="true" />
|
|
|
|
</Target>
|
2016-07-29 01:39:11 +02:00
|
|
|
</Project>
|