blob: bb7c166aa3ad5c8ed64a02adc737894944a4b3cc [file] [log] [blame]
kasunath7ffd30a2022-05-10 18:11:34 -07001project(
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',
Willy Tu5433c172022-06-08 22:34:16 -070012 'tests=' + (meson.is_subproject() ? 'disabled' : 'auto'),
kasunath7ffd30a2022-05-10 18:11:34 -070013 ])
14
15libbej_incs = include_directories('include')
16subdir('src')
Willy Tucc4098e2022-06-23 11:39:38 -070017subdir('include')
kasunath7ffd30a2022-05-10 18:11:34 -070018if not get_option('tests').disabled()
19 subdir('test')
20endif
Willy Tucc4098e2022-06-23 11:39:38 -070021