„CMakeLists.txt“ ändern
This commit is contained in:
parent
f77b4d56e7
commit
71e2a7e0ef
@ -62,7 +62,7 @@ endif()
|
||||
find_program(CLANG_TIDY_EXE NAMES "clang-tidy-9")
|
||||
if (CLANG_TIDY_EXE)
|
||||
message(STATUS "clang-tidy found: ${CLANG_TIDY_EXE}")
|
||||
set(CLANG_TIDY_CHECKS "-*,modernize-*,-modernize-use-trailing-return-type,clang-analyzer-core.*")
|
||||
set(CLANG_TIDY_CHECKS "-*,modernize-*,-modernize-use-trailing-return-type,clang-analyzer-core.*,clang-analyzer-cplusplus.*")
|
||||
set(CMAKE_CXX_CLANG_TIDY
|
||||
${CLANG_TIDY_EXE};
|
||||
-checks=${CLANG_TIDY_CHECKS};
|
||||
|
Loading…
Reference in New Issue
Block a user