WinRT: removed Windows 8.0 from build-bot + NuGet package creation scripts
authorDavid Ludwig <dludwig@pobox.com>
Sat, 25 Feb 2017 21:23:12 -0500
changeset 109111863707d9df8
parent 10910 2c1930113f17
child 10912 6aca05df632b
WinRT: removed Windows 8.0 from build-bot + NuGet package creation scripts

According to Steam's OS stats, Windows 8.0 use is pretty much nil. Further,
Microsoft hasn't support Windows 8.0 development in any of their
actively-updated toolchains, and setting it up can be a pain.

In theory, SDL2 still supports Windows 8.0, however building of Windows 8.0
.dlls is no longer the default, if and when using the 'winrtbuild.*' scripts.
The MSVC 2012 project files for building Windows 8.0 dlls remain, though,
for the time being.
VisualC-WinRT/SDL2-WinRT.targets
build-scripts/winrtbuild.ps1
     1.1 --- a/VisualC-WinRT/SDL2-WinRT.targets	Fri Feb 24 20:49:14 2017 -0500
     1.2 +++ b/VisualC-WinRT/SDL2-WinRT.targets	Sat Feb 25 21:23:12 2017 -0500
     1.3 @@ -2,7 +2,6 @@
     1.4  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     1.5  
     1.6    <PropertyGroup>
     1.7 -    <LibSDL2-DeviceType Condition="'$(TargetPlatformIdentifier)' == 'Windows' and '$(TargetPlatformVersion)' == '8.0'">WinRT80</LibSDL2-DeviceType>
     1.8      <LibSDL2-DeviceType Condition="'$(TargetPlatformIdentifier)' == 'Windows' and '$(TargetPlatformVersion)' == '8.1'">WinRT81</LibSDL2-DeviceType>
     1.9      <LibSDL2-DeviceType Condition="'$(TargetPlatformIdentifier)' == 'Windows Phone' and '$(TargetPlatformVersion)' == '8.0'">WinPhone80</LibSDL2-DeviceType>
    1.10      <LibSDL2-DeviceType Condition="'$(TargetPlatformIdentifier)' == 'WindowsPhoneApp' and '$(TargetPlatformVersion)' == '8.1'">WinPhone81</LibSDL2-DeviceType>
     2.1 --- a/build-scripts/winrtbuild.ps1	Fri Feb 24 20:49:14 2017 -0500
     2.2 +++ b/build-scripts/winrtbuild.ps1	Sat Feb 25 21:23:12 2017 -0500
     2.3 @@ -220,9 +220,15 @@
     2.4  if ( ! (Build-SDL-WinRT-Variant "SDL" "v120_wp81" "Win32")) { $DidAnyDLLBuildFail = $true }
     2.5  
     2.6  # Build for Windows 8.0 and Windows RT 8.0, via VC++ 2012:
     2.7 -if ( ! (Build-SDL-WinRT-Variant "SDL" "v110" "ARM"))        { $DidAnyDLLBuildFail = $true }
     2.8 -if ( ! (Build-SDL-WinRT-Variant "SDL" "v110" "Win32"))      { $DidAnyDLLBuildFail = $true }
     2.9 -if ( ! (Build-SDL-WinRT-Variant "SDL" "v110" "x64"))        { $DidAnyDLLBuildFail = $true }
    2.10 +#
    2.11 +# Win 8.0 auto-building was disabled on 2017-Feb-25, by David Ludwig <dludwig@pobox.com>.
    2.12 +# Steam's OS-usage surveys indicate that Windows 8.0 use is pretty much nil, plus
    2.13 +# Microsoft hasn't supported Windows 8.0 development for a few years now.
    2.14 +# The commented-out lines below may still work on some systems, though.
    2.15 +# 
    2.16 +#if ( ! (Build-SDL-WinRT-Variant "SDL" "v110" "ARM"))        { $DidAnyDLLBuildFail = $true }
    2.17 +#if ( ! (Build-SDL-WinRT-Variant "SDL" "v110" "Win32"))      { $DidAnyDLLBuildFail = $true }
    2.18 +#if ( ! (Build-SDL-WinRT-Variant "SDL" "v110" "x64"))        { $DidAnyDLLBuildFail = $true }
    2.19  
    2.20  # Build for Windows 8.1 and Windows RT 8.1, via VC++ 2013:
    2.21  if ( ! (Build-SDL-WinRT-Variant "SDL" "v120" "ARM"))        { $DidAnyDLLBuildFail = $true }