1 |
|
---|
2 | # Switch to debug configuration
|
---|
3 | # -----------------------------
|
---|
4 | CONFIG -= debug
|
---|
5 | CONFIG += release
|
---|
6 |
|
---|
7 | DEFINES += NO_RTCM3_MAIN
|
---|
8 | ###DEFINES += DEBUG_RTCM2_2021
|
---|
9 | unix:DEFINES += _TTY_POSIX_
|
---|
10 | win32:DEFINES += _TTY_WIN_
|
---|
11 |
|
---|
12 | RESOURCES += bnc.qrc
|
---|
13 |
|
---|
14 | unix:QMAKE_CFLAGS_RELEASE -= -O2
|
---|
15 | unix:QMAKE_CXXFLAGS_RELEASE -= -O2
|
---|
16 |
|
---|
17 | # Get rid of mingwm10.dll
|
---|
18 | # -----------------------
|
---|
19 | win32:QMAKE_LFLAGS -= -mthreads
|
---|
20 | win32:QMAKE_CXXFLAGS_EXCEPTIONS_ON -= -mthreads
|
---|
21 | win32:QMAKE_LFLAGS_EXCEPTIONS_ON -= -mthreads
|
---|
22 |
|
---|
23 | debug:OBJECTS_DIR=.obj/debug
|
---|
24 | debug:MOC_DIR=.moc/debug
|
---|
25 | release:OBJECTS_DIR=.obj/release
|
---|
26 | release:MOC_DIR=.moc/release
|
---|
27 |
|
---|
28 | # Include Path
|
---|
29 | # ------------
|
---|
30 | INCLUDEPATH = .
|
---|
31 |
|
---|
32 | HEADERS = bnchelp.html bncgetthread.h bncwindow.h bnctabledlg.h \
|
---|
33 | bnccaster.h bncrinex.h bncapp.h bncutils.h bnchlpdlg.h \
|
---|
34 | bncconst.h bnchtml.h bnctableitem.h bnczerodecoder.h \
|
---|
35 | bncnetquery.h bncnetqueryv1.h bncnetqueryv2.h \
|
---|
36 | bncnetqueryrtp.h bncsettings.h latencychecker.h \
|
---|
37 | bncipport.h bncnetqueryv0.h bncnetqueryudp.h \
|
---|
38 | bncnetqueryudp0.h bncudpport.h \
|
---|
39 | bncserialport.h bncnetquerys.h bncfigure.h \
|
---|
40 | bncfigurelate.h \
|
---|
41 | RTCM/GPSDecoder.h RTCM/RTCM2.h RTCM/RTCM2Decoder.h \
|
---|
42 | RTCM/RTCM2_2021.h RTCM/rtcm_utils.h \
|
---|
43 | RTCM3/RTCM3Decoder.h RTCM3/rtcm3torinex.h \
|
---|
44 | RTCM3/RTCM3coDecoder.h RTCM3/clock_orbit_rtcm.h \
|
---|
45 | RTCM3/ephemeris.h RTCM3/timeutils.h \
|
---|
46 | RTIGS/RTIGSDecoder.h RTIGS/rtigs_records.h \
|
---|
47 | RTIGS/cgps_transform.h RTIGS/rtstruct.h \
|
---|
48 | RTIGS/rtacp.h RTIGS/gpswro.h \
|
---|
49 | GPSS/gpssDecoder.h
|
---|
50 |
|
---|
51 | HEADERS += serial/qextserialbase.h serial/qextserialport.h
|
---|
52 | unix:HEADERS += serial/posix_qextserialport.h
|
---|
53 | win32:HEADERS += serial/win_qextserialport.h
|
---|
54 |
|
---|
55 | SOURCES = bncmain.cpp bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \
|
---|
56 | bnccaster.cpp bncrinex.cpp bncapp.cpp bncutils.cpp \
|
---|
57 | bncconst.cpp bnchtml.cpp bnchlpdlg.cpp bnctableitem.cpp \
|
---|
58 | bnczerodecoder.cpp bncnetqueryv1.cpp bncnetqueryv2.cpp \
|
---|
59 | bncnetqueryrtp.cpp bncsettings.cpp latencychecker.cpp \
|
---|
60 | bncipport.cpp bncnetqueryv0.cpp bncnetqueryudp.cpp \
|
---|
61 | bncnetqueryudp0.cpp bncudpport.cpp \
|
---|
62 | bncserialport.cpp bncnetquerys.cpp bncfigure.cpp \
|
---|
63 | bncfigurelate.cpp \
|
---|
64 | RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \
|
---|
65 | RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \
|
---|
66 | RTCM3/RTCM3Decoder.cpp RTCM3/rtcm3torinex.c \
|
---|
67 | RTCM3/RTCM3coDecoder.cpp RTCM3/clock_orbit_rtcm.c \
|
---|
68 | RTCM3/ephemeris.cpp RTCM3/timeutils.cpp \
|
---|
69 | RTIGS/RTIGSDecoder.cpp RTIGS/cgps_transform.cpp \
|
---|
70 | GPSS/gpssDecoder.cpp
|
---|
71 |
|
---|
72 | SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp
|
---|
73 | unix:SOURCES += serial/posix_qextserialport.cpp
|
---|
74 | win32:SOURCES += serial/win_qextserialport.cpp
|
---|
75 |
|
---|
76 | RC_FILE = bnc.rc
|
---|
77 |
|
---|
78 | QT += network
|
---|
79 |
|
---|