1 |
|
---|
2 | TEMPLATE = lib
|
---|
3 | CONFIG += plugin debug
|
---|
4 | TARGET = $$qtLibraryTarget(gnsscenter_bnc)
|
---|
5 | DESTDIR = ../../GnssCenter/plugins
|
---|
6 | DEFINES += GNSSCENTER_PLUGIN
|
---|
7 | INCLUDEPATH += ../../GnssCenter/main
|
---|
8 |
|
---|
9 | QT += svg
|
---|
10 |
|
---|
11 | DEFINES += NO_RTCM3_MAIN
|
---|
12 | unix:DEFINES += _TTY_POSIX_
|
---|
13 | win32:DEFINES += _TTY_WIN_
|
---|
14 |
|
---|
15 | RESOURCES += bnc.qrc
|
---|
16 |
|
---|
17 | # Get rid of mingwm10.dll and libgcc_s_dw2-1.dll
|
---|
18 | # ----------------------------------------------
|
---|
19 | win32 {
|
---|
20 | QMAKE_LFLAGS += -static-libgcc
|
---|
21 | QMAKE_LFLAGS -= -mthreads
|
---|
22 | QMAKE_CXXFLAGS_EXCEPTIONS_ON -= -mthreads
|
---|
23 | QMAKE_LFLAGS_EXCEPTIONS_ON -= -mthreads
|
---|
24 | }
|
---|
25 |
|
---|
26 | debug:OBJECTS_DIR=.obj/debug
|
---|
27 | debug:MOC_DIR=.moc/debug
|
---|
28 | release:OBJECTS_DIR=.obj/release
|
---|
29 | release:MOC_DIR=.moc/release
|
---|
30 |
|
---|
31 | # Include Path
|
---|
32 | # ------------
|
---|
33 | INCLUDEPATH += . ../newmat ./RTCM3 ./RTCM3/clock_and_orbit ./RTCM3/rtcm3torinex \
|
---|
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 \
|
---|
47 | bncipport.h bncnetqueryv0.h bncnetqueryudp.h \
|
---|
48 | bncnetqueryudp0.h bncudpport.h bnctime.h pppopt.h \
|
---|
49 | bncserialport.h bncnetquerys.h bncfigure.h \
|
---|
50 | bncfigurelate.h bncpppclient.h bncversion.h \
|
---|
51 | bancroft.h bncmodel.h bncfigureppp.h bncrawfile.h \
|
---|
52 | bnctides.h bncmap.h bncantex.h \
|
---|
53 | bncephuser.h bncoutf.h bncclockrinex.h bncsp3.h \
|
---|
54 | bncbytescounter.h bncsslconfig.h reqcdlg.h \
|
---|
55 | upload/bncrtnetdecoder.h upload/bncuploadcaster.h \
|
---|
56 | upload/bncrtnetuploadcaster.h upload/bnccustomtrafo.h \
|
---|
57 | upload/bncephuploadcaster.h bnccomb.h qtfilechooser.h \
|
---|
58 | RTCM/GPSDecoder.h RTCM/RTCM2.h RTCM/RTCM2Decoder.h \
|
---|
59 | RTCM/RTCM2_2021.h RTCM/rtcm_utils.h \
|
---|
60 | RTCM3/RTCM3Decoder.h RTCM3/rtcm3torinex/rtcm3torinex.h \
|
---|
61 | RTCM3/rtcm3torinex/rtcm3torinexsupport.h \
|
---|
62 | RTCM3/RTCM3coDecoder.h \
|
---|
63 | RTCM3/clock_and_orbit/clock_orbit_rtcm.h \
|
---|
64 | RTCM3/ephemeris.h RTCM3/timeutils.h \
|
---|
65 | GPSS/gpssDecoder.h GPSS/hassDecoder.h
|
---|
66 |
|
---|
67 | HEADERS += serial/qextserialbase.h serial/qextserialport.h
|
---|
68 | unix:HEADERS += serial/posix_qextserialport.h
|
---|
69 | win32:HEADERS += serial/win_qextserialport.h
|
---|
70 |
|
---|
71 | SOURCES = bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \
|
---|
72 | bnccaster.cpp bncrinex.cpp bnccore.cpp bncutils.cpp \
|
---|
73 | bncconst.cpp bnchtml.cpp bnchlpdlg.cpp bnctableitem.cpp \
|
---|
74 | bnczerodecoder.cpp bncnetqueryv1.cpp bncnetqueryv2.cpp \
|
---|
75 | bncnetqueryrtp.cpp bncsettings.cpp latencychecker.cpp \
|
---|
76 | bncipport.cpp bncnetqueryv0.cpp bncnetqueryudp.cpp \
|
---|
77 | bncnetqueryudp0.cpp bncudpport.cpp pppopt.cpp \
|
---|
78 | bncserialport.cpp bncnetquerys.cpp bncfigure.cpp \
|
---|
79 | bncfigurelate.cpp bncpppclient.cpp bnctime.cpp \
|
---|
80 | bancroft.cpp bncmodel.cpp bncfigureppp.cpp bncrawfile.cpp \
|
---|
81 | bnctides.cpp bncmap_svg.cpp bncantex.cpp \
|
---|
82 | bncephuser.cpp bncoutf.cpp bncclockrinex.cpp bncsp3.cpp \
|
---|
83 | bncbytescounter.cpp bncsslconfig.cpp reqcdlg.cpp \
|
---|
84 | upload/bncrtnetdecoder.cpp upload/bncuploadcaster.cpp \
|
---|
85 | upload/bncrtnetuploadcaster.cpp upload/bnccustomtrafo.cpp \
|
---|
86 | upload/bncephuploadcaster.cpp qtfilechooser.cpp \
|
---|
87 | RTCM/GPSDecoder.cpp RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \
|
---|
88 | RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \
|
---|
89 | RTCM3/RTCM3Decoder.cpp RTCM3/rtcm3torinex/rtcm3torinex.c \
|
---|
90 | RTCM3/rtcm3torinex/rtcm3torinexsupport.c \
|
---|
91 | RTCM3/RTCM3coDecoder.cpp \
|
---|
92 | RTCM3/clock_and_orbit/clock_orbit_rtcm.c \
|
---|
93 | RTCM3/ephemeris.cpp RTCM3/timeutils.cpp \
|
---|
94 | GPSS/gpssDecoder.cpp GPSS/hassDecoder.cpp
|
---|
95 |
|
---|
96 | SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp
|
---|
97 | unix:SOURCES += serial/posix_qextserialport.cpp
|
---|
98 | win32:SOURCES += serial/win_qextserialport.cpp
|
---|
99 |
|
---|
100 | RC_FILE = bnc.rc
|
---|
101 |
|
---|
102 | QT += network
|
---|
103 |
|
---|
104 | exists(combination/bnccomb.h) {
|
---|
105 | DEFINES += USE_COMBINATION
|
---|
106 | HEADERS += combination/bnccomb.h
|
---|
107 | SOURCES += combination/bnccomb.cpp
|
---|
108 | }
|
---|
109 |
|
---|
110 | exists(rinex/bncpostprocess.h) {
|
---|
111 | DEFINES += USE_POSTPROCESSING
|
---|
112 | HEADERS += rinex/bncpostprocess.h rinex/rnxobsfile.h \
|
---|
113 | rinex/rnxnavfile.h rinex/corrfile.h \
|
---|
114 | rinex/reqcedit.h rinex/reqcanalyze.h \
|
---|
115 | rinex/graphwin.h rinex/polarplot.h \
|
---|
116 | rinex/availplot.h rinex/eleplot.h \
|
---|
117 | rinex/dopplot.h
|
---|
118 | SOURCES += rinex/bncpostprocess.cpp rinex/rnxobsfile.cpp \
|
---|
119 | rinex/rnxnavfile.cpp rinex/corrfile.cpp \
|
---|
120 | rinex/reqcedit.cpp rinex/reqcanalyze.cpp \
|
---|
121 | rinex/graphwin.cpp rinex/polarplot.cpp \
|
---|
122 | rinex/availplot.cpp rinex/eleplot.cpp \
|
---|
123 | rinex/dopplot.cpp
|
---|
124 | }
|
---|
125 |
|
---|
126 | # Link to a 3rd-part library (test)
|
---|
127 | # ---------------------------------
|
---|
128 | # use_RTRover = true
|
---|
129 |
|
---|
130 | equals(use_RTRover, true) {
|
---|
131 | DEFINES += RTROVER_INTERFACE
|
---|
132 | HEADERS += RTRover/bncrtrover.h
|
---|
133 | SOURCES += RTRover/bncrtrover.cpp
|
---|
134 | LIBS += -LRTRover -lRTRover
|
---|
135 | unix:LIBS += -Wl,-rpath,$$PWD/RTRover
|
---|
136 | }
|
---|
137 |
|
---|