blob: ba2394d2942086239198096d9e99b6ac757e1991 [file] [log] [blame]
William A. Kennington IIIfc1722f2021-04-15 11:58:13 -07001project(
2 'sdeventplus',
3 'cpp',
4 version: '0.1',
5 meson_version: '>=0.53.2',
6 default_options: [
7 'warning_level=3',
8 'werror=true',
9 'cpp_std=c++17',
10 'tests=' + (meson.is_subproject() ? 'disabled' : 'auto'),
11 'examples=' + (meson.is_subproject() ? 'false' : 'true'),
12 ])
William A. Kennington IIId4b33e92018-12-04 17:22:05 -080013
William A. Kennington IIId4b33e92018-12-04 17:22:05 -080014subdir('src')
15
16build_tests = get_option('tests')
17build_examples = get_option('examples')
18
19if build_examples
20 subdir('example')
21endif
22if not build_tests.disabled()
23 subdir('test')
24endif