source: ntrip/trunk/BNC/src/src.pri@ 9677

Last change on this file since 9677 was 9676, checked in by stuerze, 3 years ago

combination is extended to use/provide Code Biases

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