blob: bd19af99100c5f19971544b69032a54f3dc98569 [file] [log] [blame]
kasunath7ffd30a2022-05-10 18:11:34 -07001project(
2 'libbej',
3 'c',
4 'cpp',
5 version: '0.1',
Patrick Williams0686fd92023-07-12 11:16:13 -05006 meson_version: '>=1.1.1',
kasunath7ffd30a2022-05-10 18:11:34 -07007 default_options: [
8 'c_std=c18',
Patrick Williams0686fd92023-07-12 11:16:13 -05009 'cpp_std=c++23',
kasunath7ffd30a2022-05-10 18:11:34 -070010 '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
kasunathec85e112022-11-28 17:32:30 -080015libbej_incs = include_directories('include', 'include/libbej')
kasunath7ffd30a2022-05-10 18:11:34 -070016subdir('src')
kasunath80ad94f2022-10-31 14:42:26 -070017subdir('include/libbej')
kasunath7ffd30a2022-05-10 18:11:34 -070018if not get_option('tests').disabled()
19 subdir('test')
20endif
Willy Tucc4098e2022-06-23 11:39:38 -070021