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

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