From 0159460bc967cf0797c25e7d7e0624bcaae5fbe7 Mon Sep 17 00:00:00 2001 From: "seqan-actions[bot]" Date: Fri, 27 Sep 2024 12:42:33 +0200 Subject: [PATCH] [MISC] automatic linting --- cmake/test/coverage.cmake | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/cmake/test/coverage.cmake b/cmake/test/coverage.cmake index 442fd5c..9651cd4 100644 --- a/cmake/test/coverage.cmake +++ b/cmake/test/coverage.cmake @@ -5,16 +5,21 @@ # Add a custom build type: Coverage set (CMAKE_CXX_FLAGS_COVERAGE "${CMAKE_CXX_FLAGS_DEBUG} --coverage -fprofile-arcs -ftest-coverage -fprofile-abs-path" - CACHE STRING "Flags used by the C++ compiler during coverage builds." FORCE) + CACHE STRING "Flags used by the C++ compiler during coverage builds." FORCE +) set (CMAKE_C_FLAGS_COVERAGE "${CMAKE_C_FLAGS_DEBUG} --coverage -fprofile-arcs -ftest-coverage -fprofile-abs-path" - CACHE STRING "Flags used by the C compiler during coverage builds." FORCE) + CACHE STRING "Flags used by the C compiler during coverage builds." FORCE +) set (CMAKE_EXE_LINKER_FLAGS_COVERAGE "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Wl,-lgcov" - CACHE STRING "Flags used for linking binaries during coverage builds." FORCE) + CACHE STRING "Flags used for linking binaries during coverage builds." FORCE +) set (CMAKE_SHARED_LINKER_FLAGS_COVERAGE "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} -Wl,-lgcov" - CACHE STRING "Flags used by the shared libraries linker during coverage builds." FORCE) + CACHE STRING "Flags used by the shared libraries linker during coverage builds." FORCE +) mark_as_advanced (CMAKE_CXX_FLAGS_COVERAGE CMAKE_C_FLAGS_COVERAGE CMAKE_EXE_LINKER_FLAGS_COVERAGE - CMAKE_SHARED_LINKER_FLAGS_COVERAGE) + CMAKE_SHARED_LINKER_FLAGS_COVERAGE +)