-
Notifications
You must be signed in to change notification settings - Fork 22
/
CAN-Monitor-qt.pro
150 lines (134 loc) · 4.31 KB
/
CAN-Monitor-qt.pro
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
#-------------------------------------------------
#
# Project created by QtCreator 2018-06-09T14:02:49
#
#-------------------------------------------------
QT += core gui
QT += serialport
QT += network widgets
requires(qtConfig(udpsocket))
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = CAN-Monitor-qt
TEMPLATE = app
SOURCES += main.cpp\
MainWindow.cpp \
Tree/TreeModel.cpp \
Tree/TreeNode.cpp \
CanTree/CanTreeModel.cpp \
CanTree/HeaderTreeNode.cpp \
CanTree/MessageTreeNode.cpp \
CanAdapter/CanAdapter.cpp \
CanAdapter/CanAdapterLawicel.cpp \
CanAdapter/SlcanControlWidget.cpp \
CanAdapter/ChinaControlWidget.cpp \
CanAdapter/SerialPortComboBox.cpp \
WidgetUtils/HexStringValidator.cpp \
WidgetUtils/CustomLineEdit.cpp \
lib-slcan/slcan.c \
TransmitWidget.cpp \
CanAdapter/CanAdapterLoopback.cpp \
CanAdapter/CanAdapterFactory.cpp \
CanAdapter/CanAdapterTesting.cpp \
WidgetUtils/MenuOpenKeeper.cpp \
CanAdapter/TestingControlWidget.cpp \
Commanders/CommanderDialog.cpp \
Tree/XmlTreeNode.cpp \
CanTree/CanTreeNodeFactory.cpp \
ParameterTree/ParameterTreeModel.cpp \
ParameterTree/ParameterGroupNode.cpp \
ParameterTree/ParameterNode.cpp \
Commanders/ButtonEditDialog.cpp \
ParameterTree/ParameterTreeNodeFactory.cpp \
Commanders/CommanderPropertiesDialog.cpp \
CanHub/CanHub.cpp \
CanAdapter/PollingCanAdapter.cpp \
CanAdapter/CanAdapterTritium.cpp \
Tree/ComboBoxDelegate.cpp \
Format/format.cpp \
CanAdapter/TritiumControlWidget.cpp \
Trace/TraceWindow.cpp \
CanTable/CanTableModel.cpp \
CanTable/CanTableNode.cpp \
util/canMessageUtil.cpp \
util/rangeParse.cpp \
Simulator/TritiumSimulatorWindow.cpp \
CanAdapter/CanAdapterChina.cpp \
Cansole/Cansole.cpp \
Cansole/CansoleIdDialog.cpp \
util/DialogUtil.cpp
# also look below for conditional compilation
HEADERS += MainWindow.h \
Tree/TreeModel.h \
Tree/TreeNode.h \
CanTree/CanTreeModel.h \
CanTree/HeaderTreeNode.h \
CanTree/MessageTreeNode.h \
CanAdapter/CanAdapter.h \
CanAdapter/CanAdapterLawicel.h \
CanAdapter/SlcanControlWidget.h \
CanAdapter/ChinaControlWidget.h \
CanAdapter/SerialPortComboBox.h \
WidgetUtils/HexStringValidator.h \
WidgetUtils/CustomLineEdit.h \
lib-slcan/can_message.h \
lib-slcan/slcan.h \
TransmitWidget.h \
CanAdapter/CanAdapterLoopback.h \
CanAdapter/CanAdapterFactory.h \
CanAdapter/CanAdapterTesting.h \
WidgetUtils/MenuOpenKeeper.h \
CanAdapter/TestingControlWidget.h \
Commanders/CommanderDialog.h \
Tree/XmlTreeNode.h \
CanTree/CanTreeNode.h \
Tree/XmlTreeNodeFactory.h \
CanTree/CanTreeNodeFactory.h \
ParameterTree/ParameterTreeModel.h \
ParameterTree/ParameterGroupNode.h \
ParameterTree/ParameterTreeNode.h \
ParameterTree/ParameterNode.h \
Commanders/ButtonEditDialog.h \
ParameterTree/ParameterTreeNodeFactory.h \
Commanders/CommanderPropertiesDialog.h \
CanHub/CanHub.h \
CanAdapter/PollingCanAdapter.h \
CanAdapter/CanAdapterTritium.h \
Tree/ComboBoxDelegate.h \
Format/format.h \
CanAdapter/TritiumControlWidget.h \
Trace/TraceWindow.h \
CanTable/CanTableModel.h \
CanTable/CanTableNode.h \
util/canMessageUtil.h \
util/rangeParse.h \
Simulator/TritiumSimulatorWindow.h \
CanAdapter/CanAdapterChina.h \
Cansole/Cansole.h \
Cansole/CansoleIdDialog.h \
util/DialogUtil.h
# look beleow for conditional compilation
FORMS += MainWindow.ui \
CanAdapter/SlcanControlWidget.ui \
CanAdapter/ChinaControlWidget.ui \
TransmitWidget.ui \
CanAdapter/TestingControlWidget.ui \
Commanders/CommanderDialog.ui \
Commanders/ButtonEditDialog.ui \
Commanders/CommanderPropertiesDialog.ui \
CanAdapter/TritiumControlWidget.ui \
Trace/TraceWindow.ui \
Simulator/TritiumSimulatorWindow.ui \
Cansole/CansoleIdDialog.ui
RC_ICONS = canMonitorIcon.ico
# conditional compilation
defined(exclude, var) {
contains(exclude, pcan) {
message( "excludes building PCAN adapter" )
excludePcan = 1
}
}
!defined(excludePcan, var) {
DEFINES += BUILD_PCAN
SOURCES += CanAdapter/CanAdapterPCAN.cpp
HEADERS += CanAdapter/CanAdapterPCAN.h
}