xref: /openbmc/libbej/meson.build (revision 2bc745a3)
1project(
2  'libbej',
3  'c',
4  'cpp',
5  version: '0.1',
6  meson_version: '>=1.1.1',
7  default_options: [
8    'c_std=c18',
9    'cpp_std=c++23',
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