mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-10 13:07:59 +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>
21 lines
940 B
PowerShell
21 lines
940 B
PowerShell
# 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
|
|
. "$PSScriptRoot\helpers.ps1"
|
|
|
|
Write-Host "Installing vcpkg android ports"
|
|
$vcpkgExe = "$env:VCPKG_ROOT\vcpkg.exe"
|
|
$vcpkgRoot = "$env:VCPKG_ROOT"
|
|
$vcpkgInstallRoot = "armeabi-v7a-android-qt-tmp"
|
|
|
|
Set-Location -Path "$PSScriptRoot\..\shared\vcpkg"
|
|
Run-Executable "$vcpkgExe" "install --triplet armeabi-v7a-android-qt --x-install-root $vcpkgInstallRoot --debug"
|
|
|
|
New-Item -Path "$vcpkgRoot" -Name "installed" -ItemType "directory" -Force
|
|
Copy-Item -Path "$vcpkgInstallRoot\*" -Destination "$vcpkgRoot\installed" -Recurse -Force
|
|
|
|
Run-Executable "cmake" "-DVCPKG_EXECUTABLE=$vcpkgExe -DVCPKG_INSTALL_ROOT=$vcpkgInstallRoot -DOUTPUT=$env:USERPROFILE\versions.txt -P $PSScriptRoot\..\shared\vcpkg_parse_packages.cmake"
|
|
|
|
Remove-Item -Path "$vcpkgInstallRoot" -Recurse -Force
|
|
|
|
Set-Location "$PSScriptRoot"
|