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

Last change on this file since 10541 was 10538, checked in by stuerze, 8 weeks ago

minor changes

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