blob: 9efa9f8a9714d9032b2a93890ab7753091603606 [file] [log] [blame]
project(
'gpioplus',
'cpp',
version: '0.1', meson_version: '>=0.57.0',
default_options: [
'warning_level=3',
'cpp_std=c++20',
'tests=' + (meson.is_subproject() ? 'disabled' : 'auto'),
'examples=' + (meson.is_subproject() ? 'false' : 'true'),
])
subdir('src')
build_tests = get_option('tests')
build_examples = get_option('examples')
if build_examples
subdir('example')
endif
if not build_tests.disabled()
subdir('test')
endif