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