summaryrefslogtreecommitdiffstats
path: root/src/core/configure.json
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2017-03-20 11:16:23 +0100
committerSean Harmer <sean.harmer@kdab.com>2017-04-05 10:04:10 +0000
commit0b9c8ea524a756d0839575194267c59627ea5419 (patch)
tree9c2e36049c057dfaf7901f2bf7618dc9f71aed08 /src/core/configure.json
parent01e15dd236b23395139fed61686ea4b98da4ea7d (diff)
Qt3D: add configure option for jobs and GL profiling
Change-Id: Idb1f54d231e469670b24b2b2aecedbfc1cd0f956 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/core/configure.json')
-rw-r--r--src/core/configure.json24
1 files changed, 22 insertions, 2 deletions
diff --git a/src/core/configure.json b/src/core/configure.json
index 028f4e0bc..86b31223f 100644
--- a/src/core/configure.json
+++ b/src/core/configure.json
@@ -4,7 +4,9 @@
"commandline": {
"options": {
- "assimp": { "type": "enum", "values": [ "qt", "system" ] }
+ "assimp": { "type": "enum", "values": [ "qt", "system" ] },
+ "qt3d-profile-jobs": "boolean",
+ "qt3d-profile-gl": "boolean"
}
},
@@ -30,6 +32,22 @@
"disable": "input.assimp == 'qt'",
"condition": "features.assimp && libs.assimp",
"output": [ "privateFeature" ]
+ },
+ "qt3d-profile-jobs": {
+ "label": "Output Qt3D Job traces",
+ "autoDetect": false,
+ "output": [
+ "privateFeature",
+ { "type": "define", "name": "QT3D_JOBS_RUN_STATS", "value": 1 }
+ ]
+ },
+ "qt3d-profile-gl": {
+ "label": "Output Qt3D GL traces",
+ "autoDetect": false,
+ "output": [
+ "privateFeature",
+ { "type": "define", "name": "QT3D_OPENGL_RUN_STATS", "value": 1 }
+ ]
}
},
@@ -41,7 +59,9 @@
"section": "Qt 3D",
"entries": [
"assimp",
- "system-assimp"
+ "system-assimp",
+ "qt3d-profile-jobs",
+ "qt3d-profile-gl"
]
}
]