1project( 2 'phosphor-ipmi-bt', 3 'c', 4 version: '1.0', 5 meson_version: '>=1.1.1', 6 default_options: [ 7 'b_lto_mode=default', 8 'b_lto_threads=0', 9 'b_lto=true', 10 'b_ndebug=if-release', 11 'warning_level=3', 12 'werror=true', 13 ], 14) 15 16systemd = dependency('systemd') 17libsystemd = dependency('libsystemd') 18systemd_system_unit_dir = systemd.get_variable(pkgconfig: 'systemdsystemunitdir') 19 20executable('btbridged', 'btbridged.c', dependencies: [libsystemd], install: true) 21 22configure_file( 23 input: 'btbridged.service', 24 output: 'org.openbmc.HostIpmi.service', 25 install: true, 26 install_dir: systemd_system_unit_dir, 27 copy: true, 28) 29