blob: d5588d50c46b6781b0daa97cde44de2d95a11b4d [file] [log] [blame]
Lei YU6505e9d2020-09-21 17:34:32 +08001project(
George Liua3a9d2a2024-04-03 09:30:45 +08002 'iei-ipmi-oem',
Lei YU6505e9d2020-09-21 17:34:32 +08003 'cpp',
4 default_options: [
5 'warning_level=3',
6 'werror=true',
George Liua2101b82024-04-03 08:56:33 +08007 'cpp_std=c++23',
Lei YU6505e9d2020-09-21 17:34:32 +08008 'prefix=/usr',
9 'b_lundef=false',
10 'buildtype=debugoptimized',
11 ],
12 license: 'Apache-2.0',
13 version: '1.0',
George Liua2101b82024-04-03 08:56:33 +080014 meson_version: '>=1.1.1',
Lei YU6505e9d2020-09-21 17:34:32 +080015)
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