qtpromise/tests/auto/tests.pri
Simon Brunel a8ad3619b9 Setup Travis CI builds and code coverage
Built with Qt 5.4.2/GCC 4.8.4, code coverage with LCOV 1.13 and reported to Codecov.
2017-05-26 14:39:11 +02:00

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)