1inc_dirs = [ include_directories('../') ] 2 3gpioplus = dependency('gpioplus') 4gpiodcxx = dependency( 5 'libgpiodcxx', 6 fallback: ['libgpiod', 'gpiodcxx_dep'] 7) 8 9executable( 10 'phosphor-host-condition-gpio', 11 'host_condition.cpp', 12 'host_condition_main.cpp', 13 dependencies: [ 14 gpioplus, sdbusplus, sdeventplus, phosphorlogging, 15 phosphordbusinterfaces, gpiodcxx 16 ], 17 include_directories : inc_dirs, 18 implicit_include_directories: true, 19 install: true 20) 21 22configure_file( 23 input: 'phosphor-host-condition-gpio@.service', 24 output: 'phosphor-host-condition-gpio@.service', 25 copy: true, 26 install_dir: systemd_system_unit_dir, 27 install: true, 28) 29