blob: 92e23a7ac354419df728cad6a74810bb039c266c [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',
7 'cpp_std=c++17',
8 'prefix=/usr',
9 'b_lundef=false',
10 'buildtype=debugoptimized',
11 ],
12 license: 'Apache-2.0',
13 version: '1.0',
14 meson_version: '>=0.49.0',
15)
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