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