summaryrefslogtreecommitdiff
path: root/src/serialport/configure.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialport/configure.json')
-rw-r--r--src/serialport/configure.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/serialport/configure.json b/src/serialport/configure.json
new file mode 100644
index 0000000..f0e6c76
--- /dev/null
+++ b/src/serialport/configure.json
@@ -0,0 +1,42 @@
+{
+ "module": "serialport",
+ "condition": "!config.integrity && !config.vxworks && !config.winrt && !config.uikit && !config.wasm",
+ "depends": [
+ "core"
+ ],
+ "condition": "module.core",
+
+ "tests": {
+ "ntddmodm": {
+ "label": "ntddmodm",
+ "type": "compile",
+ "test": {
+ "include": [ "windows.h", "ntddmodm.h"],
+ "main": [
+ "GUID guid = GUID_DEVINTERFACE_MODEM;"
+ ]
+ }
+ }
+ },
+
+ "features": {
+ "ntddmodm": {
+ "label": "ntddmodm",
+ "disable": "input.ntddmodm == 'no'",
+ "condition": "tests.ntddmodm",
+ "output": [
+ "privateFeature",
+ { "type": "define", "negative": true, "name": "QT_NO_REDEFINE_GUID_DEVINTERFACE_MODEM" }
+ ]
+ }
+ },
+
+ "summary": [
+ {
+ "section": "Serial Port",
+ "entries": [
+ "ntddmodm"
+ ]
+ }
+ ]
+}