blob: e58eb10c4cdce9b6bd392711a6525d9da5abec72 [file] [log] [blame]
Lei YU6505e9d2020-09-21 17:34:32 +08001project(
2 'inspur-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_dbus_interfaces = dependency('phosphor-dbus-interfaces')
18phosphor_logging = dependency('phosphor-logging')
19libipmid = dependency('libipmid')
Lei YUebd3d092020-09-27 18:11:48 +080020sdbusplus = dependency('sdbusplus')
Lei YU6505e9d2020-09-21 17:34:32 +080021
Lei YU3c341df2020-09-27 13:24:53 +080022# Common configurations for src and test
23cdata = configuration_data()
24cdata.set_quoted('VERSION_IFACE', 'xyz.openbmc_project.Software.Version')
25cdata.set_quoted('VERSION', 'Version')
26cdata.set_quoted('BIOS_OBJPATH', get_option('BIOS_OBJPATH'))
27
Lei YU6505e9d2020-09-21 17:34:32 +080028subdir('src')
Lei YUebd3d092020-09-27 18:11:48 +080029
30build_tests = get_option('tests')
31if not build_tests.disabled()
32 subdir('test')
33endif