blob: de691c9feae4088a1383b4216789c5164a264409 [file] [log] [blame]
Jim Wright539b6082021-08-02 14:50:23 -05001phosphor_power_sequencer_include_directories = include_directories(
2 '.',
3 '../..'
Jim Wright1553cd92021-03-31 16:11:59 -05004)
5
Jim Wright539b6082021-08-02 14:50:23 -05006phosphor_power_sequencer = executable(
7 'phosphor-power-control',
8 'power_control_main.cpp',
9 'power_control.cpp',
Jim Wright19920832021-08-25 11:13:56 -050010 'power_interface.cpp',
Jim Wright930458c2022-01-24 14:37:27 -060011 'power_sequencer_monitor.cpp',
Jim Wrightc48551a2022-12-22 15:43:14 -060012 'ucd90x_monitor.cpp',
13 'ucd90160_monitor.cpp',
Jim Wright7945dd22021-04-06 16:55:15 -050014 'ucd90320_monitor.cpp',
Jim Wright539b6082021-08-02 14:50:23 -050015 dependencies: [
Jim Wright7a5dd992021-08-31 16:56:52 -050016 libgpiodcxx,
Patrick Williams888bebd2023-05-31 19:19:49 -050017 nlohmann_json_dep,
Jim Wright539b6082021-08-02 14:50:23 -050018 phosphor_logging,
19 sdbusplus,
20 sdeventplus,
Patrick Williams888bebd2023-05-31 19:19:49 -050021 stdplus,
Jim Wright539b6082021-08-02 14:50:23 -050022 ],
Jim Wright2d99bf72021-11-19 11:18:12 -060023 link_with: [
24 libpower
25 ],
Jim Wright539b6082021-08-02 14:50:23 -050026 implicit_include_directories: false,
27 include_directories: phosphor_power_sequencer_include_directories,
28 install: true
29)