Skip to content

Commit 0159460

Browse files
committed
[MISC] automatic linting
1 parent 302c74f commit 0159460

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

cmake/test/coverage.cmake

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,21 @@
55
# Add a custom build type: Coverage
66
set (CMAKE_CXX_FLAGS_COVERAGE
77
"${CMAKE_CXX_FLAGS_DEBUG} --coverage -fprofile-arcs -ftest-coverage -fprofile-abs-path"
8-
CACHE STRING "Flags used by the C++ compiler during coverage builds." FORCE)
8+
CACHE STRING "Flags used by the C++ compiler during coverage builds." FORCE
9+
)
910
set (CMAKE_C_FLAGS_COVERAGE
1011
"${CMAKE_C_FLAGS_DEBUG} --coverage -fprofile-arcs -ftest-coverage -fprofile-abs-path"
11-
CACHE STRING "Flags used by the C compiler during coverage builds." FORCE)
12+
CACHE STRING "Flags used by the C compiler during coverage builds." FORCE
13+
)
1214
set (CMAKE_EXE_LINKER_FLAGS_COVERAGE
1315
"${CMAKE_EXE_LINKER_FLAGS_DEBUG} -Wl,-lgcov"
14-
CACHE STRING "Flags used for linking binaries during coverage builds." FORCE)
16+
CACHE STRING "Flags used for linking binaries during coverage builds." FORCE
17+
)
1518
set (CMAKE_SHARED_LINKER_FLAGS_COVERAGE
1619
"${CMAKE_SHARED_LINKER_FLAGS_DEBUG} -Wl,-lgcov"
17-
CACHE STRING "Flags used by the shared libraries linker during coverage builds." FORCE)
20+
CACHE STRING "Flags used by the shared libraries linker during coverage builds." FORCE
21+
)
1822

1923
mark_as_advanced (CMAKE_CXX_FLAGS_COVERAGE CMAKE_C_FLAGS_COVERAGE CMAKE_EXE_LINKER_FLAGS_COVERAGE
20-
CMAKE_SHARED_LINKER_FLAGS_COVERAGE)
24+
CMAKE_SHARED_LINKER_FLAGS_COVERAGE
25+
)

0 commit comments

Comments
 (0)