-
Notifications
You must be signed in to change notification settings - Fork 1
/
Athena.pro
152 lines (143 loc) · 4.35 KB
/
Athena.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
TEMPLATE = app
CONFIG += c++11
QT += qml quick serialport
CONFIG(debug, debug|release) {
TARGET = AthenaD
DESTDIR = $$PWD/../ZJUNlictSoftwareD
MOC_DIR = ./temp
OBJECTS_DIR = ./temp
}
CONFIG(release, debug|release) {
TARGET = Athena
DESTDIR = $$PWD/../ZJUNlict
MOC_DIR = ./temp
OBJECTS_DIR = ./temp
}
SOURCES += \
src/main.cpp \
src/field.cpp \
src/interaction.cpp \
src/utils/singleparams.cpp \
src/utils/globaldata.cpp \
src/utils/geometry.cpp \
src/proto/cpp/messages_robocup_ssl_detection.pb.cc \
src/proto/cpp/messages_robocup_ssl_geometry_legacy.pb.cc \
src/proto/cpp/messages_robocup_ssl_geometry.pb.cc \
src/proto/cpp/messages_robocup_ssl_refbox_log.pb.cc \
src/proto/cpp/messages_robocup_ssl_wrapper_legacy.pb.cc \
src/proto/cpp/messages_robocup_ssl_wrapper.pb.cc \
src/proto/cpp/vision_detection.pb.cc \
src/vision/transform.cpp \
src/vision/dealball.cpp \
src/vision/dealrobot.cpp \
src/vision/maintain.cpp \
src/vision/collisiondetect.cpp \
src/vision/visionmodule.cpp \
src/vision/kalmanfilter.cpp \
src/utils/matrix2d.cpp \
graph/graph.cpp \
graph/gridnode.cpp \
graph/linenode.cpp \
src/utils/parammanager.cpp \
src/test.cpp \
src/communicator.cpp \
src/radio/actionmodule.cpp \
src/radio/crc.cpp \
src/interaction4field.cpp \
src/utils/globalsettings.cpp \
src/simulator.cpp \
src/proto/cpp/grSim_Commands.pb.cc \
src/proto/cpp/grSim_Packet.pb.cc \
src/proto/cpp/grSim_Replacement.pb.cc \
src/proto/cpp/zss_cmd.pb.cc \
src/proto/cpp/zss_debug.pb.cc \
src/refereebox.cpp \
src/proto/cpp/game_event.pb.cc \
src/proto/cpp/referee.pb.cc
RESOURCES += \
Athena.qrc
HEADERS += \
src/field.h \
src/vision/visionmodule.h \
src/utils/singleton.hpp \
src/utils/dataqueue.hpp \
src/utils/globaldata.h \
src/utils/singleparams.h \
src/interaction.h \
src/vision/messageformat.h \
src/utils/staticparams.h \
src/proto/cpp/messages_robocup_ssl_detection.pb.h \
src/proto/cpp/messages_robocup_ssl_geometry_legacy.pb.h \
src/proto/cpp/messages_robocup_ssl_geometry.pb.h \
src/proto/cpp/messages_robocup_ssl_refbox_log.pb.h \
src/proto/cpp/messages_robocup_ssl_wrapper_legacy.pb.h \
src/proto/cpp/messages_robocup_ssl_wrapper.pb.h \
src/proto/cpp/vision_detection.pb.h \
src/vision/dealball.h \
src/vision/dealrobot.h \
src/vision/maintain.h \
src/vision/collisiondetect.h \
src/utils/geometry.h \
src/vision/kalmanfilter.h \
src/utils/matrix2d.h \
graph/graph.h \
graph/gridnode.h \
graph/linenode.h \
src/utils/parammanager.h \
src/test.h \
src/utils/translator.hpp \
src/paraminterface.h \
src/communicator.h \
src/radio/actionmodule.h \
src/radio/crc.h \
src/interaction4field.h \
src/utils/globalsettings.h \
src/simulator.h \
src/proto/cpp/grSim_Commands.pb.h \
src/proto/cpp/grSim_Packet.pb.h \
src/proto/cpp/grSim_Replacement.pb.h \
src/proto/cpp/zss_cmd.pb.h \
src/proto/cpp/zss_debug.pb.h \
src/refereebox.h \
src/proto/cpp/game_event.pb.h \
src/proto/cpp/referee.pb.h
INCLUDEPATH += \
$$PWD/src/utils \
$$PWD/src/vision \
$$PWD/src/proto/cpp \
$$PWD/src/radio \
$$PWD/src
macx {
PROTOBUF_INCLUDE_DIR = /usr/local/Cellar/protobuf/2.6.1/include
LIBPROTOBUF = /usr/local/Cellar/protobuf/2.6.1/lib/libprotobuf.a
}
win32 {
PROTOBUF_INCLUDE_DIR = C:\usr\local\protobuf\2.6.1\include
CONFIG(release,debug|release){
LIBPROTOBUF = C:\usr\local\protobuf\2.6.1\lib\vs14.0\libprotobuf.lib
}
CONFIG(debug,debug|release){
LIBPROTOBUF = C:\usr\local\protobuf\2.6.1\lib\vs14.0\libprotobufD.lib
}
}
unix:!macx{
PROTOBUF_INCLUDE_DIR = /usr/local/include
LIBPROTOBUF = /usr/local/lib/libprotobuf.so
}
defineTest(copyToDestdir) {
files = $$1
for(FILE, files) {
macx {
DDIR = $${DESTDIR}/$${TARGET}.app/Contents/MacOS
}else {
DDIR = $$DESTDIR
}
# Replace slashes in paths with backslashes for Windows
win32:FILE ~= s,/,\\,g
win32:DDIR ~= s,/,\\,g
QMAKE_POST_LINK += $$QMAKE_COPY $$quote($$FILE) $$quote($$DDIR) $$escape_expand(\\n\\t)
}
export(QMAKE_POST_LINK)
}
LIBS += $$LIBPROTOBUF
INCLUDEPATH += $$PROTOBUF_INCLUDE_DIR