Change platform from x86 to Any CPU (preferring 64 bit)
A Release-x86 configuration allows x86 Windows installers to still be created.
This commit is contained in:
10
thirdparty/fetch-thirdparty-deps.ps1
vendored
10
thirdparty/fetch-thirdparty-deps.ps1
vendored
@@ -40,7 +40,7 @@ if (!(Test-Path "windows/SDL2.dll"))
|
||||
echo "Fetching SDL2 from libsdl.org"
|
||||
|
||||
# Download zip:
|
||||
$zipFileName = "SDL2-2.0.5-win32-x86.zip"
|
||||
$zipFileName = "SDL2-2.0.5-win32-x64.zip"
|
||||
$target = Join-Path $pwd.ToString() $zipFileName
|
||||
(New-Object System.Net.WebClient).DownloadFile("https://www.libsdl.org/release/" + $zipFileName, $target)
|
||||
|
||||
@@ -52,7 +52,7 @@ if (!(Test-Path "windows/SDL2.dll"))
|
||||
$destination.Copyhere($zipFile.items())
|
||||
|
||||
# Remove junk files:
|
||||
rm SDL2-2.0.5-win32-x86.zip
|
||||
rm "$zipFileName"
|
||||
rm -path "$currentPath\windows\README-SDL.txt"
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ if (!(Test-Path "windows/lua51.dll"))
|
||||
{
|
||||
echo "Fetching Lua 5.1 from NuGet."
|
||||
./nuget.exe install lua.binaries -Version 5.1.5 -ExcludeVersion -Verbosity quiet -Source nuget.org
|
||||
cp lua.binaries/bin/win32/dll8/lua5.1.dll ./windows/lua51.dll
|
||||
cp lua.binaries/bin/win64/dll8/lua5.1.dll ./windows/lua51.dll
|
||||
rmdir lua.binaries -Recurse
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ if (!(Test-Path "windows/freetype6.dll"))
|
||||
{
|
||||
echo "Fetching FreeType2 from NuGet."
|
||||
./nuget.exe install SharpFont.Dependencies -Version 2.6.0 -ExcludeVersion -Verbosity quiet -Source nuget.org
|
||||
cp SharpFont.Dependencies/bin/msvc9/x86/freetype6.dll ./windows/freetype6.dll
|
||||
cp SharpFont.Dependencies/bin/msvc9/x64/freetype6.dll ./windows/freetype6.dll
|
||||
rmdir SharpFont.Dependencies -Recurse
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ if (!(Test-Path "windows/soft_oal.dll"))
|
||||
{
|
||||
echo "Fetching OpenAL Soft from NuGet."
|
||||
./nuget.exe install OpenAL-Soft -Version 1.16.0 -ExcludeVersion -Verbosity quiet -Source nuget.org
|
||||
cp OpenAL-Soft/bin/Win32/soft_oal.dll windows/soft_oal.dll
|
||||
cp OpenAL-Soft/bin/Win64/soft_oal.dll windows/soft_oal.dll
|
||||
rmdir OpenAL-Soft -Recurse
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user