Win32 Release v140 v120 v110 v100 amd64 win32 $(ArchName)-pgo $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)\..\)) $(PySourcePath)\ $(PySourcePath)PCBuild\$(ArchName)\ $(BuildPath)\ $([System.IO.Path]::GetFullPath(`$(PySourcePath)externals\`)) $(ExternalsDir)sqlite-3.8.3.1\ $(ExternalsDir)bzip2-1.0.6\ $(ExternalsDir)xz-5.0.5\ $(ExternalsDir)openssl-1.0.2a\ $(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) $(SysWinVer)-32