[35] | 1 |
|
---|
[4622] | 2 | QT += svg
|
---|
| 3 |
|
---|
[4292] | 4 | TARGET = ../bnc
|
---|
| 5 |
|
---|
[452] | 6 | # Switch to debug configuration
|
---|
| 7 | # -----------------------------
|
---|
[4652] | 8 | CONFIG -= debug
|
---|
| 9 | CONFIG += release
|
---|
[98] | 10 |
|
---|
[1218] | 11 | DEFINES += NO_RTCM3_MAIN
|
---|
[1299] | 12 | ###DEFINES += DEBUG_RTCM2_2021
|
---|
[1317] | 13 | unix:DEFINES += _TTY_POSIX_
|
---|
| 14 | win32:DEFINES += _TTY_WIN_
|
---|
[95] | 15 |
|
---|
[141] | 16 | RESOURCES += bnc.qrc
|
---|
| 17 |
|
---|
[167] | 18 | unix:QMAKE_CFLAGS_RELEASE -= -O2
|
---|
| 19 | unix:QMAKE_CXXFLAGS_RELEASE -= -O2
|
---|
[166] | 20 |
|
---|
[3340] | 21 | # Get rid of mingwm10.dll and libgcc_s_dw2-1.dll
|
---|
| 22 | # ----------------------------------------------
|
---|
| 23 | win32 {
|
---|
| 24 | QMAKE_LFLAGS += -static-libgcc
|
---|
| 25 | QMAKE_LFLAGS -= -mthreads
|
---|
| 26 | QMAKE_CXXFLAGS_EXCEPTIONS_ON -= -mthreads
|
---|
| 27 | QMAKE_LFLAGS_EXCEPTIONS_ON -= -mthreads
|
---|
| 28 | }
|
---|
[167] | 29 |
|
---|
[447] | 30 | debug:OBJECTS_DIR=.obj/debug
|
---|
[452] | 31 | debug:MOC_DIR=.moc/debug
|
---|
[447] | 32 | release:OBJECTS_DIR=.obj/release
|
---|
[452] | 33 | release:MOC_DIR=.moc/release
|
---|
[447] | 34 |
|
---|
[1890] | 35 | # Include Path
|
---|
| 36 | # ------------
|
---|
[4301] | 37 | INCLUDEPATH = . ../newmat ./RTCM3 ./RTCM3/clock_and_orbit ./RTCM3/rtcm3torinex \
|
---|
| 38 | ../qwt ../qwtpolar
|
---|
[1890] | 39 |
|
---|
[4292] | 40 | # Additional Libraries
|
---|
| 41 | # --------------------
|
---|
[4301] | 42 | unix:LIBS += -L../newmat -lnewmat -L../qwt -L../qwtpolar -lqwtpolar -lqwt
|
---|
[4306] | 43 | win32:LIBS += -L../newmat/release -L../qwt/release -L../qwtpolar/release \
|
---|
| 44 | -lnewmat -lqwtpolar -lqwt
|
---|
[4292] | 45 |
|
---|
[126] | 46 | HEADERS = bnchelp.html bncgetthread.h bncwindow.h bnctabledlg.h \
|
---|
[177] | 47 | bnccaster.h bncrinex.h bncapp.h bncutils.h bnchlpdlg.h \
|
---|
[423] | 48 | bncconst.h bnchtml.h bnctableitem.h bnczerodecoder.h \
|
---|
[1383] | 49 | bncnetquery.h bncnetqueryv1.h bncnetqueryv2.h \
|
---|
[1558] | 50 | bncnetqueryrtp.h bncsettings.h latencychecker.h \
|
---|
[1718] | 51 | bncipport.h bncnetqueryv0.h bncnetqueryudp.h \
|
---|
[3633] | 52 | bncnetqueryudp0.h bncudpport.h bnctime.h pppopt.h \
|
---|
[1932] | 53 | bncserialport.h bncnetquerys.h bncfigure.h \
|
---|
[2035] | 54 | bncfigurelate.h bncpppclient.h bncversion.h \
|
---|
[2519] | 55 | bancroft.h bncmodel.h bncfigureppp.h bncrawfile.h \
|
---|
[4625] | 56 | bnctides.h bncmap.h bncantex.h \
|
---|
[3181] | 57 | bncephuser.h bncoutf.h bncclockrinex.h bncsp3.h \
|
---|
[3895] | 58 | bncbytescounter.h bncsslconfig.h reqcdlg.h \
|
---|
[3173] | 59 | upload/bncrtnetdecoder.h upload/bncuploadcaster.h \
|
---|
[3238] | 60 | upload/bncrtnetuploadcaster.h upload/bnccustomtrafo.h \
|
---|
[3602] | 61 | upload/bncephuploadcaster.h bnccomb.h qtfilechooser.h \
|
---|
[243] | 62 | RTCM/GPSDecoder.h RTCM/RTCM2.h RTCM/RTCM2Decoder.h \
|
---|
[1044] | 63 | RTCM/RTCM2_2021.h RTCM/rtcm_utils.h \
|
---|
[2492] | 64 | RTCM3/RTCM3Decoder.h RTCM3/rtcm3torinex/rtcm3torinex.h \
|
---|
[4421] | 65 | RTCM3/rtcm3torinex/rtcm3torinexsupport.h \
|
---|
[2492] | 66 | RTCM3/RTCM3coDecoder.h \
|
---|
| 67 | RTCM3/clock_and_orbit/clock_orbit_rtcm.h \
|
---|
[1044] | 68 | RTCM3/ephemeris.h RTCM3/timeutils.h \
|
---|
[3504] | 69 | GPSS/gpssDecoder.h GPSS/hassDecoder.h
|
---|
[35] | 70 |
|
---|
[1317] | 71 | HEADERS += serial/qextserialbase.h serial/qextserialport.h
|
---|
| 72 | unix:HEADERS += serial/posix_qextserialport.h
|
---|
| 73 | win32:HEADERS += serial/win_qextserialport.h
|
---|
| 74 |
|
---|
[35] | 75 | SOURCES = bncmain.cpp bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \
|
---|
[82] | 76 | bnccaster.cpp bncrinex.cpp bncapp.cpp bncutils.cpp \
|
---|
[184] | 77 | bncconst.cpp bnchtml.cpp bnchlpdlg.cpp bnctableitem.cpp \
|
---|
[1383] | 78 | bnczerodecoder.cpp bncnetqueryv1.cpp bncnetqueryv2.cpp \
|
---|
[1558] | 79 | bncnetqueryrtp.cpp bncsettings.cpp latencychecker.cpp \
|
---|
[1718] | 80 | bncipport.cpp bncnetqueryv0.cpp bncnetqueryudp.cpp \
|
---|
[3633] | 81 | bncnetqueryudp0.cpp bncudpport.cpp pppopt.cpp \
|
---|
[1932] | 82 | bncserialport.cpp bncnetquerys.cpp bncfigure.cpp \
|
---|
[2122] | 83 | bncfigurelate.cpp bncpppclient.cpp bnctime.cpp \
|
---|
[2519] | 84 | bancroft.cpp bncmodel.cpp bncfigureppp.cpp bncrawfile.cpp \
|
---|
[4623] | 85 | bnctides.cpp bncmap_svg.cpp bncantex.cpp \
|
---|
[3181] | 86 | bncephuser.cpp bncoutf.cpp bncclockrinex.cpp bncsp3.cpp \
|
---|
[3895] | 87 | bncbytescounter.cpp bncsslconfig.cpp reqcdlg.cpp \
|
---|
[3173] | 88 | upload/bncrtnetdecoder.cpp upload/bncuploadcaster.cpp \
|
---|
[3238] | 89 | upload/bncrtnetuploadcaster.cpp upload/bnccustomtrafo.cpp \
|
---|
[3602] | 90 | upload/bncephuploadcaster.cpp qtfilechooser.cpp \
|
---|
[3528] | 91 | RTCM/GPSDecoder.cpp RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \
|
---|
[1044] | 92 | RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \
|
---|
[2492] | 93 | RTCM3/RTCM3Decoder.cpp RTCM3/rtcm3torinex/rtcm3torinex.c \
|
---|
[4440] | 94 | RTCM3/rtcm3torinex/rtcm3torinexsupport.c \
|
---|
[2492] | 95 | RTCM3/RTCM3coDecoder.cpp \
|
---|
| 96 | RTCM3/clock_and_orbit/clock_orbit_rtcm.c \
|
---|
[1044] | 97 | RTCM3/ephemeris.cpp RTCM3/timeutils.cpp \
|
---|
[3504] | 98 | GPSS/gpssDecoder.cpp GPSS/hassDecoder.cpp
|
---|
[35] | 99 |
|
---|
[1317] | 100 | SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp
|
---|
| 101 | unix:SOURCES += serial/posix_qextserialport.cpp
|
---|
| 102 | win32:SOURCES += serial/win_qextserialport.cpp
|
---|
| 103 |
|
---|
[199] | 104 | RC_FILE = bnc.rc
|
---|
| 105 |
|
---|
[35] | 106 | QT += network
|
---|
| 107 |
|
---|
[2901] | 108 | exists(combination/bnccomb.h) {
|
---|
[2900] | 109 | DEFINES += USE_COMBINATION
|
---|
[3200] | 110 | HEADERS += combination/bnccomb.h
|
---|
| 111 | SOURCES += combination/bnccomb.cpp
|
---|
[2900] | 112 | }
|
---|
[2899] | 113 |
|
---|
[3722] | 114 | exists(rinex/bncpostprocess.h) {
|
---|
[3716] | 115 | DEFINES += USE_POSTPROCESSING
|
---|
[3721] | 116 | HEADERS += rinex/bncpostprocess.h rinex/rnxobsfile.h \
|
---|
[3826] | 117 | rinex/rnxnavfile.h rinex/corrfile.h \
|
---|
[4299] | 118 | rinex/reqcedit.h rinex/reqcanalyze.h \
|
---|
[4577] | 119 | rinex/graphwin.h rinex/polarplot.h \
|
---|
[4672] | 120 | rinex/availplot.h rinex/eleplot.h \
|
---|
| 121 | rinex/dopplot.h
|
---|
| 122 | SOURCES += rinex/bncpostprocess.cpp rinex/rnxobsfile.cpp \
|
---|
| 123 | rinex/rnxnavfile.cpp rinex/corrfile.cpp \
|
---|
[4299] | 124 | rinex/reqcedit.cpp rinex/reqcanalyze.cpp \
|
---|
[4577] | 125 | rinex/graphwin.cpp rinex/polarplot.cpp \
|
---|
[4672] | 126 | rinex/availplot.cpp rinex/eleplot.cpp \
|
---|
| 127 | rinex/dopplot.cpp
|
---|
[3716] | 128 | }
|
---|
| 129 |
|
---|
[4757] | 130 | # Link to a 3rd-part library (test)
|
---|
| 131 | # ---------------------------------
|
---|
[4807] | 132 | # use_RTRover = true
|
---|
[4757] | 133 |
|
---|
| 134 | equals(use_RTRover, true) {
|
---|
| 135 | DEFINES += RTROVER_INTERFACE
|
---|
| 136 | HEADERS += RTRover/bncrtrover.h
|
---|
| 137 | SOURCES += RTRover/bncrtrover.cpp
|
---|
[4759] | 138 | LIBS += -LRTRover -lRTRover
|
---|
[4762] | 139 | unix:LIBS += -Wl,-rpath,$$PWD/RTRover
|
---|
[4757] | 140 | }
|
---|
| 141 |
|
---|