mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-05 02:39:23 +08:00
There is not particular reason to hold multiple manifests for the vcpkg
for different platforms, since we expect that the direct dependency set
that is used from vcpkg will remain the same on each platform.
Keeping copies of the vcpkg manifest doesn't make much sense.
The vcpkg manifest and configuration file are now in the
coin/provisioning/common/shared/vcpkg directory.
Change-Id: Icc9c88592c68cb591216f3d0668f9984592d6c7b
Reviewed-by: Simo Fält <simo.falt@qt.io>
(cherry picked from commit da911f9b20)
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
31 lines
1.0 KiB
Bash
Executable File
31 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# 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
|
|
|
|
echo "Installing vcpkg android ports"
|
|
|
|
pushd "${BASH_SOURCE%/*}/../shared/vcpkg" || exit
|
|
"$VCPKG_ROOT/vcpkg" install --triplet x86-android-qt --x-install-root x86-android-qt-tmp --debug
|
|
"$VCPKG_ROOT/vcpkg" install --triplet x86_64-android-qt --x-install-root x86_64-android-qt-tmp --debug
|
|
|
|
mkdir -p "$VCPKG_ROOT/installed"
|
|
cp -R x86-android-qt-tmp/* "$VCPKG_ROOT/installed/"
|
|
cp -R x86_64-android-qt-tmp/* "$VCPKG_ROOT/installed/"
|
|
|
|
cmake "-DVCPKG_EXECUTABLE=$VCPKG_ROOT/vcpkg"\
|
|
"-DVCPKG_INSTALL_ROOT=$PWD/x86-android-qt-tmp"\
|
|
"-DOUTPUT=~/versions.txt"\
|
|
-P\
|
|
"${BASH_SOURCE%/*}/../shared/vcpkg_parse_packages.cmake"
|
|
|
|
cmake "-DVCPKG_EXECUTABLE=$VCPKG_ROOT/vcpkg"\
|
|
"-DVCPKG_INSTALL_ROOT=$PWD/x86_64-android-qt-tmp"\
|
|
"-DOUTPUT=$HOME/versions.txt"\
|
|
-P\
|
|
"${BASH_SOURCE%/*}/../shared/vcpkg_parse_packages.cmake"
|
|
|
|
rm -rf x86-android-qt-tmp
|
|
rm -rf x86_64-android-qt-tmp
|
|
|
|
popd || exit
|