blob: aa372008793e94bf91676025e92e65800265c26b [file] [log] [blame]
kasunath7ffd30a2022-05-10 18:11:34 -07001project(
Patrick Williamsc3ab4172025-02-01 08:38:42 -05002 '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)
kasunath7ffd30a2022-05-10 18:11:34 -070015
kasunathec85e112022-11-28 17:32:30 -080016libbej_incs = include_directories('include', 'include/libbej')
kasunath7ffd30a2022-05-10 18:11:34 -070017subdir('src')
kasunath80ad94f2022-10-31 14:42:26 -070018subdir('include/libbej')
Patrick Williamsa4bb3d72025-01-30 17:48:26 -050019if get_option('tests').allowed()
Patrick Williamsc3ab4172025-02-01 08:38:42 -050020 subdir('test')
kasunath7ffd30a2022-05-10 18:11:34 -070021endif
Willy Tucc4098e2022-06-23 11:39:38 -070022