added possibility to generate coverage reports
This commit is contained in:
parent
7c6577bd79
commit
265d734ab8
6
guh.pri
Normal file
6
guh.pri
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
coverage {
|
||||||
|
message("Building coverage.")
|
||||||
|
QMAKE_CXXFLAGS += -fprofile-arcs -ftest-coverage -O0
|
||||||
|
LIBS += -lgcov
|
||||||
|
QMAKE_LFLAGS += -fprofile-arcs
|
||||||
|
}
|
||||||
@ -1,3 +1,5 @@
|
|||||||
|
include(../guh.pri)
|
||||||
|
|
||||||
TARGET = guh
|
TARGET = guh
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
include(../guh.pri)
|
||||||
|
|
||||||
TARGET = guh
|
TARGET = guh
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user