Lei YU | 6505e9d | 2020-09-21 17:34:32 +0800 | [diff] [blame] | 1 | project( |
George Liu | a3a9d2a | 2024-04-03 09:30:45 +0800 | [diff] [blame] | 2 | 'iei-ipmi-oem', |
Lei YU | 6505e9d | 2020-09-21 17:34:32 +0800 | [diff] [blame] | 3 | 'cpp', |
| 4 | default_options: [ |
| 5 | 'warning_level=3', |
| 6 | 'werror=true', |
George Liu | a2101b8 | 2024-04-03 08:56:33 +0800 | [diff] [blame] | 7 | 'cpp_std=c++23', |
Lei YU | 6505e9d | 2020-09-21 17:34:32 +0800 | [diff] [blame] | 8 | 'prefix=/usr', |
| 9 | 'b_lundef=false', |
| 10 | 'buildtype=debugoptimized', |
| 11 | ], |
| 12 | license: 'Apache-2.0', |
| 13 | version: '1.0', |
George Liu | a2101b8 | 2024-04-03 08:56:33 +0800 | [diff] [blame] | 14 | meson_version: '>=1.1.1', |
Lei YU | 6505e9d | 2020-09-21 17:34:32 +0800 | [diff] [blame] | 15 | ) |
| 16 | |
George Liu | b4396f2 | 2024-06-04 19:57:19 +0800 | [diff] [blame] | 17 | phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces') |
| 18 | phosphor_logging_dep = dependency('phosphor-logging') |
| 19 | ipmid_dep = dependency('libipmid') |
| 20 | sdbusplus_dep = dependency('sdbusplus') |
Lei YU | 6505e9d | 2020-09-21 17:34:32 +0800 | [diff] [blame] | 21 | |
Lei YU | 3c341df | 2020-09-27 13:24:53 +0800 | [diff] [blame] | 22 | # Common configurations for src and test |
| 23 | cdata = configuration_data() |
| 24 | cdata.set_quoted('VERSION_IFACE', 'xyz.openbmc_project.Software.Version') |
| 25 | cdata.set_quoted('VERSION', 'Version') |
| 26 | cdata.set_quoted('BIOS_OBJPATH', get_option('BIOS_OBJPATH')) |
| 27 | |
Lei YU | 6505e9d | 2020-09-21 17:34:32 +0800 | [diff] [blame] | 28 | subdir('src') |