xref: /openbmc/phosphor-modbus/mocked_test_device/meson.build (revision 2168bbd050af3c68d820f96054a939dda02688c6)
1*2168bbd0SJagpal Singh Gillexecutable(
2*2168bbd0SJagpal Singh Gill    'mock-modbus-server',
3*2168bbd0SJagpal Singh Gill    ['mock_modbus_server.cpp'],
4*2168bbd0SJagpal Singh Gill    include_directories: ['.', common_include],
5*2168bbd0SJagpal Singh Gill    dependencies: [default_deps, modbus_rtu_dep],
6*2168bbd0SJagpal Singh Gill    link_with: [modbus_rtu_lib],
7*2168bbd0SJagpal Singh Gill    install: true,
8*2168bbd0SJagpal Singh Gill    install_dir: get_option('libexecdir') / 'phosphor-modbus',
9*2168bbd0SJagpal Singh Gill)
10