blob: f5d371c9835217365083aceac040925d4845f3f7 [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 Williams7a79bcc2023-05-10 17:19:13 -05007 'cpp_std=c++20',
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 Williams7a79bcc2023-05-10 17:19:13 -050014 meson_version: '>=0.57.0',
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