Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
f46eccd0
Kaydet (Commit)
f46eccd0
authored
Ara 10, 2018
tarafından
Jeremy Kloth
Kaydeden (comit)
Steve Dower
Ara 10, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-35433: Properly detect installed SDK versions (GH-11009)
üst
e448f9c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
build.bat
PCbuild/build.bat
+2
-1
python.props
PCbuild/python.props
+11
-6
No files found.
PCbuild/build.bat
Dosyayı görüntüle @
f46eccd0
...
...
@@ -148,4 +148,5 @@ goto :eof
:Version
rem Display the current build version information
%MSBUILD% "%dir%python.props" /t:ShowVersionInfo /v:m /nologo %1 %2 %3 %4 %5 %6 %7 %8 %9
call "%dir%find_msbuild.bat" %MSBUILD%
if not ERRORLEVEL 1 %MSBUILD% "%dir%pythoncore.vcxproj" /t:ShowVersionInfo /v:m /nologo %1 %2 %3 %4 %5 %6 %7 %8 %9
PCbuild/python.props
Dosyayı görüntüle @
f46eccd0
...
...
@@ -77,14 +77,18 @@
-->
<_RegistryVersion>
$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)
</_RegistryVersion>
<_RegistryVersion
Condition=
"$(_RegistryVersion) == ''"
>
$(Registry:HKEY_LOCAL_MACHINE\WOW6432Node\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)
</_RegistryVersion>
<
DefaultWindowsSDKVersion>
10.0.17134.0
</DefaultWindowsSDKVersion
>
<
DefaultWindowsSDKVersion
Condition=
"$(_RegistryVersion) == '10.0.16299'"
>
10.0.16299.0
</DefaultWindowsSDK
Version>
<DefaultWindowsSDKVersion
Condition=
"$(_RegistryVersion) == '10.0.15063'"
>
10.0.15063.0
</DefaultWindowsSDKVersion>
<
DefaultWindowsSDKVersion
Condition=
"$(_RegistryVersion) == '10.0.14393'"
>
10.0.14393.0
</DefaultWindowsSDKVersion
>
<DefaultWindowsSDKVersion
Condition=
"$(_RegistryVersion) == '10.0.10586'"
>
10.0.10586.0
</DefaultWindowsSDKVersion>
<DefaultWindowsSDKVersion
Condition=
"$(
_RegistryVersion) == '10.0.10240'"
>
10.0.10240.0
</DefaultWindowsSDKVersion>
<
!-- Sometimes the version in the registry has to .0 suffix, and sometimes it doesn't. Check and add it --
>
<
_RegistryVersion
Condition=
"$(_RegistryVersion) != '' and !$(_RegistryVersion.EndsWith('.0'))"
>
$(_RegistryVersion).0
</_Registry
Version>
<
!-- The minimum allowed SDK version to use for building --
>
<DefaultWindowsSDKVersion>
10.0.10586.0
</DefaultWindowsSDKVersion>
<DefaultWindowsSDKVersion
Condition=
"$(
[System.Version]::Parse($(_RegistryVersion))) > $([System.Version]::Parse($(DefaultWindowsSDKVersion)))"
>
$(_RegistryVersion)
</DefaultWindowsSDKVersion>
</PropertyGroup>
<PropertyGroup
Condition=
"$(WindowsTargetPlatformVersion) == ''"
>
<WindowsTargetPlatformVersion>
$(DefaultWindowsSDKVersion)
</WindowsTargetPlatformVersion>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(OverrideVersion)' == ''"
>
<!--
Read version information from Include\patchlevel.h. The following properties are set:
...
...
@@ -190,5 +194,6 @@
<Message
Importance=
"high"
Text=
"Field3Value: $(Field3Value)"
/>
<Message
Importance=
"high"
Text=
"SysWinVer: $(SysWinVer)"
/>
<Message
Importance=
"high"
Text=
"PyDllName: $(PyDllName)"
/>
<Message
Importance=
"high"
Text=
"WindowsSdkVersion: $(TargetPlatformVersion)"
/>
</Target>
</Project>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment