blob: b23d6560423fb2d778d1d01b891d6d65d3d5a89d [file] [log] [blame]
project(
'kcsbridge',
'cpp',
version: '0.1',
meson_version: '>=0.58.0',
default_options: [
'warning_level=3',
'cpp_std=c++20',
])
subdir('src')
systemd = dependency('systemd')
if systemd.found()
conf_data = configuration_data()
conf_data.set('BIN', get_option('prefix') / get_option('libexecdir') / kcsbridged.name())
configure_file(
input: 'phosphor-ipmi-kcs@.service.in',
output: 'phosphor-ipmi-kcs@.service',
configuration: conf_data,
install: true,
install_dir: systemd.get_variable('systemdsystemunitdir'))
endif