1phosphor_power_sequencer_include_directories = include_directories(
2    '.',
3    '../..'
4)
5
6phosphor_power_sequencer_library = static_library(
7    'phosphor-power-sequencer',
8    'config_file_parser.cpp',
9    implicit_include_directories: false,
10    dependencies: [
11        nlohmann_json_dep
12    ],
13    include_directories: [
14        phosphor_power_sequencer_include_directories
15    ]
16)
17
18phosphor_power_sequencer = executable(
19    'phosphor-power-control',
20    'power_control_main.cpp',
21    'power_control.cpp',
22    'power_interface.cpp',
23    'power_sequencer_monitor.cpp',
24    'services.cpp',
25    'ucd90x_monitor.cpp',
26    'ucd90160_monitor.cpp',
27    'ucd90320_monitor.cpp',
28    dependencies: [
29        libgpiodcxx,
30        nlohmann_json_dep,
31        phosphor_logging,
32        sdbusplus,
33        sdeventplus,
34        stdplus,
35    ],
36    link_with: [
37        libpower
38    ],
39    implicit_include_directories: false,
40    include_directories: phosphor_power_sequencer_include_directories,
41    install: true
42)
43