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

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