Skip to content

Commit bc99f5b

Browse files
committed
Format tools file
1 parent 7765742 commit bc99f5b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tools.cmake

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,29 @@ option(CPPCHECK "Turns on cppcheck processing if it is found." OFF)
2121
# as the options set.
2222
macro(clang_tidy)
2323
if(CLANG_TIDY AND CLANG_TIDY_EXE)
24-
set(CMAKE_CXX_CLANG_TIDY ${CLANG_TIDY_EXE} ${ARGN} CACHE STRING "" FORCE)
24+
set(CMAKE_CXX_CLANG_TIDY
25+
${CLANG_TIDY_EXE} ${ARGN}
26+
CACHE STRING "" FORCE)
2527
endif()
2628
endmacro()
2729

2830
# Adds include_what_you_use to the compilation, with the given arguments being
2931
# used as the options set.
3032
macro(include_what_you_use)
3133
if(IWYU AND IWYU_EXE)
32-
set(CMAKE_CXX_INCLUDE_WHAT_YOU_USE ${IWYU_EXE} ${ARGN} CACHE STRING "" FORCE)
34+
set(CMAKE_CXX_INCLUDE_WHAT_YOU_USE
35+
${IWYU_EXE} ${ARGN}
36+
CACHE STRING "" FORCE)
3337
endif()
3438
endmacro()
3539

3640
# Adds cppcheck to the compilation, with the given arguments being used as the
3741
# options set.
3842
macro(cppcheck)
3943
if(CPPCHECK AND CPPCHECK_EXE)
40-
set(CMAKE_CXX_CPPCHECK ${CPPCHECK_EXE} ${ARGN} CACHE STRING "" FORCE)
44+
set(CMAKE_CXX_CPPCHECK
45+
${CPPCHECK_EXE} ${ARGN}
46+
CACHE STRING "" FORCE)
4147
endif()
4248
endmacro()
4349

0 commit comments

Comments
 (0)