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