-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIPC_Serial.pro
96 lines (86 loc) · 2.09 KB
/
IPC_Serial.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
#-------------------------------------------------
#
# Project created by QtCreator 2017-10-23T15:39:48
#
#-------------------------------------------------
DEFINES += GDBUS
if(contains(DEFINES, GDBUS)){
message(build with gdbus)
QT -= gui
TARGET = IPC_Serial
CONFIG += console
CONFIG -= app_bundle
CONFIG +=0x11
TEMPLATE = app
INCLUDEPATH+= /usr/include \
/usr/include/glib-2.0 \
/usr/include/glib-2.0/gio \
/usr/include/gio-unix-2.0 \
/usr/include/gio-unix-2.0/gio \
/usr/include/gio-unix-2.0/gio \
/usr/include/giomm-2.4 \
/usr/lib/i386-linux-gnu/glib-2.0/include
LIBS += -L/usr/lib/i386-linux-gnu -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpthread
SOURCES += \
src/demo.cpp \
src/taskManager.cpp \
src/TLVtools.cpp \
src/DataLinkLayer.cpp \
src/TransportLayer.cpp \
src/COBSTool.cpp \
src/MsgQueue.cpp \
src/common.cpp \
src/serial.cpp \
src/timeout.cpp \
src/Msg2MCUhandler.cpp \
src/SerialServer.cpp \
src/gdbus/ServiceOfSerial.c
HEADERS += \
src/common.h \
src/taskManager.h \
src/TLVtools.h \
src/DataLinkLayer.h \
src/TransportLayer.h \
src/COBSTool.h \
src/MsgQueue.h \
src/serial.h \
src/timeout.h \
src/Msg2MCUhandler.h \
src/SerialServer.h \
src/gdbus/ServiceOfSerial.h
}
else{
message(build with qdbus)
QT += core dbus
QT -= gui
TARGET = IPC_Serial
CONFIG += console
CONFIG -= app_bundle
CONFIG +=0x11
TEMPLATE = app
SOURCES += \
src/demo.cpp \
src/taskManager.cpp \
src/TLVtools.cpp \
src/DataLinkLayer.cpp \
src/TransportLayer.cpp \
src/COBSTool.cpp \
src/MsgQueue.cpp \
src/common.cpp \
src/serial.cpp \
src/timeout.cpp \
src/Msg2MCUhandler.cpp \
src/SerialServer.cpp
HEADERS += \
src/common.h \
src/taskManager.h \
src/TLVtools.h \
src/DataLinkLayer.h \
src/TransportLayer.h \
src/COBSTool.h \
src/MsgQueue.h \
src/serial.h \
src/timeout.h \
src/Msg2MCUhandler.h \
src/SerialServer.h
}