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

Last change on this file since 10371 was 10236, checked in by stuerze, 14 months ago

minor changes

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