Skip to content

Commit

Permalink
Enable clang-format support for this project
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipjohnston committed Oct 12, 2021
1 parent 6ecbf27 commit 5b07c59
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit 5b07c59

Please sign in to comment.