xref: /openbmc/openpower-hw-diags/meson.build (revision 92e39fd955875ede90744dc8956b7530920a6a23)
1248cbf83SZane Shelleyproject('openpower-hw-diags', 'cpp',
2248cbf83SZane Shelley        version: '0.1', meson_version: '>=0.49.0',
3248cbf83SZane Shelley        default_options: [
4248cbf83SZane Shelley          'warning_level=3',
5248cbf83SZane Shelley          'werror=true',
6*92e39fd9SBen Tyner          'cpp_std=c++17',
7*92e39fd9SBen Tyner          'cpp_args=-Wno-unused-parameter'
8248cbf83SZane Shelley        ])
9248cbf83SZane Shelley
10*92e39fd9SBen Tyner# libhei is available as a subproject
11*92e39fd9SBen Tynersubproject('libhei')
12*92e39fd9SBen Tyner
13248cbf83SZane Shelleysubdir('src')
14ef320154SBen Tynersubdir('attn')
15248cbf83SZane Shelley
16248cbf83SZane Shelleybuild_tests = get_option('tests')
17248cbf83SZane Shelley
18248cbf83SZane Shelleyif not build_tests.disabled()
19248cbf83SZane Shelley  subdir('test')
20248cbf83SZane Shelleyendif
21