xref: /openbmc/libbej/meson.build (revision c3ab4171e08f02cdd0218752258b00b6f40d40ea)
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)
15
16libbej_incs = include_directories('include', 'include/libbej')
17subdir('src')
18subdir('include/libbej')
19if get_option('tests').allowed()
20    subdir('test')
21endif
22
23