mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-23 21:36:50 +08:00
Add more info how vcpkg install script works
Task-number: QTQAINFRA-7522 Task-number: QTQAINFRA-7455 Change-Id: I6ae31d66128d3238fa933249f0efe55169a6e52a Reviewed-by: Simo Fält <simo.falt@qt.io> Reviewed-by: Aku Pietikäinen <aku.pietikainen@qt.io>
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
# Copyright (C) 2023 The Qt Company Ltd.
|
# Copyright (C) 2023 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||||
|
|
||||||
|
# This script will
|
||||||
|
# 1) Clone the vcpkg repo - https://github.com/microsoft/vcpkg/tags
|
||||||
|
# 2) Install the vcpkg-tool - https://github.com/microsoft/vcpkg-tool/tags
|
||||||
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
# shellcheck source=../unix/DownloadURL.sh
|
# shellcheck source=../unix/DownloadURL.sh
|
||||||
@@ -18,6 +22,7 @@ echo "Cloning the vcpkg repo"
|
|||||||
git clone "$vcpkgRepo" "$vcpkgRoot"
|
git clone "$vcpkgRepo" "$vcpkgRoot"
|
||||||
git -C "$vcpkgRoot" checkout "tags/$vcpkgVersion"
|
git -C "$vcpkgRoot" checkout "tags/$vcpkgVersion"
|
||||||
|
|
||||||
|
echo "Install the vcpkg-tool"
|
||||||
releaseTagFile="${BASH_SOURCE%/*}/../shared/vcpkg_tool_release_tag.txt"
|
releaseTagFile="${BASH_SOURCE%/*}/../shared/vcpkg_tool_release_tag.txt"
|
||||||
for line in $(cat "$releaseTagFile")
|
for line in $(cat "$releaseTagFile")
|
||||||
do
|
do
|
||||||
|
|||||||
Reference in New Issue
Block a user