xref: /openbmc/openpower-hw-diags/meson.build (revision 248cbf83f0f603170acd256101d9c2ae260229da)
1*248cbf83SZane Shelleyproject('openpower-hw-diags', 'cpp',
2*248cbf83SZane Shelley        version: '0.1', meson_version: '>=0.49.0',
3*248cbf83SZane Shelley        default_options: [
4*248cbf83SZane Shelley          'warning_level=3',
5*248cbf83SZane Shelley          'werror=true',
6*248cbf83SZane Shelley          'cpp_std=c++17'
7*248cbf83SZane Shelley        ])
8*248cbf83SZane Shelley
9*248cbf83SZane Shelleysubdir('src')
10*248cbf83SZane Shelley
11*248cbf83SZane Shelleybuild_tests = get_option('tests')
12*248cbf83SZane Shelley
13*248cbf83SZane Shelleyif not build_tests.disabled()
14*248cbf83SZane Shelley  subdir('test')
15*248cbf83SZane Shelleyendif
16