xref: /openbmc/libbej/meson.build (revision 0aa36d82)
1project(
2  'libbej',
3  'c',
4  'cpp',
5  version: '0.1',
6  meson_version: '>=0.57.0',
7  default_options: [
8    'c_std=c18',
9    'cpp_std=c++20',
10    'werror=true',
11    'warning_level=3',
12    'tests=' + (meson.is_subproject() ? 'disabled' : 'auto'),
13  ])
14
15libbej_incs = include_directories('include', 'include/libbej')
16subdir('src')
17subdir('include/libbej')
18if not get_option('tests').disabled()
19  subdir('test')
20endif
21
22