We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f42869 commit 3d2d5a9Copy full SHA for 3d2d5a9
example/code-coverage-public/CMakeLists.txt
@@ -0,0 +1,11 @@
1
+cmake_minimum_required(VERSION 3.13)
2
+project(test C)
3
+
4
+include(../../code-coverage.cmake)
5
6
+add_library(head INTERFACE)
7
+target_code_coverage(head INTERFACE)
8
9
+add_executable(test code.c)
10
+target_link_libraries(test PRIVATE head)
11
+# target_code_coverage(test)
example/code-coverage-public/code.c
@@ -0,0 +1,3 @@
+#include "header.h"
+int main() { return func(); }
example/code-coverage-public/header.h
@@ -0,0 +1 @@
+int func() { return 0; }
0 commit comments