diff options
author | Miroslav Safr <miroslav.safr@tieto.com> | 2010-10-19 12:53:09 +0300 |
---|---|---|
committer | Miroslav Safr <miroslav.safr@tieto.com> | 2010-10-22 11:32:31 +0300 |
commit | 507ccca19d145aa4816e4622e0ce5f5d1a0b9e5d (patch) | |
tree | 128dd9ce9a7b657ab66d52934cc58b8cba3bc27a /mkspecs/features | |
parent | ede454bfbc50d11a378b2f9805a178cfe91df354 (diff) |
Changes: Coverage reports: coverage feature moved to CONFIG (.prf)
RevBy:
Details: Coverage feature can be now reused by other applications which are building with libmeegotouch.
It is just enough to have "coverage" option in CONFIG
Diffstat (limited to 'mkspecs/features')
-rw-r--r-- | mkspecs/features/meegotouch_common.prf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mkspecs/features/meegotouch_common.prf b/mkspecs/features/meegotouch_common.prf index 04e8e405..29e18737 100644 --- a/mkspecs/features/meegotouch_common.prf +++ b/mkspecs/features/meegotouch_common.prf @@ -34,3 +34,13 @@ contains(TEMPLATE, app) { } LIBS += -L$${M_LIB_DIR} } + +contains( CONFIG, coverage ) { + QMAKE_CXXFLAGS += -ftest-coverage -fprofile-arcs + LIBS += -lgcov + + QMAKE_CLEAN += \ + *.gcda \ + *.gcno \ + *.gcov +} |