diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/CMakeLists.txt b/source/blender/makesrna/intern/CMakeLists.txt index 980e3eadd34..9c2ee00a900 100644 --- a/source/blender/makesrna/intern/CMakeLists.txt +++ b/source/blender/makesrna/intern/CMakeLists.txt @@ -151,6 +151,16 @@ endif() unset(GENSRC_CFLAGS) +# NOTE: Disable clang-tidy because generated files are stored outside of the source, +# so the clang-tidy can not find our .clang-tidy and fall-backs to own set of rules +# which are too noisy for Blender. +# +# In the future clang-tidy would either need to be inlined checks and passed via the +# command line (instead of using .clang-tidy file). Or, maybe, there is a way to +# pass configuration file to the clang-tidy command. +unset(CMAKE_C_CLANG_TIDY) +unset(CMAKE_CXX_CLANG_TIDY) + set(SRC_RNA_INC ../RNA_access.h ../RNA_define.h |