1project( 2 'gbmc-ncsid', 3 ['cpp', 'c'], 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 'c_std=c11', 11 'tests=' + (meson.is_subproject() ? 'disabled' : 'auto'), 12 ]) 13 14subdir('src') 15 16build_tests = get_option('tests') 17 18if not build_tests.disabled() 19 subdir('test') 20endif 21