William A. Kennington III | d4b33e9 | 2018-12-04 17:22:05 -0800 | [diff] [blame] | 1 | project('sdeventplus', 'cpp', |
2 | version: '0.1', meson_version: '>=0.49.0', | ||||
3 | default_options: [ | ||||
4 | 'warning_level=3', | ||||
5 | 'werror=true', | ||||
6 | 'cpp_std=c++17' | ||||
7 | ]) | ||||
8 | |||||
William A. Kennington III | d4b33e9 | 2018-12-04 17:22:05 -0800 | [diff] [blame] | 9 | subdir('src') |
10 | |||||
11 | build_tests = get_option('tests') | ||||
12 | build_examples = get_option('examples') | ||||
13 | |||||
14 | if build_examples | ||||
15 | subdir('example') | ||||
16 | endif | ||||
17 | if not build_tests.disabled() | ||||
18 | subdir('test') | ||||
19 | endif |