source: ntrip/trunk/BNC/src/src.pro@ 4639

Last change on this file since 4639 was 4625, checked in by mervart, 12 years ago
File size: 5.5 KB
Line 
1
2QT += svg
3
4TARGET = ../bnc
5
6# Switch to debug configuration
7# -----------------------------
8CONFIG -= debug
9CONFIG += release
10
11DEFINES += NO_RTCM3_MAIN
12###DEFINES += DEBUG_RTCM2_2021
13unix:DEFINES += _TTY_POSIX_
14win32:DEFINES += _TTY_WIN_
15
16RESOURCES += bnc.qrc
17
18unix:QMAKE_CFLAGS_RELEASE -= -O2
19unix:QMAKE_CXXFLAGS_RELEASE -= -O2
20
21# Get rid of mingwm10.dll and libgcc_s_dw2-1.dll
22# ----------------------------------------------
23win32 {
24 QMAKE_LFLAGS += -static-libgcc
25 QMAKE_LFLAGS -= -mthreads
26 QMAKE_CXXFLAGS_EXCEPTIONS_ON -= -mthreads
27 QMAKE_LFLAGS_EXCEPTIONS_ON -= -mthreads
28}
29
30debug:OBJECTS_DIR=.obj/debug
31debug:MOC_DIR=.moc/debug
32release:OBJECTS_DIR=.obj/release
33release:MOC_DIR=.moc/release
34
35# Include Path
36# ------------
37INCLUDEPATH = . ../newmat ./RTCM3 ./RTCM3/clock_and_orbit ./RTCM3/rtcm3torinex \
38 ../qwt ../qwtpolar
39
40# Additional Libraries
41# --------------------
42unix:LIBS += -L../newmat -lnewmat -L../qwt -L../qwtpolar -lqwtpolar -lqwt
43win32:LIBS += -L../newmat/release -L../qwt/release -L../qwtpolar/release \
44 -lnewmat -lqwtpolar -lqwt
45
46HEADERS = bnchelp.html bncgetthread.h bncwindow.h bnctabledlg.h \
47 bnccaster.h bncrinex.h bncapp.h bncutils.h bnchlpdlg.h \
48 bncconst.h bnchtml.h bnctableitem.h bnczerodecoder.h \
49 bncnetquery.h bncnetqueryv1.h bncnetqueryv2.h \
50 bncnetqueryrtp.h bncsettings.h latencychecker.h \
51 bncipport.h bncnetqueryv0.h bncnetqueryudp.h \
52 bncnetqueryudp0.h bncudpport.h bnctime.h pppopt.h \
53 bncserialport.h bncnetquerys.h bncfigure.h \
54 bncfigurelate.h bncpppclient.h bncversion.h \
55 bancroft.h bncmodel.h bncfigureppp.h bncrawfile.h \
56 bnctides.h bncmap.h bncantex.h \
57 bncephuser.h bncoutf.h bncclockrinex.h bncsp3.h \
58 bncbytescounter.h bncsslconfig.h reqcdlg.h \
59 upload/bncrtnetdecoder.h upload/bncuploadcaster.h \
60 upload/bncrtnetuploadcaster.h upload/bnccustomtrafo.h \
61 upload/bncephuploadcaster.h bnccomb.h qtfilechooser.h \
62 RTCM/GPSDecoder.h RTCM/RTCM2.h RTCM/RTCM2Decoder.h \
63 RTCM/RTCM2_2021.h RTCM/rtcm_utils.h \
64 RTCM3/RTCM3Decoder.h RTCM3/rtcm3torinex/rtcm3torinex.h \
65 RTCM3/rtcm3torinex/rtcm3torinexsupport.h \
66 RTCM3/RTCM3coDecoder.h \
67 RTCM3/clock_and_orbit/clock_orbit_rtcm.h \
68 RTCM3/ephemeris.h RTCM3/timeutils.h \
69 GPSS/gpssDecoder.h GPSS/hassDecoder.h
70
71HEADERS += serial/qextserialbase.h serial/qextserialport.h
72unix:HEADERS += serial/posix_qextserialport.h
73win32:HEADERS += serial/win_qextserialport.h
74
75SOURCES = bncmain.cpp bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \
76 bnccaster.cpp bncrinex.cpp bncapp.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 pppopt.cpp \
82 bncserialport.cpp bncnetquerys.cpp bncfigure.cpp \
83 bncfigurelate.cpp bncpppclient.cpp bnctime.cpp \
84 bancroft.cpp bncmodel.cpp bncfigureppp.cpp bncrawfile.cpp \
85 bnctides.cpp bncmap_svg.cpp bncantex.cpp \
86 bncephuser.cpp bncoutf.cpp bncclockrinex.cpp bncsp3.cpp \
87 bncbytescounter.cpp bncsslconfig.cpp reqcdlg.cpp \
88 upload/bncrtnetdecoder.cpp upload/bncuploadcaster.cpp \
89 upload/bncrtnetuploadcaster.cpp upload/bnccustomtrafo.cpp \
90 upload/bncephuploadcaster.cpp qtfilechooser.cpp \
91 RTCM/GPSDecoder.cpp RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \
92 RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \
93 RTCM3/RTCM3Decoder.cpp RTCM3/rtcm3torinex/rtcm3torinex.c \
94 RTCM3/rtcm3torinex/rtcm3torinexsupport.c \
95 RTCM3/RTCM3coDecoder.cpp \
96 RTCM3/clock_and_orbit/clock_orbit_rtcm.c \
97 RTCM3/ephemeris.cpp RTCM3/timeutils.cpp \
98 GPSS/gpssDecoder.cpp GPSS/hassDecoder.cpp
99
100SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp
101unix:SOURCES += serial/posix_qextserialport.cpp
102win32:SOURCES += serial/win_qextserialport.cpp
103
104RC_FILE = bnc.rc
105
106QT += network
107
108exists(combination/bnccomb.h) {
109 DEFINES += USE_COMBINATION
110 HEADERS += combination/bnccomb.h
111 SOURCES += combination/bnccomb.cpp
112}
113
114exists(rinex/bncpostprocess.h) {
115 DEFINES += USE_POSTPROCESSING
116 HEADERS += rinex/bncpostprocess.h rinex/rnxobsfile.h \
117 rinex/rnxnavfile.h rinex/corrfile.h \
118 rinex/reqcedit.h rinex/reqcanalyze.h \
119 rinex/graphwin.h rinex/polarplot.h \
120 rinex/availplot.h
121 SOURCES += rinex/bncpostprocess.cpp rinex/rnxobsfile.cpp \
122 rinex/rnxnavfile.cpp rinex/corrfile.cpp \
123 rinex/reqcedit.cpp rinex/reqcanalyze.cpp \
124 rinex/graphwin.cpp rinex/polarplot.cpp \
125 rinex/availplot.cpp
126}
127
Note: See TracBrowser for help on using the repository browser.