代码拉取完成,页面将自动刷新
project(
'openpower-debug-collector',
'cpp',
meson_version: '>=1.1.1',
default_options: [
'warning_level=3',
'werror=true',
'cpp_std=c++23'
],
license: 'Apache-2.0',
version: '1.0.0',
)
cxx = meson.get_compiler('cpp')
sdbusplus_dep = dependency('sdbusplus')
if cxx.has_header('CLI/CLI.hpp')
CLI11_dep = declare_dependency()
else
CLI11_dep = dependency('CLI11')
endif
phosphorlogging = dependency(
'phosphor-logging',
fallback: [
'phosphor-logging',
'phosphor_logging_dep'
]
)
realpath_prog = find_program('realpath')
conf_data = configuration_data()
if get_option('hostboot-dump-collection').allowed()
conf_data.set('WATCHDOG_DUMP_COLLECTION', true)
extra_deps = [
cxx.find_library('pdbg'),
cxx.find_library('libdt-api'),
cxx.find_library('phal')
]
subdir('watchdog')
else
conf_data.set('WATCHDOG_DUMP_COLLECTION', false)
watchdog_lib = []
extra_deps = []
endif
configure_file(output: 'config.h', configuration: conf_data)
if get_option('dump-collection').enabled()
subdir('dump')
endif
deps = [
CLI11_dep,
sdbusplus_dep,
phosphorlogging,
extra_deps
]
executable('watchdog_timeout',
'watchdog_timeout.cpp',
dependencies: deps,
link_with: watchdog_lib,
implicit_include_directories: true,
install: true
)
executable('checkstop_app',
'checkstop_app.cpp',
dependencies: deps,
implicit_include_directories: true,
install: true
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。