wfview/wfview.pro

118 wiersze
2.8 KiB
Prolog
Czysty Zwykły widok Historia

2018-06-19 19:58:52 +00:00
#-------------------------------------------------
#
# Project created by QtCreator 2018-05-26T16:57:32
#
#-------------------------------------------------
QT += core gui serialport network multimedia
2018-06-19 19:58:52 +00:00
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
TARGET = wfview
TEMPLATE = app
QMAKE_CXXFLAGS += -march=native
CONFIG(debug, release|debug) {
# For Debug builds only:
} else {
# For Release builds only:
QMAKE_CXXFLAGS += -s
QMAKE_CXXFLAGS += -fvisibility=hidden
QMAKE_CXXFLAGS += -fvisibility-inlines-hidden
2019-02-04 06:26:47 +00:00
QMAKE_LFLAGS += -O2 -march=native -s
}
2018-06-19 19:58:52 +00:00
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += QCUSTOMPLOT_COMPILE_LIBRARY
linux:DEFINES += HOST=\\\"`hostname`\\\" UNAME=\\\"`whoami`\\\"
linux:DEFINES += GITSHORT="\\\"$(shell git -C $$PWD rev-parse --short HEAD)\\\""
win32:INCLUDEPATH += c:/qcustomplot
win32:DEFINES += HOST=1
win32:DEFINES += UNAME=1
win32:DEFINES += GITSHORT=1
RESOURCES += qdarkstyle/style.qrc \
resources/resources.qrc
# Why doesn't this seem to do anything?
2020-03-13 03:13:29 +00:00
DISTFILES += resources/wfview.png \
resources/install.sh
DISTFILES += resources/wfview.desktop
linux:QMAKE_POST_LINK += cp ../wfview/resources/wfview.png .;
linux:QMAKE_POST_LINK += cp ../wfview/resources/wfview.desktop .;
linux:QMAKE_POST_LINK += cp ../wfview/resources/install.sh .;
linux:QMAKE_POST_LINK += cp -r ../wfview/qdarkstyle .;
linux:QMAKE_POST_LINK += chmod 755 install.sh;
linux:QMAKE_POST_LINK += echo; echo; echo "Run install.sh as root from the build directory to install."; echo; echo;
2018-11-29 22:32:59 +00:00
# Do not do this, it will hang on start:
# CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
2018-11-07 23:54:03 +00:00
CONFIG(debug, release|debug) {
win32:QCPLIB = qcustomplotd1
else: QCPLIB = qcustomplotd
} else {
win32:QCPLIB = qcustomplot1
else: QCPLIB = qcustomplot
}
2018-06-19 19:58:52 +00:00
QCPLIB = qcustomplot
LIBS += -L./ -l$$QCPLIB
SOURCES += main.cpp\
wfmain.cpp \
commhandler.cpp \
2018-11-07 23:54:03 +00:00
rigcommander.cpp \
freqmemory.cpp \
rigidentities.cpp \
2021-02-07 20:07:26 +00:00
udphandler.cpp \
2021-02-08 08:31:48 +00:00
logcategories.cpp \
2021-02-11 20:22:40 +00:00
audiohandler.cpp \
calibrationwindow.cpp \
2021-02-14 18:32:58 +00:00
satellitesetup.cpp \
udpserversetup.cpp \
udpserver.cpp \
meter.cpp \
2021-03-04 20:19:05 +00:00
qledlabel.cpp \
pttyhandler.cpp
2018-06-19 19:58:52 +00:00
HEADERS += wfmain.h \
commhandler.h \
2018-11-07 23:54:03 +00:00
rigcommander.h \
freqmemory.h \
rigidentities.h \
2021-02-07 20:07:26 +00:00
udphandler.h \
2021-02-08 08:31:48 +00:00
logcategories.h \
2021-02-11 20:22:40 +00:00
audiohandler.h \
calibrationwindow.h \
2021-02-14 18:32:58 +00:00
satellitesetup.h \
udpserversetup.h \
udpserver.h \
packettypes.h \
meter.h \
2021-03-04 20:19:05 +00:00
qledlabel.h \
pttyhandler.h
2018-06-19 19:58:52 +00:00
FORMS += wfmain.ui \
calibrationwindow.ui \
2021-02-14 18:32:58 +00:00
satellitesetup.ui \
udpserversetup.ui