xref: /openbmc/phosphor-virtual-sensor/src/meson.build (revision 6272a39308bf6c1945edabf54891157c8079165a)
1executable(
2    'virtual-sensor',
3    [
4        'calculate.cpp',
5        'dbusSensor.cpp',
6        'dbusUtils.cpp',
7        'main.cpp',
8        'virtualSensor.cpp',
9    ],
10    dependencies: [
11        dependency('nlohmann_json', include_type: 'system'),
12        dependency('phosphor-dbus-interfaces'),
13        dependency('phosphor-logging'),
14        dependency('sdbusplus'),
15        exprtk,
16    ],
17    install: true,
18    install_dir: get_option('libexecdir') / meson.project_name(),
19)
20