summaryrefslogtreecommitdiffstats
path: root/src/core/configure.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/configure.json')
-rw-r--r--src/core/configure.json26
1 files changed, 23 insertions, 3 deletions
diff --git a/src/core/configure.json b/src/core/configure.json
index ed44bfaeb..47a726d82 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", "no" ] },
+ "qt3d-profile-jobs": "boolean",
+ "qt3d-profile-gl": "boolean"
}
},
@@ -13,7 +15,7 @@
"label": "Assimp",
"test": "assimp",
"sources": [
- { "type": "pkgConfig", "args": "assimp" },
+ { "type": "pkgConfig", "args": "assimp > 3.3.1" },
"-lassimp"
]
}
@@ -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"
]
}
]