forked from DowJhob/Evo-live-map
-
Notifications
You must be signed in to change notification settings - Fork 0
/
livemap.pro
167 lines (148 loc) · 5.02 KB
/
livemap.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
#-------------------------------------------------
#
# Project created by QtCreator 2016-08-28T09:39:21
#
#-------------------------------------------------
CONFIG += c++11
QT += core gui xml serialport
GIT_VERSION = $$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags)
DEFINES += GIT_VERSION=\\\"$$GIT_VERSION\\\"
VERSION = $$GIT_VERSION
win32 {
VERSION ~= s/-\d+-g[a-f0-9]{6,}//
}
CONFIG(release, debug|release):CONFIG += -static
win32-g++ {
QMAKE_CXXFLAGS += -flto -funroll-loops
QMAKE_CXXFLAGS += -fforce-addr
QMAKE_CXXFLAGS += -m32 -Ofast -march=core2 -mtune=core2
#QMAKE_CXXFLAGS += -mfpmath=sse
QMAKE_CXXFLAGS += -msse4
# LIBS += -L$$PWD/mingw-dll -lqwt
# CONFIG(release, debug|release):QMAKE_LFLAGS_RELEASE += -static -static-libgcc
}
win32-msvc {
# QMAKE_LFLAGS_RELEASE += /LTCG
QMAKE_CXXFLAGS += /O2
QMAKE_CXXFLAGS += /arch:AVX
QMAKE_CXXFLAGS += /Arch: SSE2
QMAKE_CFLAGS += /O2
QMAKE_CFLAGS += /arch:AVX
QMAKE_CFLAGS += /Arch: SSE2
# LIBS += -L$$PWD/msvc-dll -lqwt
}
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
DEFINES += QT_DEPRECATED_WARNINGS
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
TARGET = livemap
TEMPLATE = app
SOURCES += src/main.cpp\
src/DMA-proto/DMA-proto.cpp \
src/DMA-proto/proto-manager.cpp \
src/abstract-memory.cpp \
src/comm-device-interface/devicemanager.cpp \
src/comm-device-interface/op13.cpp \
src/comm-device-interface/comm-device-interface.cpp \
src/comm-device-interface/j2534-interface.cpp \
src/DMA-proto/evoX-DMA.cpp \
src/DMA-proto/jcsbanksDMA.cpp \
src/DMA-proto/stockDMA.cpp \
src/comm-device-interface/op20.cpp \
src/comm-device-interface/op20wbreader.cpp \
src/controller.cpp \
src/deviceNativeFilter.cpp \
src/ecu/ecu-definition.cpp \
src/ecu/rawstockmsg.cpp \
src/fast-notation.cpp \
src/libs/j2534passthru.cpp \
src/logger.cpp \
src/map-decl/map.cpp \
src/wideband/aemProto.cpp \
src/wideband/commdevicewb-interface.cpp \
src/wideband/innoProto.cpp \
src/wideband/plxProto.cpp \
src/wideband/serialwb.cpp \
src/wideband/wb-manager.cpp \
src/wideband/wb-proto.cpp \
src/wblogger.cpp \
src/widgets/hexEditor/qhexedit/chunks.cpp \
src/widgets/hexEditor/qhexedit/commands.cpp \
src/widgets/hexEditor/qhexedit/qhexedit.cpp \
src/widgets/hexEditor/hexeditor.cpp \
src/mainwindow.cpp \
# src/libs/J2534.cpp \
src/libs/ftdi.cpp \
src/map-decl/scaling.cpp \
src/map-decl/submap.cpp \
src/widgets/commParamWidget.cpp \
src/widgets/gauge_widget.cpp \
src/widgets/maintoolbar.cpp \
src/widgets/mapWidget/mapmodel.cpp \
src/widgets/mapWidget/mapview.cpp \
src/widgets/mapWidget/mapwidget.cpp
HEADERS += src/mainwindow.h \
src/DMA-proto/DMA-proto.h \
src/DMA-proto/proto-manager.h \
src/abstract-memory.h \
src/comm-device-interface/devicemanager.h \
src/comm-device-interface/op20wbreader.h \
src/controller.h \
src/DMA-proto/evoX-DMA.h \
src/DMA-proto/jcsbanksDMA.h \
src/DMA-proto/stockDMA.h \
src/deviceNativeFilter.h \
src/ecu/ecu-definition.h \
src/ecu/evo7.h \
src/ecu/rawstockmsg.h \
src/fast-notation.h \
# src/libs/J2534.h \
# src/libs/j2534_tactrix.h \
src/libs/ftdi.h \
src/libs/ftdi_types.h \
src/comm-device-interface/comm-device-interface.h \
src/comm-device-interface/j2534-interface.h \
src/comm-device-interface/op13.h \
src/comm-device-interface/op20.h \
src/libs/j2534passthru.h \
src/map-decl/map.h \
src/map-decl/scaling.h \
src/logger.h \
src/map-decl/submap.h \
src/test-map.h \
src/types.h \
src/wideband/aemProto.h \
src/wideband/commdevicewb-interface.h \
src/wideband/innoProto.h \
src/wideband/plxProto.h \
src/wideband/serialwb.h \
src/wideband/wb-manager.h \
src/wideband/wb-proto.h \
src/wblogger.h \
src/widgets/commParamWidget.h \
src/widgets/gauge_widget.h \
src/widgets/hexEditor/qhexedit/chunks.h \
src/widgets/hexEditor/qhexedit/commands.h \
src/widgets/hexEditor/qhexedit/qhexedit.h \
src/widgets/hexEditor/hexeditor.h \
src/widgets/maintoolbar.h \
src/widgets/mapWidget/mapmodel.h \
src/widgets/mapWidget/mapview.h \
src/widgets/mapWidget/mapwidget.h
#ecu/ecu_x_comm.h \
#libs/libusb/include/libusb.h \
#graph_logger.h \
FORMS += mainwindow.ui
#DISTFILES +=
#CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
#INCLUDEPATH += libs/libusb/include
#LIBS += -Llibs/libusb/MinGW64/dll -lusb-1.0
LIBS += -lSetupapi
LIBS += -ladvapi32
LIBS += -luser32
DEFINES += QHEXEDIT_EXPORTS
#DEFINES += QHEXEDIT_IMPORTS
RESOURCES += \
res.qrc