diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-12-07 12:22:15 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-12-07 12:22:15 +0200 |
commit | 92b3c2dcff3e85ad3d455f6ab845d9a97d3b525b (patch) | |
tree | a850643f7b86e6cebfddbeec98d7c372478d379c /cmake/lcov.cmake | |
parent | Hostlist filter plugin can rewrite hostnames (diff) | |
download | smolbote-92b3c2dcff3e85ad3d455f6ab845d9a97d3b525b.tar.xz |
Rewrite meson build scripts into cmakelists
Diffstat (limited to 'cmake/lcov.cmake')
-rw-r--r-- | cmake/lcov.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/lcov.cmake b/cmake/lcov.cmake new file mode 100644 index 0000000..d6f990d --- /dev/null +++ b/cmake/lcov.cmake @@ -0,0 +1,4 @@ +function(target_lcov target_name) + target_compile_options(${target_name} INTERFACE --coverage -O0 -g) + target_link_libraries(${target_name} INTERFACE --coverage) +endfunction() |