meson.build (adbb24526a166d6a9d3b6329a6c98c7dd6b5c4ac) meson.build (49cfb138af156020599361584b20c9ed591eeeb6)
1deps = [
2 libpldm_dep,
3 libpldmutils,
4 nlohmann_json,
5 sdeventplus,
6 sdbusplus,
7 phosphor_dbus_interfaces,
1deps = [
2 libpldm_dep,
3 libpldmutils,
4 nlohmann_json,
5 sdeventplus,
6 sdbusplus,
7 phosphor_dbus_interfaces,
8 phosphor_logging_dep,
8 ]
9
10source = ['main.cpp','softoff.cpp']
11
12executable('pldm-softpoweroff',source,
13 implicit_include_directories: false,
14 dependencies: deps,
15 install: true,
16 install_dir: get_option('bindir'))
17
18if get_option('systemd').enabled()
19 configure_file(input: 'services/pldmSoftPowerOff.service',
20 output: 'pldmSoftPowerOff.service',
21 copy: true,
22 install_dir: systemd_system_unit_dir)
23endif
24
9 ]
10
11source = ['main.cpp','softoff.cpp']
12
13executable('pldm-softpoweroff',source,
14 implicit_include_directories: false,
15 dependencies: deps,
16 install: true,
17 install_dir: get_option('bindir'))
18
19if get_option('systemd').enabled()
20 configure_file(input: 'services/pldmSoftPowerOff.service',
21 output: 'pldmSoftPowerOff.service',
22 copy: true,
23 install_dir: systemd_system_unit_dir)
24endif
25