Improve ConanfileProbe.
Add remote option.
This commit is contained in:
parent
f9f61069fe
commit
6d26411500
|
@ -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)) {
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user