1project( 2 'phosphor-dbus-monitor', 'cpp', 3 version : '1.0.0', 4 meson_version: '>=1.1.1', 5 default_options: [ 6 'warning_level=3', 7 'werror=true', 8 'cpp_std=c++23', 9 'buildtype=debugoptimized', 10 ] 11) 12 13conf_data = configuration_data() 14conf_data.set_quoted('OBJ_EVENT', '/xyz/openbmc_project/events') 15conf_data.set_quoted('BUSNAME_EVENT', 'xyz.openbmc_project.Events') 16conf_data.set_quoted('EVENTS_PERSIST_PATH', '/var/lib/phosphor-dbus-monitor/events') 17 18conf_data.set('CLASS_VERSION', 1) 19conf_data.set('MAX_EVENTS', 20) 20 21sdbusplus_dep = dependency('sdbusplus') 22sdeventplus_dep = dependency('sdeventplus') 23phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces') 24phosphor_logging_dep = dependency('phosphor-logging') 25phosphor_snmp_dep = dependency('phosphor-snmp') 26 27prog_python = find_program('python3', required: true) 28realpath_prog = find_program('realpath') 29 30configure_file(output: 'config.h', 31 configuration: conf_data 32) 33 34subdir('src') 35subdir('mslverify') 36