Win32
Release
v90
v90
false
true
amd64
win32
$(ArchName)-pgo
$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)\..\))
$(PySourcePath)\
$(PySourcePath)PCBuild\
$(BuildPath)\$(ArchName)\
$(BuildPath)\
$([System.IO.Path]::GetFullPath(`$(PySourcePath)externals\`))
$(ExternalsDir)sqlite-3.14.2.0\
$(ExternalsDir)bzip2-1.0.6\
$(ExternalsDir)bsddb-4.7.25.0
$(ExternalsDir)openssl-1.0.2q\
$(opensslDir)include32
$(opensslDir)include64
$(ExternalsDir)\nasm-2.11.06\
_d
$(BuildPath)python$(PyDebugExt).exe
<_PatchLevelContent>$([System.IO.File]::ReadAllText(`$(PySourcePath)Include\patchlevel.h`))
$([System.Text.RegularExpressions.Regex]::Match($(_PatchLevelContent), `define\s+PY_MAJOR_VERSION\s+(\d+)`).Groups[1].Value)
$([System.Text.RegularExpressions.Regex]::Match($(_PatchLevelContent), `define\s+PY_MINOR_VERSION\s+(\d+)`).Groups[1].Value)
$([System.Text.RegularExpressions.Regex]::Match($(_PatchLevelContent), `define\s+PY_MICRO_VERSION\s+(\d+)`).Groups[1].Value)
<_ReleaseLevel>$([System.Text.RegularExpressions.Regex]::Match($(_PatchLevelContent), `define\s+PY_RELEASE_LEVEL\s+PY_RELEASE_LEVEL_(\w+)`).Groups[1].Value)
$([System.Text.RegularExpressions.Regex]::Match($(_PatchLevelContent), `define\s+PY_RELEASE_SERIAL\s+(\d+)`).Groups[1].Value)
15
10
11
12
a$(ReleaseSerial)
b$(ReleaseSerial)
rc$(ReleaseSerial)
$(MajorVersionNumber).$(MinorVersionNumber).$(MicroVersionNumber)
$(MajorVersionNumber).$(MinorVersionNumber).$(MicroVersionNumber)$(ReleaseLevelName)
$([msbuild]::BitwiseOr(
$([msbuild]::Multiply($(MajorVersionNumber), 16777216)),
$([msbuild]::BitwiseOr(
$([msbuild]::Multiply($(MinorVersionNumber), 65536)),
$([msbuild]::BitwiseOr(
$([msbuild]::Multiply($(MicroVersionNumber), 256)),
$([msbuild]::BitwiseOr(
$([msbuild]::Multiply($(ReleaseLevelNumber), 16)),
$(ReleaseSerial)
))
))
))
))
$([msbuild]::Add(
$(ReleaseSerial),
$([msbuild]::Add(
$([msbuild]::Multiply($(ReleaseLevelNumber), 10)),
$([msbuild]::Multiply($(MicroVersionNumber), 1000))
))
))
python$(MajorVersionNumber)$(MinorVersionNumber)$(PyDebugExt)
.cp$(MajorVersionNumber)$(MinorVersionNumber)-win32
.cp$(MajorVersionNumber)$(MinorVersionNumber)-win_amd64
$(MajorVersionNumber).$(MinorVersionNumber)