mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-21 04:16:39 +08:00
Enable conan revisions mode
Change-Id: I0fb9d6943cf0e6e54f631314a67348f703c31e41
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
(cherry picked from commit 3802e21afe)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
committed by
Qt Cherry-pick Bot
parent
1308663fd6
commit
88b3474bcf
@@ -1,8 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
# This script will install Conan
|
# This script will install Conan
|
||||||
# Note! Python3 is required for Conan installation
|
# Note! Python3 is required for Conan installation
|
||||||
|
|
||||||
# Install Conan to Python user install directory (typically ~./local/)
|
# Install Conan to Python user install directory (typically ~./local/)
|
||||||
pip3 install conan --user
|
pip3 install conan --user
|
||||||
|
|
||||||
|
SetEnvVar "CONAN_REVISIONS_ENABLED" "1"
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ Write-Output "Conan = 1.29.0" >> ~\versions.txt
|
|||||||
Run-Executable "$scriptsPath\conan.exe" "remote add qtproject https://api.bintray.com/conan/qtproject/conan --insert --force"
|
Run-Executable "$scriptsPath\conan.exe" "remote add qtproject https://api.bintray.com/conan/qtproject/conan --insert --force"
|
||||||
|
|
||||||
Set-EnvironmentVariable "CI_CONAN_BUILDINFO_DIR" "C:\Utils\conanbuildinfos"
|
Set-EnvironmentVariable "CI_CONAN_BUILDINFO_DIR" "C:\Utils\conanbuildinfos"
|
||||||
|
Set-EnvironmentVariable "CONAN_REVISIONS_ENABLED" "1"
|
||||||
|
|
||||||
function Run-Conan-Install
|
function Run-Conan-Install
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user