aboutsummaryrefslogtreecommitdiff
path: root/mkspecs
diff options
context:
space:
mode:
authorMiroslav Safr <miroslav.safr@tieto.com>2010-12-07 12:36:39 +0200
committerMiroslav Safr <miroslav.safr@tieto.com>2010-12-07 12:42:12 +0200
commitb744b69017711080ed7de39e616f89c8987cce74 (patch)
tree6cc7ff001a0760b9593ea83c31e4f06650c1b09e /mkspecs
parent691960760a9ee0a14c4a3cba7e9207ef307b7edf (diff)
Changes: Coverage reports: separated coverage part to meegotouch_coverage.prf so it can be used also in unit tests/binaries which does not link with libmeegotouch
RevBy:TrustMe Details: Some binaries does not link with libmeegotouch and we are loosing records from those calls, also can be very easy way reused by other applications and their unit tests Tested on TeamCity
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/meegotouch_common.prf10
-rw-r--r--mkspecs/features/meegotouch_coverage.prf10
2 files changed, 10 insertions, 10 deletions
diff --git a/mkspecs/features/meegotouch_common.prf b/mkspecs/features/meegotouch_common.prf
index e8403fdd..0ec21d78 100644
--- a/mkspecs/features/meegotouch_common.prf
+++ b/mkspecs/features/meegotouch_common.prf
@@ -27,13 +27,3 @@ contains(TEMPLATE, app) {
LIBS += -L$${M_LIB_DIR}
}
-
-contains( CONFIG, coverage ) {
- QMAKE_CXXFLAGS *= -ftest-coverage -fprofile-arcs
- LIBS *= -lgcov
-
- QMAKE_CLEAN *= \
- *.gcda \
- *.gcno \
- *.gcov
-}
diff --git a/mkspecs/features/meegotouch_coverage.prf b/mkspecs/features/meegotouch_coverage.prf
new file mode 100644
index 00000000..3eb836f7
--- /dev/null
+++ b/mkspecs/features/meegotouch_coverage.prf
@@ -0,0 +1,10 @@
+
+contains( CONFIG, coverage ) {
+ QMAKE_CXXFLAGS *= -ftest-coverage -fprofile-arcs
+ LIBS *= -lgcov
+
+ QMAKE_CLEAN *= \
+ *.gcda \
+ *.gcno \
+ *.gcov
+}