Improve ConanfileProbe.

Add remote option.
This commit is contained in:
Roman Telezhynskyi 2024-03-21 15:21:45 +02:00
parent f9f61069fe
commit 6d26411500
2 changed files with 8 additions and 0 deletions

View File

@ -45,6 +45,7 @@ Probe {
property var settings
property bool verbose: false
property stringList profiles: []
property string remote
// Output
property var dependencies
@ -115,6 +116,11 @@ Probe {
Utilities.getHash(args.join()));
args = args.concat(["-if", generatedFilesPath]);
if (remote) {
args = args.concat(["--remote", remote]);
}
var p = new Process();
p.start(executable, args);
while (!p.waitForFinished(500)) {

View File

@ -10,6 +10,7 @@ Project {
property bool enableConan: false
property bool conanWithXerces: false
property bool conanWithCrashReporting: false
property string conanRemote
property string minimumMacosVersion: undefined
property string minimumQtVersion: "5.15"
property stringList conanProfiles: []
@ -22,6 +23,7 @@ Project {
conanfilePath: project.sourceDirectory + "/conanfile.py"
verbose: true
profiles: conanProfiles
remote: conanRemote
options: {
var o = {};
if (conanWithXerces)