mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-12-15 07:20:17 +00:00
clang-tidy: Configure via file
This commit is contained in:
committed by
Dennis Klein
parent
051f064c60
commit
4351b98d85
3
.clang-tidy
Normal file
3
.clang-tidy
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
Checks: '*,-google-*,-fuchsia-*,-cert-*'
|
||||||
|
HeaderFilterRegex: '.*/(boost|fairlogger)/.*'
|
||||||
@@ -176,7 +176,7 @@ macro(set_fairmq_defaults)
|
|||||||
set(analyser "clang-tidy")
|
set(analyser "clang-tidy")
|
||||||
find_program(${analyser}_FOUND "${analyser}")
|
find_program(${analyser}_FOUND "${analyser}")
|
||||||
if(${analyser}_FOUND)
|
if(${analyser}_FOUND)
|
||||||
set(CMAKE_CXX_CLANG_TIDY "${${analyser}_FOUND}" "-color")
|
set(CMAKE_CXX_CLANG_TIDY "${${analyser}_FOUND}")
|
||||||
endif()
|
endif()
|
||||||
list(APPEND PROJECT_STATIC_ANALYSERS "${analyser}")
|
list(APPEND PROJECT_STATIC_ANALYSERS "${analyser}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user