1 |
|
---|
2 | # Switch to debug configuration
|
---|
3 | # -----------------------------
|
---|
4 | CONFIG += release
|
---|
5 | ###CONFIG += debug
|
---|
6 |
|
---|
7 | DEFINES += NO_RTCM3_MAIN
|
---|
8 | ###DEFINES += DEBUG_RTCM2_2021
|
---|
9 | unix:DEFINES += _TTY_POSIX_
|
---|
10 | win32:DEFINES += _TTY_WIN_
|
---|
11 |
|
---|
12 | RESOURCES += bnc.qrc
|
---|
13 |
|
---|
14 | unix:QMAKE_CFLAGS_RELEASE -= -O2
|
---|
15 | unix:QMAKE_CXXFLAGS_RELEASE -= -O2
|
---|
16 |
|
---|
17 | # Get rid of mingwm10.dll
|
---|
18 | # -----------------------
|
---|
19 | win32:QMAKE_LFLAGS -= -mthreads
|
---|
20 | win32:QMAKE_CXXFLAGS_EXCEPTIONS_ON -= -mthreads
|
---|
21 | win32:QMAKE_LFLAGS_EXCEPTIONS_ON -= -mthreads
|
---|
22 |
|
---|
23 | debug:OBJECTS_DIR=.obj/debug
|
---|
24 | debug:MOC_DIR=.moc/debug
|
---|
25 | release:OBJECTS_DIR=.obj/release
|
---|
26 | release:MOC_DIR=.moc/release
|
---|
27 |
|
---|
28 | HEADERS = bnchelp.html bncgetthread.h bncwindow.h bnctabledlg.h \
|
---|
29 | bnccaster.h bncrinex.h bncapp.h bncutils.h bnchlpdlg.h \
|
---|
30 | bncconst.h bnchtml.h bnctableitem.h bnczerodecoder.h \
|
---|
31 | bncsocket.h \
|
---|
32 | RTCM/GPSDecoder.h RTCM/RTCM2.h RTCM/RTCM2Decoder.h \
|
---|
33 | RTCM/RTCM2_2021.h RTCM/rtcm_utils.h \
|
---|
34 | RTCM3/RTCM3Decoder.h RTCM3/rtcm3torinex.h \
|
---|
35 | RTCM3/RTCM3coDecoder.h RTCM3/clock_orbit_rtcm.h \
|
---|
36 | RTCM3/ephemeris.h RTCM3/timeutils.h \
|
---|
37 | RTIGS/RTIGSDecoder.h RTIGS/rtigs_records.h \
|
---|
38 | RTIGS/cgps_transform.h RTIGS/rtstruct.h \
|
---|
39 | RTIGS/rtacp.h RTIGS/gpswro.h \
|
---|
40 | GPSS/gpssDecoder.h
|
---|
41 |
|
---|
42 | HEADERS += serial/qextserialbase.h serial/qextserialport.h
|
---|
43 | unix:HEADERS += serial/posix_qextserialport.h
|
---|
44 | win32:HEADERS += serial/win_qextserialport.h
|
---|
45 |
|
---|
46 | SOURCES = bncmain.cpp bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \
|
---|
47 | bnccaster.cpp bncrinex.cpp bncapp.cpp bncutils.cpp \
|
---|
48 | bncconst.cpp bnchtml.cpp bnchlpdlg.cpp bnctableitem.cpp \
|
---|
49 | bnczerodecoder.cpp bncsocket.cpp \
|
---|
50 | RTCM/RTCM2.cpp RTCM/RTCM2Decoder.cpp \
|
---|
51 | RTCM/RTCM2_2021.cpp RTCM/rtcm_utils.cpp \
|
---|
52 | RTCM3/RTCM3Decoder.cpp RTCM3/rtcm3torinex.c \
|
---|
53 | RTCM3/RTCM3coDecoder.cpp RTCM3/clock_orbit_rtcm.c \
|
---|
54 | RTCM3/ephemeris.cpp RTCM3/timeutils.cpp \
|
---|
55 | RTIGS/RTIGSDecoder.cpp RTIGS/cgps_transform.cpp \
|
---|
56 | GPSS/gpssDecoder.cpp
|
---|
57 |
|
---|
58 | SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp
|
---|
59 | unix:SOURCES += serial/posix_qextserialport.cpp
|
---|
60 | win32:SOURCES += serial/win_qextserialport.cpp
|
---|
61 |
|
---|
62 | RC_FILE = bnc.rc
|
---|
63 |
|
---|
64 | QT += network
|
---|
65 |
|
---|