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
Copy file name to clipboardExpand all lines: code-coverage.cmake
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -208,6 +208,7 @@ endif()
208
208
# Optional:
209
209
# PUBLIC - Sets the visibility for added compile options to targets to PUBLIC instead of the default of PRIVATE.
210
210
# INTERFACE - Sets the visibility for added compile options to targets to INTERFACE instead of the default of PRIVATE.
211
+
# PLAIN - Do not set any target visibility (backward compatibility with old cmake projects)
211
212
# AUTO - Adds the target to the 'ccov' target so that it can be run in a batch with others easily. Effective on executable targets.
212
213
# ALL - Adds the target to the 'ccov-all' and 'ccov-all-report' targets, which merge several executable targets coverage data to a single report. Effective on executable targets.
213
214
# EXTERNAL - For GCC's lcov, allows the profiling of 'external' files from the processing directory
@@ -218,7 +219,7 @@ endif()
218
219
# ~~~
219
220
function(target_code_coverage TARGET_NAME)
220
221
# Argument parsing
221
-
set(options AUTO ALL EXTERNAL PUBLICINTERFACE)
222
+
set(options AUTO ALL EXTERNAL PUBLICINTERFACE PLAIN)
0 commit comments