mirror of https://github.com/nymea/nymea.git
12 lines
335 B
Plaintext
12 lines
335 B
Plaintext
# Parse and export GUH_VERSION_STRING
|
|
GUH_VERSION_STRING=$$system('dpkg-parsechangelog | sed -n -e "s/^Version: //p"')
|
|
DEFINES += GUH_VERSION_STRING=\\\"$${GUH_VERSION_STRING}\\\"
|
|
|
|
# Enable coverage option
|
|
coverage {
|
|
QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage -O0
|
|
LIBS += -lgcov
|
|
QMAKE_LFLAGS += -fprofile-arcs
|
|
}
|
|
|