summaryrefslogtreecommitdiffstats
path: root/src/serialbus/configure.json
blob: d640f57f68158318038a90808db4e4ae86d96fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
    "module": "serialbus",
    "testDir": "../../config.tests",

    "tests": {
        "socketcan": {
            "label": "Socket CAN",
            "type": "compile",
            "test": "socketcan"
        },
        "socketcan_fd": {
            "label": "Socket CAN FD",
            "type": "compile",
            "test": "socketcan_fd"
        }
    },

    "features": {
        "socketcan": {
            "label": "Socket CAN",
            "condition": "config.linux && tests.socketcan",
            "output": [ "privateFeature" ]
        },
        "socketcan_fd": {
            "label": "Socket CAN FD",
            "condition": "config.linux && features.socketcan && tests.socketcan_fd",
            "output": [ "privateFeature"]
        }
    },

    "report": [
        {
            "type": "note",
            "condition": "config.linux && !features.socketcan",
            "message": "QtSerialBus: Cannot find linux/can.h and linux/can/raw.h Linux headers for socketCAN support."
        },
        {
            "type": "note",
            "condition": "config.linux && features.socketcan && !features.socketcan_fd",
            "message": "QtSerialBus: Newer kernel needed for flexible data-rate frame support (canfd_frame)."
        }
    ],

    "summary": [
        {
            "section": "Qt SerialBus",
            "entries": [
                "socketcan",
                "socketcan_fd"
            ]
        }
    ]
}