mirror of
https://github.com/BlackMATov/flat.hpp.git
synced 2025-12-13 17:48:14 +07:00
new ci scripts and presets
This commit is contained in:
9
cmake/EnableGCov.cmake
Normal file
9
cmake/EnableGCov.cmake
Normal file
@@ -0,0 +1,9 @@
|
||||
# https://clang.llvm.org/docs/SourceBasedCodeCoverage.html
|
||||
|
||||
add_library(enable_gcov INTERFACE)
|
||||
|
||||
target_compile_options(enable_gcov INTERFACE
|
||||
--coverage)
|
||||
|
||||
target_link_options(enable_gcov INTERFACE
|
||||
--coverage)
|
||||
Reference in New Issue
Block a user