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

Last change on this file since 4390 was 4332, checked in by mervart, 12 years ago
File size: 5.3 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/RTCM3coDecoder.h \
64 RTCM3/clock_and_orbit/clock_orbit_rtcm.h \
65 RTCM3/ephemeris.h RTCM3/timeutils.h \
66 GPSS/gpssDecoder.h GPSS/hassDecoder.h
67
68HEADERS += serial/qextserialbase.h serial/qextserialport.h
69unix:HEADERS += serial/posix_qextserialport.h
70win32:HEADERS += serial/win_qextserialport.h
71
72SOURCES = bncmain.cpp bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \
73 bnccaster.cpp bncrinex.cpp bncapp.cpp bncutils.cpp \
74 bncconst.cpp bnchtml.cpp bnchlpdlg.cpp bnctableitem.cpp \
75 bnczerodecoder.cpp bncnetqueryv1.cpp bncnetqueryv2.cpp \
76 bncnetqueryrtp.cpp bncsettings.cpp latencychecker.cpp \
77 bncipport.cpp bncnetqueryv0.cpp bncnetqueryudp.cpp \
78 bncnetqueryudp0.cpp bncudpport.cpp pppopt.cpp \
79 bncserialport.cpp bncnetquerys.cpp bncfigure.cpp \
80 bncfigurelate.cpp bncpppclient.cpp bnctime.cpp \
81 bancroft.cpp bncmodel.cpp bncfigureppp.cpp bncrawfile.cpp \
82 bnctides.cpp bncmap.cpp bncmapview.cpp bncantex.cpp \
83 bncephuser.cpp bncoutf.cpp bncclockrinex.cpp bncsp3.cpp \
84 bncbytescounter.cpp bncsslconfig.cpp reqcdlg.cpp \
85 upload/bncrtnetdecoder.cpp upload/bncuploadcaster.cpp \
86 upload/bncrtnetuploadcaster.cpp upload/bnccustomtrafo.cpp \
87 upload/bncephuploadcaster.cpp qtfilechooser.cpp \
88 RTCM/GPSDecoder.cpp RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \
89 RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \
90 RTCM3/RTCM3Decoder.cpp RTCM3/rtcm3torinex/rtcm3torinex.c \
91 RTCM3/RTCM3coDecoder.cpp \
92 RTCM3/clock_and_orbit/clock_orbit_rtcm.c \
93 RTCM3/ephemeris.cpp RTCM3/timeutils.cpp \
94 GPSS/gpssDecoder.cpp GPSS/hassDecoder.cpp
95
96SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp
97unix:SOURCES += serial/posix_qextserialport.cpp
98win32:SOURCES += serial/win_qextserialport.cpp
99
100RC_FILE = bnc.rc
101
102QT += network
103
104exists(combination/bnccomb.h) {
105 DEFINES += USE_COMBINATION
106 HEADERS += combination/bnccomb.h
107 SOURCES += combination/bnccomb.cpp
108}
109
110exists(rinex/bncpostprocess.h) {
111 DEFINES += USE_POSTPROCESSING
112 HEADERS += rinex/bncpostprocess.h rinex/rnxobsfile.h \
113 rinex/rnxnavfile.h rinex/corrfile.h \
114 rinex/reqcedit.h rinex/reqcanalyze.h \
115 rinex/graphwin.h rinex/polarplot.h
116 SOURCES += rinex/bncpostprocess.cpp rinex/rnxobsfile.cpp \
117 rinex/rnxnavfile.cpp rinex/corrfile.cpp \
118 rinex/reqcedit.cpp rinex/reqcanalyze.cpp \
119 rinex/graphwin.cpp rinex/polarplot.cpp
120}
121
Note: See TracBrowser for help on using the repository browser.