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

Last change on this file since 6833 was 6812, checked in by stoecker, 10 years ago

integrate RTCM3 parsing into BNC and directly fill target structures, add doxygen documentation

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