aboutsummaryrefslogtreecommitdiff
path: root/clang-tidy/meson.build
blob: 48770e39fc8acceeb240897ad63c76c7c0539c2e (plain)
1
2
3
4
5
6
7
8
project('nix-clang-tidy', ['cpp', 'c'],
  version : '0.1',
  default_options : ['warning_level=3', 'cpp_std=c++20'])

llvm = dependency('Clang', version: '>= 14', modules: ['libclang'])
sources = ['HasPrefixSuffix.cc', 'NixClangTidyChecks.cc']
shared_module('nix-clang-tidy', sources,
  dependencies: llvm)