summaryrefslogtreecommitdiffstats
path: root/config_help.txt
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-09-13 16:31:52 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2023-09-22 15:54:30 +0200
commit42d29441914da263a160d631f56c6d95f85eac70 (patch)
treededdaac9aa09de8189b9ea8a3c2e91d358cb5760 /config_help.txt
parentf2ec221bd62b8722915db9fc7dc3eb78991f6e6d (diff)
Add coverage and coverage-gcov features
Features enable code coverage collecting using the gcov tool. The resulting reports can then be post-processed by lcov or similar tools. [ChangeLog][CMake][Coverage] Added the coverage configuration argument. The only supported coverage tool at the moment is gcov. The argument requires Qt is built in Debug otherwise setting the argument leads to the configuration error. Typical usage: <...>/configure -developer-build -coverage gcov Task-number: QTBUG-86223 Change-Id: I39b2061f544997a7c4fe6f4d135c0ab447f15a17 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'config_help.txt')
-rw-r--r--config_help.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/config_help.txt b/config_help.txt
index 7681b5f79f..c360c8fdd1 100644
--- a/config_help.txt
+++ b/config_help.txt
@@ -103,6 +103,7 @@ Build options:
-qtnamespace <name> .. Wrap all Qt library code in 'namespace <name> {...}'.
-qtlibinfix <infix> .. Rename all libQt6*.so to libQt6*<infix>.so.
+ -coverage <tool> ..... Instrument with the code coverage tool.
-gcov ................ Instrument with the GCov code coverage tool [no]
-trace [backend] ..... Enable instrumentation with tracepoints.