forked from Ezurio/UwTerminalX
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathAuTerm-includes.pri
More file actions
95 lines (71 loc) · 2.76 KB
/
Copy pathAuTerm-includes.pri
File metadata and controls
95 lines (71 loc) · 2.76 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# AuTerm global include qmake project settings
# By default all components are built for Github AuTerm releases
# Build for x86_64 and arm64 on mac
QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64
# Uncomment to exclude building automation form
#DEFINES += "SKIPAUTOMATIONFORM"
# Uncomment to exclude building error code lookup form
#DEFINES += "SKIPERRORCODEFORM"
# Uncomment to exclude building scripting form
#DEFINES += "SKIPSCRIPTINGFORM"
# Uncomment to exclude building speed test functionality
#DEFINES += "SKIPSPEEDTEST"
# Uncomment to exclude online functionlaity (update checking)
#DEFINES += "SKIPONLINE"
# Uncomment to skip building serial port detection object
#DEFINES += "SKIPSERIALDETECT"
# Serial port detection not currently supported on mac
macx: DEFINES += "SKIPSERIALDETECT"
# Uncomment to exclude split terminal functionality
#DEFINES += "SKIPSPLITTERMINAL"
# Uncomment to disable plugin support
#DEFINES += "SKIPPLUGINS"
# Uncomment to skip building MCUmgr plugin
#DEFINES += "SKIPPLUGIN_MCUMGR"
# Uncomment to skip building logger plugin
#DEFINES += "SKIPPLUGIN_LOGGER"
# Uncomment to disable transport plugin support (will be disabled if plugin support is disabled)
#DEFINES += "SKIPPLUGINS_TRANSPORT"
# Uncomment to skip building dummy echo transport plugin
DEFINES += "SKIPPLUGIN_TRANSPORT_ECHO"
# Uncomment to skip building NUS transport plugin
#DEFINES += "SKIPPLUGIN_TRANSPORT_NUS"
# Uncomment to build MCUmgr plugin transports (note: static builds need these extra modules in the base AuTerm build also)
!contains(DEFINES, SKIPPLUGINS) {
DEFINES += "PLUGIN_MCUMGR_JSON"
!contains(DEFINES, SKIPPLUGIN_MCUMGR) {
qtHaveModule(bluetooth) {
# Requires qtconnectivity
DEFINES += "PLUGIN_MCUMGR_TRANSPORT_BLUETOOTH"
}
qtHaveModule(network) {
# Requires qtnetwork
DEFINES += "PLUGIN_MCUMGR_TRANSPORT_UDP"
qtHaveModule(dtls) {
# Requires qtnetwork and qdtls
DEFINES += "PLUGIN_MCUMGR_TRANSPORT_UDP_DTLS"
}
qtHaveModule(mqtt) {
# Requires qtnetwork and qtmqtt
# DEFINES += "PLUGIN_MCUMGR_TRANSPORT_LORAWAN"
}
}
}
}
!contains(DEFINES, SKIPPLUGINS_TRANSPORT) {
!contains(DEFINES, SKIPPLUGIN_TRANSPORT_NUS) {
qtHaveModule(bluetooth) {
# Requires qtconnectivity
DEFINES += "PLUGIN_TRANSPORT_NUS_BLUETOOTH"
}
}
}
contains(DEFINES, PLUGIN_MCUMGR_TRANSPORT_BLUETOOTH) | contains(DEFINES, PLUGIN_TRANSPORT_NUS_BLUETOOTH) {
ADDITIONAL_MODULES += "bluetooth"
}
contains(DEFINES, PLUGIN_MCUMGR_TRANSPORT_UDP) | contains(DEFINES, PLUGIN_MCUMGR_TRANSPORT_LORAWAN) {
ADDITIONAL_MODULES += "network"
}
contains(DEFINES, PLUGIN_MCUMGR_TRANSPORT_LORAWAN) {
ADDITIONAL_MODULES += "mqtt"
}