blob: 0e2c0f489dc4de60e990eefabaa771efbd654aab [file] [log] [blame]
Alexander Hansen8c4b1d92024-11-04 14:06:24 +01001gpio_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)