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

Last change on this file since 9448 was 9420, checked in by stuerze, 4 years ago

update regarding PPP

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