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    'ucd90x_monitor.cpp',
25    'ucd90160_monitor.cpp',
26    'ucd90320_monitor.cpp',
27    dependencies: [
28        libgpiodcxx,
29        nlohmann_json_dep,
30        phosphor_logging,
31        sdbusplus,
32        sdeventplus,
33        stdplus,
34    ],
35    link_with: [
36        libpower
37    ],
38    implicit_include_directories: false,
39    include_directories: phosphor_power_sequencer_include_directories,
40    install: true
41)
42