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 and libgcc_s_dw2-1.dll
|
---|
18 | # ----------------------------------------------
|
---|
19 | win32 {
|
---|
20 | QMAKE_LFLAGS += -static-libgcc
|
---|
21 | QMAKE_LFLAGS -= -mthreads
|
---|
22 | QMAKE_CXXFLAGS_EXCEPTIONS_ON -= -mthreads
|
---|
23 | QMAKE_LFLAGS_EXCEPTIONS_ON -= -mthreads
|
---|
24 | }
|
---|
25 |
|
---|
26 | debug:OBJECTS_DIR=.obj/debug
|
---|
27 | debug:MOC_DIR=.moc/debug
|
---|
28 | release:OBJECTS_DIR=.obj/release
|
---|
29 | release:MOC_DIR=.moc/release
|
---|
30 |
|
---|
31 | # Include Path
|
---|
32 | # ------------
|
---|
33 | INCLUDEPATH = . ./newmat ./RTCM3 ./RTCM3/clock_and_orbit ./RTCM3/rtcm3torinex
|
---|
34 |
|
---|
35 | HEADERS = bnchelp.html bncgetthread.h bncwindow.h bnctabledlg.h \
|
---|
36 | bnccaster.h bncrinex.h bncapp.h bncutils.h bnchlpdlg.h \
|
---|
37 | bncconst.h bnchtml.h bnctableitem.h bnczerodecoder.h \
|
---|
38 | bncnetquery.h bncnetqueryv1.h bncnetqueryv2.h \
|
---|
39 | bncnetqueryrtp.h bncsettings.h latencychecker.h \
|
---|
40 | bncipport.h bncnetqueryv0.h bncnetqueryudp.h \
|
---|
41 | bncnetqueryudp0.h bncudpport.h bnctime.h pppopt.h \
|
---|
42 | bncserialport.h bncnetquerys.h bncfigure.h \
|
---|
43 | bncfigurelate.h bncpppclient.h bncversion.h \
|
---|
44 | bancroft.h bncmodel.h bncfigureppp.h bncrawfile.h \
|
---|
45 | bnctides.h bncmap.h bncmapview.h bncantex.h \
|
---|
46 | bncephuser.h bncoutf.h bncclockrinex.h bncsp3.h \
|
---|
47 | bncbytescounter.h bncsslconfig.h reqcdlg.h \
|
---|
48 | upload/bncrtnetdecoder.h upload/bncuploadcaster.h \
|
---|
49 | upload/bncrtnetuploadcaster.h upload/bnccustomtrafo.h \
|
---|
50 | upload/bncephuploadcaster.h bnccomb.h qtfilechooser.h \
|
---|
51 | RTCM/GPSDecoder.h RTCM/RTCM2.h RTCM/RTCM2Decoder.h \
|
---|
52 | RTCM/RTCM2_2021.h RTCM/rtcm_utils.h \
|
---|
53 | RTCM3/RTCM3Decoder.h RTCM3/rtcm3torinex/rtcm3torinex.h \
|
---|
54 | RTCM3/RTCM3coDecoder.h \
|
---|
55 | RTCM3/clock_and_orbit/clock_orbit_rtcm.h \
|
---|
56 | RTCM3/ephemeris.h RTCM3/timeutils.h \
|
---|
57 | GPSS/gpssDecoder.h GPSS/hassDecoder.h
|
---|
58 |
|
---|
59 | HEADERS += serial/qextserialbase.h serial/qextserialport.h
|
---|
60 | unix:HEADERS += serial/posix_qextserialport.h
|
---|
61 | win32:HEADERS += serial/win_qextserialport.h
|
---|
62 |
|
---|
63 | HEADERS += newmat/controlw.h newmat/include.h newmat/myexcept.h \
|
---|
64 | newmat/newmatap.h newmat/newmat.h newmat/newmatio.h \
|
---|
65 | newmat/newmatrc.h newmat/newmatrm.h newmat/precisio.h
|
---|
66 |
|
---|
67 | SOURCES = bncmain.cpp bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \
|
---|
68 | bnccaster.cpp bncrinex.cpp bncapp.cpp bncutils.cpp \
|
---|
69 | bncconst.cpp bnchtml.cpp bnchlpdlg.cpp bnctableitem.cpp \
|
---|
70 | bnczerodecoder.cpp bncnetqueryv1.cpp bncnetqueryv2.cpp \
|
---|
71 | bncnetqueryrtp.cpp bncsettings.cpp latencychecker.cpp \
|
---|
72 | bncipport.cpp bncnetqueryv0.cpp bncnetqueryudp.cpp \
|
---|
73 | bncnetqueryudp0.cpp bncudpport.cpp pppopt.cpp \
|
---|
74 | bncserialport.cpp bncnetquerys.cpp bncfigure.cpp \
|
---|
75 | bncfigurelate.cpp bncpppclient.cpp bnctime.cpp \
|
---|
76 | bancroft.cpp bncmodel.cpp bncfigureppp.cpp bncrawfile.cpp \
|
---|
77 | bnctides.cpp bncmap.cpp bncmapview.cpp bncantex.cpp \
|
---|
78 | bncephuser.cpp bncoutf.cpp bncclockrinex.cpp bncsp3.cpp \
|
---|
79 | bncbytescounter.cpp bncsslconfig.cpp reqcdlg.cpp \
|
---|
80 | upload/bncrtnetdecoder.cpp upload/bncuploadcaster.cpp \
|
---|
81 | upload/bncrtnetuploadcaster.cpp upload/bnccustomtrafo.cpp \
|
---|
82 | upload/bncephuploadcaster.cpp qtfilechooser.cpp \
|
---|
83 | RTCM/GPSDecoder.cpp RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \
|
---|
84 | RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \
|
---|
85 | RTCM3/RTCM3Decoder.cpp RTCM3/rtcm3torinex/rtcm3torinex.c \
|
---|
86 | RTCM3/RTCM3coDecoder.cpp \
|
---|
87 | RTCM3/clock_and_orbit/clock_orbit_rtcm.c \
|
---|
88 | RTCM3/ephemeris.cpp RTCM3/timeutils.cpp \
|
---|
89 | GPSS/gpssDecoder.cpp GPSS/hassDecoder.cpp
|
---|
90 |
|
---|
91 | SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp
|
---|
92 | unix:SOURCES += serial/posix_qextserialport.cpp
|
---|
93 | win32:SOURCES += serial/win_qextserialport.cpp
|
---|
94 |
|
---|
95 | SOURCES += newmat/bandmat.cpp newmat/cholesky.cpp newmat/evalue.cpp \
|
---|
96 | newmat/fft.cpp newmat/hholder.cpp newmat/jacobi.cpp \
|
---|
97 | newmat/myexcept.cpp newmat/newfft.cpp newmat/newmat1.cpp \
|
---|
98 | newmat/newmat2.cpp newmat/newmat3.cpp newmat/newmat4.cpp \
|
---|
99 | newmat/newmat5.cpp newmat/newmat6.cpp newmat/newmat7.cpp \
|
---|
100 | newmat/newmat8.cpp newmat/newmat9.cpp newmat/newmatex.cpp \
|
---|
101 | newmat/newmatrm.cpp newmat/nm_misc.cpp newmat/sort.cpp \
|
---|
102 | newmat/submat.cpp newmat/svd.cpp
|
---|
103 |
|
---|
104 | RC_FILE = bnc.rc
|
---|
105 |
|
---|
106 | QT += network
|
---|
107 |
|
---|
108 | exists(combination/bnccomb.h) {
|
---|
109 | DEFINES += USE_COMBINATION
|
---|
110 | HEADERS += combination/bnccomb.h
|
---|
111 | SOURCES += combination/bnccomb.cpp
|
---|
112 | }
|
---|
113 |
|
---|
114 | exists(rinex/bncpostprocess.h) {
|
---|
115 | DEFINES += USE_POSTPROCESSING
|
---|
116 | HEADERS += rinex/bncpostprocess.h rinex/rnxobsfile.h \
|
---|
117 | rinex/rnxnavfile.h rinex/corrfile.h \
|
---|
118 | rinex/reqcedit.h rinex/reqcanalyze.h
|
---|
119 | SOURCES += rinex/bncpostprocess.cpp rinex/rnxobsfile.cpp \
|
---|
120 | rinex/rnxnavfile.cpp rinex/corrfile.cpp \
|
---|
121 | rinex/reqcedit.cpp rinex/reqcanalyze.cpp
|
---|
122 | }
|
---|
123 |
|
---|