mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2024-11-24 19:50:41 +08:00
a8ad3619b9
Built with Qt 5.4.2/GCC 4.8.4, code coverage with LCOV 1.13 and reported to Codecov.
19 lines
374 B
Plaintext
19 lines
374 B
Plaintext
TEMPLATE = app
|
|
CONFIG += testcase
|
|
QT += testlib
|
|
QT -= gui
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
coverage: {
|
|
gcc: {
|
|
message("Code coverage enabled (gcov)")
|
|
QMAKE_CXXFLAGS += --coverage -O0 -g
|
|
QMAKE_LFLAGS += --coverage -O0 -g
|
|
} else {
|
|
message("Code coverage only available when compiling with GCC")
|
|
}
|
|
}
|
|
|
|
include(../../qtpromise.pri)
|