mirror of https://github.com/encounter/SDL.git
WinRT: made WinRT build script create Win10/UWP .dll files
This commit is contained in:
parent
9394953400
commit
0020aa94c8
|
@ -59,6 +59,9 @@ function Get-MSBuild-Env-Launcher
|
||||||
if ($PlatformToolset -eq "v120_wp81") { # Windows Phone 8.1, via VS 2013
|
if ($PlatformToolset -eq "v120_wp81") { # Windows Phone 8.1, via VS 2013
|
||||||
return "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"
|
return "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"
|
||||||
}
|
}
|
||||||
|
if ($PlatformToolset -eq "v140") { # Windows 10, via VS 2015
|
||||||
|
return "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
|
||||||
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,6 +105,13 @@ function Get-SDL-WinRT-Variant-Name
|
||||||
return "WinPhone81"
|
return "WinPhone81"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ($PlatformToolset -eq "v140") { # Windows 10, via VS 2015 project files
|
||||||
|
if ($IncludeVSSuffix) {
|
||||||
|
return "UWP_VS2015"
|
||||||
|
} else {
|
||||||
|
return "UWP"
|
||||||
|
}
|
||||||
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -216,6 +226,11 @@ if ( ! (Build-SDL-WinRT-Variant "SDL" "v120" "ARM")) { $DidAnyFail = $tru
|
||||||
if ( ! (Build-SDL-WinRT-Variant "SDL" "v120" "Win32")) { $DidAnyFail = $true }
|
if ( ! (Build-SDL-WinRT-Variant "SDL" "v120" "Win32")) { $DidAnyFail = $true }
|
||||||
if ( ! (Build-SDL-WinRT-Variant "SDL" "v120" "x64")) { $DidAnyFail = $true }
|
if ( ! (Build-SDL-WinRT-Variant "SDL" "v120" "x64")) { $DidAnyFail = $true }
|
||||||
|
|
||||||
|
# Build for Windows 10, via VC++ 2015
|
||||||
|
if ( ! (Build-SDL-WinRT-Variant "SDL" "v140" "ARM")) { $DidAnyFail = $true }
|
||||||
|
if ( ! (Build-SDL-WinRT-Variant "SDL" "v140" "Win32")) { $DidAnyFail = $true }
|
||||||
|
if ( ! (Build-SDL-WinRT-Variant "SDL" "v140" "x64")) { $DidAnyFail = $true }
|
||||||
|
|
||||||
# Let the script's caller know whether or not any errors occurred.
|
# Let the script's caller know whether or not any errors occurred.
|
||||||
# Exit codes compatible with Buildbot are used (1 for error, 0 for success).
|
# Exit codes compatible with Buildbot are used (1 for error, 0 for success).
|
||||||
if ($DidAnyFail -eq $true) {
|
if ($DidAnyFail -eq $true) {
|
||||||
|
|
Loading…
Reference in New Issue