Add clang-tidy
This commit is contained in:
parent
fa33186a37
commit
b5ed32e7d5
|
@ -0,0 +1,9 @@
|
|||
Checks: "bugprone-*,\
|
||||
cert-*,\
|
||||
clang-analyzer-*,\
|
||||
cppcoreguidelines-*,\
|
||||
llvm-*,\
|
||||
misc-*,\
|
||||
modernize-*,\
|
||||
performance-*,\
|
||||
readability-*"
|
|
@ -9,6 +9,9 @@ if (NOT CMAKE_BUILD_TYPE)
|
|||
set(CMAKE_BUILD_TYPE "Release")
|
||||
endif()
|
||||
|
||||
# For clang-tidy
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
set(SOURCE_LIST
|
||||
"src/speciesgen.cpp"
|
||||
"src/error.cpp"
|
||||
|
|
Loading…
Reference in New Issue