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