summaryrefslogtreecommitdiff
path: root/src/ivicore/configure.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/ivicore/configure.json')
-rw-r--r--src/ivicore/configure.json78
1 files changed, 75 insertions, 3 deletions
diff --git a/src/ivicore/configure.json b/src/ivicore/configure.json
index 3a494e2..be05fbb 100644
--- a/src/ivicore/configure.json
+++ b/src/ivicore/configure.json
@@ -2,9 +2,81 @@
"module": "ivicore",
"testDir": "../../config.tests",
- "features": {},
+ "tests": {
+ "python3": {
+ "label": "Python3",
+ "type": "python3",
+ "files": [ "python3" ]
+ },
+ "pip": {
+ "label": "pip",
+ "type": "python3_package",
+ "package": "pip"
+ },
+ "virtualenv": {
+ "label": "virtualenv",
+ "type": "python3_package",
+ "package": "virtualenv"
+ }
- "report": [],
+ },
- "summary": []
+ "features": {
+ "python3": {
+ "label": "python3",
+ "condition": "tests.python3",
+ "output": [
+ "privateFeature",
+ { "type": "varAssign", "name": "QMAKE_PYTHON3_LOCATION", "value": "tests.python3.value" }
+ ]
+ },
+ "python3-pip": {
+ "label": "pip",
+ "condition": "features.python3 && tests.pip",
+ "output": [ "privateFeature" ]
+ },
+ "python3-virtualenv": {
+ "label": "virtualenv",
+ "condition": "features.python3 && tests.virtualenv",
+ "output": [ "privateFeature" ]
+ },
+ "ivigenerator": {
+ "label": "IVI Generator",
+ "condition": [
+ "features.python3",
+ "features.python3-pip",
+ "features.python3-virtualenv"
+ ],
+ "output": [ "publicFeature" ]
+ }
+ },
+
+ "report": [
+ {
+ "type": "warning",
+ "condition": "!features.ivigenerator",
+ "message": "Cannot build the IVI Generator because its dependencies are not satisfied.
+The IVI Generator provides tooling to generate source code out of IDL files.
+Make sure that python3 and its 'pip' and 'virtualenv' packages are installed."
+ }
+ ],
+
+ "summary": [
+ {
+ "section": "Qt IVI Core",
+ "entries": [
+ {
+ "section": "Python3",
+ "entries": [
+ {
+ "type": "python3"
+ },
+ "python3-virtualenv",
+ "python3-pip"
+ ]
+ },
+ "ivigenerator"
+ ]
+ }
+ ]
}