blob: e287c7b1638890476586f18ae4da7d3c6770941c [file] [log] [blame]
Xiuzhi Cheng4f3eb902022-06-08 09:06:33 +08001project(
2 'kunlun-ipmi-oem',
3 'cpp',
4 default_options: [
5 'warning_level=3',
6 'werror=true',
Patrick Williamsb045a672023-07-12 11:16:04 -05007 'cpp_std=c++23',
Xiuzhi Cheng4f3eb902022-06-08 09:06:33 +08008 'prefix=/usr',
9 'b_lundef=false',
10 'buildtype=debugoptimized',
11 ],
12 license: 'Apache-2.0',
13 version: '1.0',
Patrick Williamsb045a672023-07-12 11:16:04 -050014 meson_version: '>=1.1.1',
Xiuzhi Cheng4f3eb902022-06-08 09:06:33 +080015)
16
17phosphor_logging = dependency('phosphor-logging')
18libipmid = dependency('libipmid')
19
20# Common configurations for src and test
21cdata = configuration_data()
22cdata.set_quoted('IPMI_BIOSDATA_DIR', get_option('IPMI_BIOSDATA_DIR'))
23
24subdir('src')
25
26build_tests = get_option('tests')
27if not build_tests.disabled()
28 subdir('test')
29endif