#22980 Adds platform and version tags to .pyd files

This commit is contained in:
Steve Dower 2014-12-15 20:45:23 -08:00
parent 09bd9ec9b3
commit 03a144bb6a
5 changed files with 52 additions and 4 deletions

View file

@ -96,6 +96,10 @@
<!-- The name of the resulting pythonXY.dll (without the extension) -->
<PyDllName>python$(MajorVersionNumber)$(MinorVersionNumber)$(PyDebugExt)</PyDllName>
<!-- The version and platform tag to include in .pyd filenames -->
<PydTag Condition="$(Platform) == 'Win32'">.cp$(MajorVersionNumber)$(MinorVersionNumber)-win32</PydTag>
<PydTag Condition="$(Platform) == 'x64'">.cp$(MajorVersionNumber)$(MinorVersionNumber)-win_amd64</PydTag>
</PropertyGroup>
<!-- Displays the calculated version info -->