From 5b07c5977448190ca538c5c93d4532d369bb5045 Mon Sep 17 00:00:00 2001 From: Phillip Johnston Date: Tue, 12 Oct 2021 12:21:46 -0700 Subject: [PATCH] Enable clang-format support for this project --- meson.build | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/meson.build b/meson.build index 93abbf7..caca55e 100644 --- a/meson.build +++ b/meson.build @@ -53,3 +53,25 @@ cmocka_test_deps = [] subdir('examples') subdir('interview') subdir('test') + +################### +# Tooling Modules # +################### + +clangformat_targets = [ + meson.source_root() / 'examples', + meson.source_root() / 'interview', + meson.source_root() / 'test', +] + +clangformat_excludes = [ + meson.source_root() / 'examples/cpp/etl', + meson.source_root() / 'examples/rtos', + meson.source_root() / 'examples/libcpp', +] + +subdir('build/analysis/clang-tidy') +subdir('build/analysis/complexity') +subdir('build/analysis/cppcheck') +subdir('build/analysis/sloccount') +subdir('build/format')