xref: /openbmc/entity-manager/src/gpio-presence/meson.build (revision 8c4b1d999a13b27d6edc84cfaff1112a0cc07091)
1gpio_presence_lib = static_library(
2    'gpio_presence_lib',
3    'device_presence.cpp',
4    'device_presence.hpp',
5    'gpio_presence_manager.cpp',
6    'gpio_presence_manager.hpp',
7    'config_provider.cpp',
8    'config_provider.hpp',
9    dependencies: [
10        boost,
11        phosphor_logging_dep,
12        phosphor_dbus_interfaces_dep,
13        sdbusplus,
14        libgpio_dep,
15    ],
16)
17
18executable(
19    'gpio-presence-sensor',
20    'main.cpp',
21    dependencies: [
22        boost,
23        phosphor_logging_dep,
24        phosphor_dbus_interfaces_dep,
25        sdbusplus,
26        libgpio_dep,
27    ],
28    install: true,
29    install_dir: installdir,
30    link_with: gpio_presence_lib,
31)
32