加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
meson.build 1014 Bytes
一键复制 编辑 原始数据 按行查看 历史
Patrick Williams 提交于 2023-07-12 11:15 . build: upgrade to C++23
project(
'phosphor-dbus-monitor', 'cpp',
version : '1.0.0',
meson_version: '>=1.1.1',
default_options: [
'warning_level=3',
'werror=true',
'cpp_std=c++23',
'buildtype=debugoptimized',
]
)
conf_data = configuration_data()
conf_data.set_quoted('OBJ_EVENT', '/xyz/openbmc_project/events')
conf_data.set_quoted('BUSNAME_EVENT', 'xyz.openbmc_project.Events')
conf_data.set_quoted('EVENTS_PERSIST_PATH', '/var/lib/phosphor-dbus-monitor/events')
conf_data.set('CLASS_VERSION', 1)
conf_data.set('MAX_EVENTS', 20)
sdbusplus_dep = dependency('sdbusplus')
sdeventplus_dep = dependency('sdeventplus')
phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces')
phosphor_logging_dep = dependency('phosphor-logging')
phosphor_snmp_dep = dependency('phosphor-snmp')
prog_python = find_program('python3', required: true)
realpath_prog = find_program('realpath')
configure_file(output: 'config.h',
configuration: conf_data
)
subdir('src')
subdir('mslverify')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化