xref: /openbmc/kcsbridge/meson.build (revision 9a324232)
1project(
2  'kcsbridge',
3  'cpp',
4  version: '0.1',
5  meson_version: '>=1.1.1',
6  default_options: [
7    'warning_level=3',
8    'cpp_std=c++23',
9  ])
10
11subdir('src')
12
13systemd = dependency('systemd')
14if systemd.found()
15  conf_data = configuration_data()
16  conf_data.set('BIN', get_option('prefix') / get_option('libexecdir') / kcsbridged.name())
17  configure_file(
18    input: 'phosphor-ipmi-kcs@.service.in',
19    output: 'phosphor-ipmi-kcs@.service',
20    configuration: conf_data,
21    install: true,
22    install_dir: systemd.get_variable('systemdsystemunitdir'))
23endif
24