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

Last change on this file since 8720 was 7858, checked in by stuerze, 9 years ago

#BNC_DEBUG added

File size: 6.8 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
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 bncbytescounter.h bncsslconfig.h reqcdlg.h \
52 upload/bncrtnetdecoder.h upload/bncuploadcaster.h \
53 ephemeris.h t_prn.h satObs.h \
54 upload/bncrtnetuploadcaster.h upload/bnccustomtrafo.h \
55 upload/bncephuploadcaster.h qtfilechooser.h \
56 GPSDecoder.h pppInclude.h pppWidgets.h pppModel.h \
57 pppMain.h pppRun.h pppOptions.h pppCrdFile.h pppThread.h \
58 RTCM/RTCM2.h RTCM/RTCM2Decoder.h \
59 RTCM/RTCM2_2021.h RTCM/rtcm_utils.h \
60 RTCM3/RTCM3Decoder.h RTCM3/bits.h RTCM3/gnss.h \
61 RTCM3/RTCM3coDecoder.h RTCM3/ephEncoder.h \
62 RTCM3/clock_and_orbit/clock_orbit_rtcm.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 combination/bnccomb.h
70
71HEADERS += serial/qextserialbase.h serial/qextserialport.h
72unix:HEADERS += serial/posix_qextserialport.h
73win32:HEADERS += serial/win_qextserialport.h
74
75SOURCES = bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \
76 bnccaster.cpp bncrinex.cpp bnccore.cpp bncutils.cpp \
77 bncconst.cpp bnchtml.cpp bnchlpdlg.cpp bnctableitem.cpp \
78 bnczerodecoder.cpp bncnetqueryv1.cpp bncnetqueryv2.cpp \
79 bncnetqueryrtp.cpp bncsettings.cpp latencychecker.cpp \
80 bncipport.cpp bncnetqueryv0.cpp bncnetqueryudp.cpp \
81 bncnetqueryudp0.cpp bncudpport.cpp \
82 bncserialport.cpp bncnetquerys.cpp bncfigure.cpp \
83 bncfigurelate.cpp bnctime.cpp \
84 bncfigureppp.cpp bncrawfile.cpp \
85 bncmap_svg.cpp bncantex.cpp bncephuser.cpp \
86 bncoutf.cpp bncclockrinex.cpp bncsp3.cpp bncsinextro.cpp \
87 bncbytescounter.cpp bncsslconfig.cpp reqcdlg.cpp \
88 ephemeris.cpp t_prn.cpp satObs.cpp \
89 upload/bncrtnetdecoder.cpp upload/bncuploadcaster.cpp \
90 upload/bncrtnetuploadcaster.cpp upload/bnccustomtrafo.cpp \
91 upload/bncephuploadcaster.cpp qtfilechooser.cpp \
92 GPSDecoder.cpp pppWidgets.cpp pppModel.cpp \
93 pppMain.cpp pppRun.cpp pppOptions.cpp pppCrdFile.cpp \
94 pppThread.cpp \
95 RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \
96 RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \
97 RTCM3/RTCM3Decoder.cpp \
98 RTCM3/RTCM3coDecoder.cpp RTCM3/ephEncoder.cpp \
99 RTCM3/clock_and_orbit/clock_orbit_rtcm.c \
100 rinex/rnxobsfile.cpp \
101 rinex/rnxnavfile.cpp rinex/corrfile.cpp \
102 rinex/reqcedit.cpp rinex/reqcanalyze.cpp \
103 rinex/graphwin.cpp rinex/polarplot.cpp \
104 rinex/availplot.cpp rinex/eleplot.cpp \
105 rinex/dopplot.cpp orbComp/sp3Comp.cpp \
106 combination/bnccomb.cpp
107
108SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp
109unix:SOURCES += serial/posix_qextserialport.cpp
110win32:SOURCES += serial/win_qextserialport.cpp
111
112RC_FILE = bnc.rc
113
114QT += network
115
116exists(PPP) {
117 INCLUDEPATH += PPP
118 DEFINES += USE_PPP
119 HEADERS += PPP/pppClient.h PPP/pppObsPool.h PPP/pppEphPool.h \
120 PPP/pppStation.h PPP/pppFilter.h PPP/pppParlist.h \
121 PPP/pppSatObs.h
122 SOURCES += PPP/pppClient.cpp PPP/pppObsPool.cpp PPP/pppEphPool.cpp \
123 PPP/pppStation.cpp PPP/pppFilter.cpp PPP/pppParlist.cpp \
124 PPP/pppSatObs.cpp
125}
126else {
127 INCLUDEPATH += PPP_SSR_I
128 DEFINES += USE_PPP_SSR_I
129 HEADERS += PPP_SSR_I/pppClient.h PPP_SSR_I/pppFilter.h PPP_SSR_I/pppUtils.h
130 SOURCES += PPP_SSR_I/pppClient.cpp PPP_SSR_I/pppFilter.cpp PPP_SSR_I/pppUtils.cpp
131}
132
133# Check QtWebKit Library Existence
134# --------------------------------
135win32 {
136 exists("$$[QT_INSTALL_BINS]/QtWebKit4.dll") {
137 DEFINES += QT_WEBKIT
138 }
139}
140
141unix {
142 exists("$$[QT_INSTALL_LIBS]/libQtWebKit.so") {
143 DEFINES += QT_WEBKIT
144 }
145}
146
147macx {
148 exists("$$[QT_INSTALL_LIBS]/QtWebKit.framework") {
149 DEFINES += QT_WEBKIT
150 }
151}
152
153contains(DEFINES, QT_WEBKIT) {
154 message("Configured with QtWebKit")
155 QT += webkit
156 HEADERS += map/bncmapwin.h
157 SOURCES += map/bncmapwin.cpp
158 OTHER_FILES += map/map_gm.html map/map_osm.html
159}
160else {
161 message("No QtWebKit")
162}
Note: See TracBrowser for help on using the repository browser.