[5075] | 1 |
|
---|
| 2 | unix:DEFINES += _TTY_POSIX_
|
---|
| 3 | win32:DEFINES += _TTY_WIN_
|
---|
| 4 |
|
---|
| 5 | RESOURCES += bnc.qrc
|
---|
| 6 |
|
---|
[5184] | 7 | QT += svg
|
---|
[8231] | 8 | QT += printsupport
|
---|
[9983] | 9 | QT += widgets
|
---|
| 10 | QT += core
|
---|
[5075] | 11 |
|
---|
| 12 | unix:QMAKE_CFLAGS_RELEASE -= -O2
|
---|
| 13 | unix:QMAKE_CXXFLAGS_RELEASE -= -O2
|
---|
| 14 |
|
---|
| 15 | debug:OBJECTS_DIR=.obj/debug
|
---|
| 16 | debug:MOC_DIR=.moc/debug
|
---|
| 17 | release:OBJECTS_DIR=.obj/release
|
---|
| 18 | release:MOC_DIR=.moc/release
|
---|
| 19 |
|
---|
[9518] | 20 | release:DEFINES += SPLITBLOCK
|
---|
[9768] | 21 | debug:DEFINES += SPLITBLOCK
|
---|
[9523] | 22 | debug:DEFINES += BNC_DEBUG_BCEP
|
---|
[10100] | 23 | debug:DEFINES += BNC_DEBUG_PPP
|
---|
| 24 | debug:DEFINES += BNC_DEBUG_SSR
|
---|
| 25 | debug:DEFINES += BNC_DEBUG_CMB
|
---|
[9214] | 26 |
|
---|
[5075] | 27 | # Include Path
|
---|
| 28 | # ------------
|
---|
[6812] | 29 | INCLUDEPATH += . ../newmat ./RTCM3 ./RTCM3/clock_and_orbit ./RTCM \
|
---|
[5075] | 30 | ../qwt ../qwtpolar
|
---|
| 31 |
|
---|
| 32 | # Additional Libraries
|
---|
| 33 | # --------------------
|
---|
| 34 | unix:LIBS += -L../newmat -lnewmat -L../qwt -L../qwtpolar -lqwtpolar -lqwt
|
---|
| 35 | win32:LIBS += -L../newmat/release -L../qwt/release -L../qwtpolar/release \
|
---|
| 36 | -lnewmat -lqwtpolar -lqwt
|
---|
| 37 |
|
---|
| 38 | HEADERS = bnchelp.html bncgetthread.h bncwindow.h bnctabledlg.h \
|
---|
| 39 | bnccaster.h bncrinex.h bnccore.h bncutils.h bnchlpdlg.h \
|
---|
| 40 | bncconst.h bnchtml.h bnctableitem.h bnczerodecoder.h \
|
---|
| 41 | bncnetquery.h bncnetqueryv1.h bncnetqueryv2.h \
|
---|
| 42 | bncnetqueryrtp.h bncsettings.h latencychecker.h \
|
---|
[7298] | 43 | bncipport.h bncnetqueryv0.h bncnetqueryudp.h \
|
---|
| 44 | bncnetqueryudp0.h bncudpport.h bnctime.h \
|
---|
| 45 | bncserialport.h bncnetquerys.h bncfigure.h \
|
---|
| 46 | bncfigurelate.h bncversion.h \
|
---|
| 47 | bncfigureppp.h bncrawfile.h \
|
---|
[6657] | 48 | bncmap.h bncantex.h bncephuser.h \
|
---|
| 49 | bncoutf.h bncclockrinex.h bncsp3.h bncsinextro.h \
|
---|
[9951] | 50 | bncbiassinex.h \
|
---|
[5075] | 51 | bncbytescounter.h bncsslconfig.h reqcdlg.h \
|
---|
| 52 | upload/bncrtnetdecoder.h upload/bncuploadcaster.h \
|
---|
[6136] | 53 | ephemeris.h t_prn.h satObs.h \
|
---|
[5075] | 54 | upload/bncrtnetuploadcaster.h upload/bnccustomtrafo.h \
|
---|
[5892] | 55 | upload/bncephuploadcaster.h qtfilechooser.h \
|
---|
[6044] | 56 | GPSDecoder.h pppInclude.h pppWidgets.h pppModel.h \
|
---|
[6047] | 57 | pppMain.h pppRun.h pppOptions.h pppCrdFile.h pppThread.h \
|
---|
[6039] | 58 | RTCM/RTCM2.h RTCM/RTCM2Decoder.h \
|
---|
[5075] | 59 | RTCM/RTCM2_2021.h RTCM/rtcm_utils.h \
|
---|
[6812] | 60 | RTCM3/RTCM3Decoder.h RTCM3/bits.h RTCM3/gnss.h \
|
---|
[5852] | 61 | RTCM3/RTCM3coDecoder.h RTCM3/ephEncoder.h \
|
---|
[9025] | 62 | RTCM3/clock_and_orbit/clock_orbit.h \
|
---|
| 63 | RTCM3/clock_and_orbit/clock_orbit_igs.h \
|
---|
| 64 | RTCM3/clock_and_orbit/clock_orbit_rtcm.h \
|
---|
[5885] | 65 | rinex/rnxobsfile.h \
|
---|
| 66 | rinex/rnxnavfile.h rinex/corrfile.h \
|
---|
| 67 | rinex/reqcedit.h rinex/reqcanalyze.h \
|
---|
| 68 | rinex/graphwin.h rinex/polarplot.h \
|
---|
| 69 | rinex/availplot.h rinex/eleplot.h \
|
---|
[7298] | 70 | rinex/dopplot.h orbComp/sp3Comp.h \
|
---|
[9676] | 71 | combination/bnccomb.h combination/bncbiassnx.h
|
---|
[5075] | 72 |
|
---|
| 73 | HEADERS += serial/qextserialbase.h serial/qextserialport.h
|
---|
| 74 | unix:HEADERS += serial/posix_qextserialport.h
|
---|
| 75 | win32:HEADERS += serial/win_qextserialport.h
|
---|
| 76 |
|
---|
[7298] | 77 | SOURCES = bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \
|
---|
[5075] | 78 | bnccaster.cpp bncrinex.cpp bnccore.cpp bncutils.cpp \
|
---|
| 79 | bncconst.cpp bnchtml.cpp bnchlpdlg.cpp bnctableitem.cpp \
|
---|
| 80 | bnczerodecoder.cpp bncnetqueryv1.cpp bncnetqueryv2.cpp \
|
---|
| 81 | bncnetqueryrtp.cpp bncsettings.cpp latencychecker.cpp \
|
---|
| 82 | bncipport.cpp bncnetqueryv0.cpp bncnetqueryudp.cpp \
|
---|
[5868] | 83 | bncnetqueryudp0.cpp bncudpport.cpp \
|
---|
[5075] | 84 | bncserialport.cpp bncnetquerys.cpp bncfigure.cpp \
|
---|
[5860] | 85 | bncfigurelate.cpp bnctime.cpp \
|
---|
[5874] | 86 | bncfigureppp.cpp bncrawfile.cpp \
|
---|
[6657] | 87 | bncmap_svg.cpp bncantex.cpp bncephuser.cpp \
|
---|
| 88 | bncoutf.cpp bncclockrinex.cpp bncsp3.cpp bncsinextro.cpp \
|
---|
[9652] | 89 | bncbiassinex.cpp \
|
---|
[5075] | 90 | bncbytescounter.cpp bncsslconfig.cpp reqcdlg.cpp \
|
---|
[6141] | 91 | ephemeris.cpp t_prn.cpp satObs.cpp \
|
---|
[5075] | 92 | upload/bncrtnetdecoder.cpp upload/bncuploadcaster.cpp \
|
---|
| 93 | upload/bncrtnetuploadcaster.cpp upload/bnccustomtrafo.cpp \
|
---|
| 94 | upload/bncephuploadcaster.cpp qtfilechooser.cpp \
|
---|
[6041] | 95 | GPSDecoder.cpp pppWidgets.cpp pppModel.cpp \
|
---|
[6812] | 96 | pppMain.cpp pppRun.cpp pppOptions.cpp pppCrdFile.cpp \
|
---|
| 97 | pppThread.cpp \
|
---|
[6039] | 98 | RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \
|
---|
[5075] | 99 | RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \
|
---|
[6812] | 100 | RTCM3/RTCM3Decoder.cpp \
|
---|
[5852] | 101 | RTCM3/RTCM3coDecoder.cpp RTCM3/ephEncoder.cpp \
|
---|
[9025] | 102 | RTCM3/clock_and_orbit/clock_orbit_igs.cpp \
|
---|
| 103 | RTCM3/clock_and_orbit/clock_orbit_rtcm.cpp \
|
---|
[5885] | 104 | rinex/rnxobsfile.cpp \
|
---|
| 105 | rinex/rnxnavfile.cpp rinex/corrfile.cpp \
|
---|
| 106 | rinex/reqcedit.cpp rinex/reqcanalyze.cpp \
|
---|
| 107 | rinex/graphwin.cpp rinex/polarplot.cpp \
|
---|
| 108 | rinex/availplot.cpp rinex/eleplot.cpp \
|
---|
[7298] | 109 | rinex/dopplot.cpp orbComp/sp3Comp.cpp \
|
---|
[9676] | 110 | combination/bnccomb.cpp combination/bncbiassnx.cpp
|
---|
[5075] | 111 |
|
---|
| 112 | SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp
|
---|
| 113 | unix:SOURCES += serial/posix_qextserialport.cpp
|
---|
| 114 | win32:SOURCES += serial/win_qextserialport.cpp
|
---|
| 115 |
|
---|
| 116 | RC_FILE = bnc.rc
|
---|
| 117 |
|
---|
| 118 | QT += network
|
---|
| 119 |
|
---|
[7239] | 120 | exists(PPP) {
|
---|
[7203] | 121 | INCLUDEPATH += PPP
|
---|
| 122 | DEFINES += USE_PPP
|
---|
[7239] | 123 | HEADERS += PPP/pppClient.h PPP/pppObsPool.h PPP/pppEphPool.h \
|
---|
| 124 | PPP/pppStation.h PPP/pppFilter.h PPP/pppParlist.h \
|
---|
[8905] | 125 | PPP/pppSatObs.h PPP/pppRefSat.h
|
---|
[7239] | 126 | SOURCES += PPP/pppClient.cpp PPP/pppObsPool.cpp PPP/pppEphPool.cpp \
|
---|
[7298] | 127 | PPP/pppStation.cpp PPP/pppFilter.cpp PPP/pppParlist.cpp \
|
---|
[9508] | 128 | PPP/pppSatObs.cpp
|
---|
[6049] | 129 | }
|
---|
[7239] | 130 | else {
|
---|
| 131 | INCLUDEPATH += PPP_SSR_I
|
---|
| 132 | DEFINES += USE_PPP_SSR_I
|
---|
| 133 | HEADERS += PPP_SSR_I/pppClient.h PPP_SSR_I/pppFilter.h PPP_SSR_I/pppUtils.h
|
---|
| 134 | SOURCES += PPP_SSR_I/pppClient.cpp PPP_SSR_I/pppFilter.cpp PPP_SSR_I/pppUtils.cpp
|
---|
| 135 | }
|
---|
[6038] | 136 |
|
---|
[9155] | 137 | # Check QtWebEngineWidgets Library Existence
|
---|
[8909] | 138 | # -----------------------------------------
|
---|
[8260] | 139 | exists("$$[QT_INSTALL_LIBS]/*WebEngineWidgets*") {
|
---|
| 140 | DEFINES += QT_WEBENGINE
|
---|
| 141 | QT += webenginewidgets
|
---|
| 142 | message("Configured with QtWebEngine")
|
---|
[5198] | 143 | }
|
---|
| 144 |
|
---|
[8909] | 145 | contains(DEFINES, QT_WEBENGINE) {
|
---|
[5185] | 146 | HEADERS += map/bncmapwin.h
|
---|
| 147 | SOURCES += map/bncmapwin.cpp
|
---|
[9237] | 148 | OTHER_FILES += map/map_osm.html
|
---|
[5184] | 149 | }
|
---|
| 150 | else {
|
---|
[8913] | 151 | message("QtWebEngineWidgets Library is not available")
|
---|
| 152 | } |
---|