William A. Kennington III | 1565897 | 2019-03-27 19:44:36 -0700 | [diff] [blame^] | 1 | project('gpioplus', '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 | |||||
9 | includes = include_directories('src') | ||||
10 | |||||
11 | subdir('src') | ||||
12 | |||||
13 | build_tests = get_option('tests') | ||||
14 | build_examples = get_option('examples') | ||||
15 | |||||
16 | if build_examples | ||||
17 | subdir('example') | ||||
18 | endif | ||||
19 | if not build_tests.disabled() | ||||
20 | subdir('test') | ||||
21 | endif |