[5075] | 1 |
|
---|
| 2 | DEFINES += NO_RTCM3_MAIN
|
---|
| 3 | unix:DEFINES += _TTY_POSIX_
|
---|
| 4 | win32:DEFINES += _TTY_WIN_
|
---|
| 5 |
|
---|
| 6 | RESOURCES += bnc.qrc
|
---|
| 7 |
|
---|
[5184] | 8 | QT += svg
|
---|
[5075] | 9 |
|
---|
| 10 | unix:QMAKE_CFLAGS_RELEASE -= -O2
|
---|
| 11 | unix:QMAKE_CXXFLAGS_RELEASE -= -O2
|
---|
| 12 |
|
---|
| 13 | # Get rid of mingwm10.dll and libgcc_s_dw2-1.dll
|
---|
| 14 | # ----------------------------------------------
|
---|
| 15 | win32 {
|
---|
| 16 | QMAKE_LFLAGS += -static-libgcc
|
---|
| 17 | QMAKE_LFLAGS -= -mthreads
|
---|
| 18 | QMAKE_CXXFLAGS_EXCEPTIONS_ON -= -mthreads
|
---|
| 19 | QMAKE_LFLAGS_EXCEPTIONS_ON -= -mthreads
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | debug:OBJECTS_DIR=.obj/debug
|
---|
| 23 | debug:MOC_DIR=.moc/debug
|
---|
| 24 | release:OBJECTS_DIR=.obj/release
|
---|
| 25 | release:MOC_DIR=.moc/release
|
---|
| 26 |
|
---|
| 27 | # Include Path
|
---|
| 28 | # ------------
|
---|
| 29 | INCLUDEPATH += . ../newmat ./RTCM3 ./RTCM3/clock_and_orbit ./RTCM3/rtcm3torinex \
|
---|
| 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 \
|
---|
| 43 | bncipport.h bncnetqueryv0.h bncnetqueryudp.h \
|
---|
[5868] | 44 | bncnetqueryudp0.h bncudpport.h bnctime.h \
|
---|
[5075] | 45 | bncserialport.h bncnetquerys.h bncfigure.h \
|
---|
[5860] | 46 | bncfigurelate.h bncversion.h \
|
---|
[5874] | 47 | bncfigureppp.h bncrawfile.h \
|
---|
[5860] | 48 | bncmap.h bncantex.h \
|
---|
[5075] | 49 | bncephuser.h bncoutf.h bncclockrinex.h bncsp3.h \
|
---|
| 50 | bncbytescounter.h bncsslconfig.h reqcdlg.h \
|
---|
| 51 | upload/bncrtnetdecoder.h upload/bncuploadcaster.h \
|
---|
[5885] | 52 | ephemeris.h t_prn.h \
|
---|
[5075] | 53 | upload/bncrtnetuploadcaster.h upload/bnccustomtrafo.h \
|
---|
[5892] | 54 | upload/bncephuploadcaster.h qtfilechooser.h \
|
---|
[5738] | 55 | GPSDecoder.h RTCM/RTCM2.h RTCM/RTCM2Decoder.h \
|
---|
[5075] | 56 | RTCM/RTCM2_2021.h RTCM/rtcm_utils.h \
|
---|
| 57 | RTCM3/RTCM3Decoder.h RTCM3/rtcm3torinex/rtcm3torinex.h \
|
---|
[5852] | 58 | RTCM3/RTCM3coDecoder.h RTCM3/ephEncoder.h \
|
---|
[5075] | 59 | RTCM3/clock_and_orbit/clock_orbit_rtcm.h \
|
---|
[5885] | 60 | rinex/rnxobsfile.h \
|
---|
| 61 | rinex/rnxnavfile.h rinex/corrfile.h \
|
---|
| 62 | rinex/reqcedit.h rinex/reqcanalyze.h \
|
---|
| 63 | rinex/graphwin.h rinex/polarplot.h \
|
---|
| 64 | rinex/availplot.h rinex/eleplot.h \
|
---|
| 65 | rinex/dopplot.h \
|
---|
[5811] | 66 | PPP/pppInclude.h PPP/pppOptions.h PPP/pppMain.h \
|
---|
[5812] | 67 | PPP/pppWidgets.h PPP/pppThread.h PPP/pppClient.h \
|
---|
[5811] | 68 | PPP/pppObsPool.h PPP/pppStation.h PPP/pppFilter.h \
|
---|
| 69 | PPP/pppEphPool.h PPP/pppModel.h PPP/pppParlist.h \
|
---|
[5883] | 70 | PPP/pppSatObs.h PPP/pppRun.h
|
---|
[5075] | 71 |
|
---|
| 72 | HEADERS += serial/qextserialbase.h serial/qextserialport.h
|
---|
| 73 | unix:HEADERS += serial/posix_qextserialport.h
|
---|
| 74 | win32:HEADERS += serial/win_qextserialport.h
|
---|
| 75 |
|
---|
[5077] | 76 | SOURCES = bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \
|
---|
[5075] | 77 | bnccaster.cpp bncrinex.cpp bnccore.cpp bncutils.cpp \
|
---|
| 78 | bncconst.cpp bnchtml.cpp bnchlpdlg.cpp bnctableitem.cpp \
|
---|
| 79 | bnczerodecoder.cpp bncnetqueryv1.cpp bncnetqueryv2.cpp \
|
---|
| 80 | bncnetqueryrtp.cpp bncsettings.cpp latencychecker.cpp \
|
---|
| 81 | bncipport.cpp bncnetqueryv0.cpp bncnetqueryudp.cpp \
|
---|
[5868] | 82 | bncnetqueryudp0.cpp bncudpport.cpp \
|
---|
[5075] | 83 | bncserialport.cpp bncnetquerys.cpp bncfigure.cpp \
|
---|
[5860] | 84 | bncfigurelate.cpp bnctime.cpp \
|
---|
[5874] | 85 | bncfigureppp.cpp bncrawfile.cpp \
|
---|
[5860] | 86 | bncmap_svg.cpp bncantex.cpp \
|
---|
[5075] | 87 | bncephuser.cpp bncoutf.cpp bncclockrinex.cpp bncsp3.cpp \
|
---|
| 88 | bncbytescounter.cpp bncsslconfig.cpp reqcdlg.cpp \
|
---|
[5885] | 89 | ephemeris.cpp t_prn.cpp \
|
---|
[5075] | 90 | upload/bncrtnetdecoder.cpp upload/bncuploadcaster.cpp \
|
---|
| 91 | upload/bncrtnetuploadcaster.cpp upload/bnccustomtrafo.cpp \
|
---|
| 92 | upload/bncephuploadcaster.cpp qtfilechooser.cpp \
|
---|
[5738] | 93 | GPSDecoder.cpp RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \
|
---|
[5075] | 94 | RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \
|
---|
| 95 | RTCM3/RTCM3Decoder.cpp RTCM3/rtcm3torinex/rtcm3torinex.c \
|
---|
[5852] | 96 | RTCM3/RTCM3coDecoder.cpp RTCM3/ephEncoder.cpp \
|
---|
[5075] | 97 | RTCM3/clock_and_orbit/clock_orbit_rtcm.c \
|
---|
[5885] | 98 | rinex/rnxobsfile.cpp \
|
---|
| 99 | rinex/rnxnavfile.cpp rinex/corrfile.cpp \
|
---|
| 100 | rinex/reqcedit.cpp rinex/reqcanalyze.cpp \
|
---|
| 101 | rinex/graphwin.cpp rinex/polarplot.cpp \
|
---|
| 102 | rinex/availplot.cpp rinex/eleplot.cpp \
|
---|
| 103 | rinex/dopplot.cpp \
|
---|
[5811] | 104 | PPP/pppOptions.cpp PPP/pppMain.cpp \
|
---|
[5812] | 105 | PPP/pppWidgets.cpp PPP/pppThread.cpp PPP/pppClient.cpp \
|
---|
[5811] | 106 | PPP/pppObsPool.cpp PPP/pppStation.cpp PPP/pppFilter.cpp \
|
---|
| 107 | PPP/pppEphPool.cpp PPP/pppModel.cpp PPP/pppParlist.cpp \
|
---|
[5883] | 108 | PPP/pppSatObs.cpp PPP/pppRun.cpp
|
---|
[5075] | 109 |
|
---|
| 110 | SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp
|
---|
| 111 | unix:SOURCES += serial/posix_qextserialport.cpp
|
---|
| 112 | win32:SOURCES += serial/win_qextserialport.cpp
|
---|
| 113 |
|
---|
| 114 | RC_FILE = bnc.rc
|
---|
| 115 |
|
---|
| 116 | QT += network
|
---|
| 117 |
|
---|
| 118 | exists(combination/bnccomb.h) {
|
---|
| 119 | DEFINES += USE_COMBINATION
|
---|
| 120 | HEADERS += combination/bnccomb.h
|
---|
| 121 | SOURCES += combination/bnccomb.cpp
|
---|
| 122 | }
|
---|
| 123 |
|
---|
[5198] | 124 | # Check QtWebKit Library Existence
|
---|
| 125 | # --------------------------------
|
---|
| 126 | win32 {
|
---|
[5199] | 127 | exists("$$[QT_INSTALL_BINS]/QtWebKit4.dll") {
|
---|
[5198] | 128 | DEFINES += QT_WEBKIT
|
---|
| 129 | }
|
---|
| 130 | }
|
---|
| 131 |
|
---|
| 132 | unix {
|
---|
| 133 | exists("$$[QT_INSTALL_LIBS]/libQtWebKit.so") {
|
---|
| 134 | DEFINES += QT_WEBKIT
|
---|
| 135 | }
|
---|
| 136 | }
|
---|
| 137 |
|
---|
[5331] | 138 | macx {
|
---|
| 139 | exists("$$[QT_INSTALL_LIBS]/QtWebKit.framework") {
|
---|
| 140 | DEFINES += QT_WEBKIT
|
---|
| 141 | }
|
---|
| 142 | }
|
---|
| 143 |
|
---|
[5184] | 144 | contains(DEFINES, QT_WEBKIT) {
|
---|
| 145 | message("Configured with QtWebKit")
|
---|
[5185] | 146 | QT += webkit
|
---|
| 147 | HEADERS += map/bncmapwin.h
|
---|
| 148 | SOURCES += map/bncmapwin.cpp
|
---|
[5211] | 149 | OTHER_FILES += map/map_gm.html map/map_osm.html
|
---|
[5184] | 150 | }
|
---|
| 151 | else {
|
---|
| 152 | message("No QtWebKit")
|
---|
| 153 | }
|
---|