You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to the original ability for 'OBJECTS' to import and present
coverage information for shared libraries, it has now been updated to do
the same for detected static library targets.
Copy file name to clipboardExpand all lines: code-coverage.cmake
+21-18Lines changed: 21 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
#
2
-
# Copyright (C) 2018-2020 by George Cave - gcave@stablecoder.ca
2
+
# Copyright (C) 2018-2024 by George Cave - gcave@stablecoder.ca
3
3
#
4
4
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
5
5
# use this file except in compliance with the License. You may obtain a copy of
@@ -222,7 +222,7 @@ endif()
222
222
# EXTERNAL - For GCC's lcov, allows the profiling of 'external' files from the processing directory
223
223
# COVERAGE_TARGET_NAME - For executables ONLY, changes the outgoing target name so instead of `ccov-${TARGET_NAME}` it becomes `ccov-${COVERAGE_TARGET_NAME}`.
224
224
# EXCLUDE <PATTERNS> - Excludes files of the patterns provided from coverage. Note that GCC/lcov excludes by glob pattern, and clang/LLVM excludes via regex! **These do not copy to the 'all' targets.**
225
-
# OBJECTS <TARGETS> - For executables ONLY, if the provided targets are shared libraries, adds coverage information to the output
225
+
# OBJECTS <TARGETS> - For executables ONLY, if the provided targets are static or shared libraries, adds coverage information to the output
226
226
# PRE_ARGS <ARGUMENTS> - For executables ONLY, prefixes given arguments to the associated ccov-* executable call ($<PRE_ARGS> ccov-*)
227
227
# ARGS <ARGUMENTS> - For executables ONLY, appends the given arguments to the associated ccov-* executable call (ccov-* $<ARGS>)
0 commit comments