source: ntrip/branches/BNC_2.12/src/src.pri@ 9216

Last change on this file since 9216 was 9216, checked in by stuerze, 20 months ago

ephemeris checks + debugging output added

File size: 7.2 KB
Line 
1
2unix:DEFINES += _TTY_POSIX_
3win32:DEFINES += _TTY_WIN_
4
5RESOURCES += bnc.qrc
6
7QT += svg
8
9unix:QMAKE_CFLAGS_RELEASE -= -O2
10unix:QMAKE_CXXFLAGS_RELEASE -= -O2
11
12# Get rid of mingwm10.dll and libgcc_s_dw2-1.dll
13# ----------------------------------------------
14win32 {
15 QMAKE_LFLAGS += -static-libgcc
16 QMAKE_LFLAGS -= -mthreads
17 QMAKE_CXXFLAGS_EXCEPTIONS_ON -= -mthreads
18 QMAKE_LFLAGS_EXCEPTIONS_ON -= -mthreads
19}
20
21debug:OBJECTS_DIR=.obj/debug
22debug:MOC_DIR=.moc/debug
23release:OBJECTS_DIR=.obj/release
24release:MOC_DIR=.moc/release
25
26debug:DEFINES += BNC_DEBUG
27debug:DEFINES += BNC_DEBUG_BCEP
28#debug:DEFINES += BNC_DEBUG_SSR
29release:DEFINES += BNC_DEBUG_BCEP
30
31# Include Path
32# ------------
33INCLUDEPATH += . ../newmat ./RTCM3 ./RTCM3/clock_and_orbit ./RTCM \
34 ../qwt ../qwtpolar
35
36# Additional Libraries
37# --------------------
38unix:LIBS += -L../newmat -lnewmat -L../qwt -L../qwtpolar -lqwtpolar -lqwt
39win32:LIBS += -L../newmat/release -L../qwt/release -L../qwtpolar/release \
40 -lnewmat -lqwtpolar -lqwt
41
42HEADERS = 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 \
49 bncserialport.h bncnetquerys.h bncfigure.h \
50 bncfigurelate.h bncversion.h \
51 bncfigureppp.h bncrawfile.h \
52 bncmap.h bncantex.h bncephuser.h \
53 bncoutf.h bncclockrinex.h bncsp3.h bncsinextro.h \
54 bncbytescounter.h bncsslconfig.h reqcdlg.h \
55 upload/bncrtnetdecoder.h upload/bncuploadcaster.h \
56 ephemeris.h t_prn.h satObs.h \
57 upload/bncrtnetuploadcaster.h upload/bnccustomtrafo.h \
58 upload/bncephuploadcaster.h qtfilechooser.h \
59 GPSDecoder.h pppInclude.h pppWidgets.h pppModel.h \
60 pppMain.h pppRun.h pppOptions.h pppCrdFile.h pppThread.h \
61 RTCM/RTCM2.h RTCM/RTCM2Decoder.h \
62 RTCM/RTCM2_2021.h RTCM/rtcm_utils.h \
63 RTCM3/RTCM3Decoder.h RTCM3/bits.h RTCM3/gnss.h \
64 RTCM3/RTCM3coDecoder.h RTCM3/ephEncoder.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
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 bncbytescounter.cpp bncsslconfig.cpp reqcdlg.cpp \
93 ephemeris.cpp t_prn.cpp satObs.cpp \
94 upload/bncrtnetdecoder.cpp upload/bncuploadcaster.cpp \
95 upload/bncrtnetuploadcaster.cpp upload/bnccustomtrafo.cpp \
96 upload/bncephuploadcaster.cpp qtfilechooser.cpp \
97 GPSDecoder.cpp pppWidgets.cpp pppModel.cpp \
98 pppMain.cpp pppRun.cpp pppOptions.cpp pppCrdFile.cpp \
99 pppThread.cpp \
100 RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \
101 RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \
102 RTCM3/RTCM3Decoder.cpp \
103 RTCM3/RTCM3coDecoder.cpp RTCM3/ephEncoder.cpp \
104 RTCM3/clock_and_orbit/clock_orbit_igs.cpp \
105 RTCM3/clock_and_orbit/clock_orbit_rtcm.cpp \
106 rinex/rnxobsfile.cpp \
107 rinex/rnxnavfile.cpp rinex/corrfile.cpp \
108 rinex/reqcedit.cpp rinex/reqcanalyze.cpp \
109 rinex/graphwin.cpp rinex/polarplot.cpp \
110 rinex/availplot.cpp rinex/eleplot.cpp \
111 rinex/dopplot.cpp orbComp/sp3Comp.cpp \
112 combination/bnccomb.cpp
113
114SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp
115unix:SOURCES += serial/posix_qextserialport.cpp
116win32:SOURCES += serial/win_qextserialport.cpp
117
118RC_FILE = bnc.rc
119
120QT += network
121
122exists(PPP) {
123 INCLUDEPATH += PPP
124 DEFINES += USE_PPP
125 HEADERS += PPP/pppClient.h PPP/pppObsPool.h PPP/pppEphPool.h \
126 PPP/pppStation.h PPP/pppFilter.h PPP/pppParlist.h \
127 PPP/pppSatObs.h
128 SOURCES += PPP/pppClient.cpp PPP/pppObsPool.cpp PPP/pppEphPool.cpp \
129 PPP/pppStation.cpp PPP/pppFilter.cpp PPP/pppParlist.cpp \
130 PPP/pppSatObs.cpp
131}
132else {
133 INCLUDEPATH += PPP_SSR_I
134 DEFINES += USE_PPP_SSR_I
135 HEADERS += PPP_SSR_I/pppClient.h PPP_SSR_I/pppFilter.h PPP_SSR_I/pppUtils.h
136 SOURCES += PPP_SSR_I/pppClient.cpp PPP_SSR_I/pppFilter.cpp PPP_SSR_I/pppUtils.cpp
137}
138
139# Check QtWebKit Library Existence
140# --------------------------------
141win32 {
142 exists("$$[QT_INSTALL_BINS]/QtWebKit4.dll") {
143 DEFINES += QT_WEBKIT
144 }
145}
146
147unix {
148 exists("$$[QT_INSTALL_LIBS]/libQtWebKit.so") {
149 DEFINES += QT_WEBKIT
150 }
151}
152
153macx {
154 exists("$$[QT_INSTALL_LIBS]/QtWebKit.framework") {
155 DEFINES += QT_WEBKIT
156 }
157}
158
159contains(DEFINES, QT_WEBKIT) {
160 message("Configured with QtWebKit")
161 QT += webkit
162 HEADERS += map/bncmapwin.h
163 SOURCES += map/bncmapwin.cpp
164 OTHER_FILES += map/map_gm.html map/map_osm.html
165}
166else {
167 message("No QtWebKit")
168}
Note: See TracBrowser for help on using the repository browser.