Bump vcpkg to a new snapshot

Some patches were upstreamed and this beings the version in line with
what we need for Android. This patch also centralizes the version into a
shared file, for future use.

Change-Id: I90973f9bfcbc1bfeb2d11e2ee7a7fa4e4f6a58a2
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Simon Hausmann
2019-10-09 16:32:59 +02:00
committed by Liang Qi
parent 8eab11f696
commit 1aa25c1084
3 changed files with 11 additions and 6 deletions

View File

@@ -43,8 +43,9 @@ source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
# Refresh to make sure we have the EMSCRIPTEN environment variable, needed for the vcpkg wasm build.
source ~/.bashrc
version="qt-snapshot-2019-10-09"
officialUrl="https://codeload.github.com/tronical/vcpkg/tar.gz/$version"
source "${BASH_SOURCE%/*}/../shared/vcpkg_version.txt"
officialUrl="https://codeload.github.com/tronical/vcpkg/tar.gz/$vcpkg_version"
targetFile="vcpkg.tar.gz"
targetFolder="$HOME/vcpkg"
@@ -69,4 +70,4 @@ cd $targetFolder
rm -rf packages buildtrees downloads
echo "VCPKG = $version" >> ~/versions.txt
echo "VCPKG = $vcpkg_version" >> ~/versions.txt

View File

@@ -0,0 +1 @@
vcpkg_version=qt-snapshot-2019-10-09

View File

@@ -36,15 +36,18 @@
Write-Host "Installing vcpkg"
$version = "qt-snapshot-2019-06-20"
$officialUrl = "https://codeload.github.com/tronical/vcpkg/zip/$version"
$n = Get-Content "$PSScriptRoot\..\shared\vcpkg_version.txt"
$n = $n.Split('=')
New-Variable -Name $n[0] -Value $n[1]
$officialUrl = "https://codeload.github.com/tronical/vcpkg/zip/$vcpkg_version"
$zip = "C:\Utils\vcpkg.zip"
Download "$officialUrl" "" "$zip"
Extract-7Zip "$zip" c:\utils
Remove-Item $zip
$installationFolder = "c:\utils\vcpkg-$version"
$installationFolder = "c:\utils\vcpkg-$vcpkg_version"
cd $installationFolder