diff options
author | Liang Qi <liang.qi@qt.io> | 2019-09-18 08:58:24 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2019-09-18 09:09:59 +0000 |
commit | ba7eb7316d8586c6a30e759c26fed30c5b0ff5ae (patch) | |
tree | b55a455d373ce885901caf07da0836d5fa358b9d /src | |
parent | 71a2e1f7af8ff90de8a8b866562490db374bc5cd (diff) |
Port ntddmodm config test to new configure systemv5.14.0-alpha1
Change-Id: Ib8c633534df0cf025b8d9845de6322b8285e73c1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/serialport/configure.json | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/serialport/configure.json b/src/serialport/configure.json new file mode 100644 index 00000000..f0e6c76e --- /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" + ] + } + ] +} |