meson.build (92e39fd955875ede90744dc8956b7530920a6a23) meson.build (0205f3b3ed6f7a7761ebfe13f472b5a6ff6ba7c0)
1project('openpower-hw-diags', '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 'cpp_args=-Wno-unused-parameter'
8 ])
9
10# libhei is available as a subproject
11subproject('libhei')
12
1project('openpower-hw-diags', '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 'cpp_args=-Wno-unused-parameter'
8 ])
9
10# libhei is available as a subproject
11subproject('libhei')
12
13subdir('src')
13incdir = include_directories('.')
14
15subdir('analyzer')
14subdir('attn')
15
16subdir('attn')
17
18executable('openpower-hw-diags', 'main.cpp',
19 link_with : [analyzer, attn],
20 install : true)
21
16build_tests = get_option('tests')
17
18if not build_tests.disabled()
19 subdir('test')
20endif
22build_tests = get_option('tests')
23
24if not build_tests.disabled()
25 subdir('test')
26endif