Jim Wright | 539b608 | 2021-08-02 14:50:23 -0500 | [diff] [blame] | 1 | phosphor_power_sequencer_include_directories = include_directories( |
| 2 | '.', |
| 3 | '../..' |
Jim Wright | 1553cd9 | 2021-03-31 16:11:59 -0500 | [diff] [blame] | 4 | ) |
| 5 | |
Shawn McCarney | 6a957f6 | 2024-01-10 16:15:19 -0600 | [diff] [blame^] | 6 | phosphor_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 | |
Jim Wright | 539b608 | 2021-08-02 14:50:23 -0500 | [diff] [blame] | 18 | phosphor_power_sequencer = executable( |
| 19 | 'phosphor-power-control', |
| 20 | 'power_control_main.cpp', |
| 21 | 'power_control.cpp', |
Jim Wright | 1992083 | 2021-08-25 11:13:56 -0500 | [diff] [blame] | 22 | 'power_interface.cpp', |
Jim Wright | 930458c | 2022-01-24 14:37:27 -0600 | [diff] [blame] | 23 | 'power_sequencer_monitor.cpp', |
Jim Wright | c48551a | 2022-12-22 15:43:14 -0600 | [diff] [blame] | 24 | 'ucd90x_monitor.cpp', |
| 25 | 'ucd90160_monitor.cpp', |
Jim Wright | 7945dd2 | 2021-04-06 16:55:15 -0500 | [diff] [blame] | 26 | 'ucd90320_monitor.cpp', |
Jim Wright | 539b608 | 2021-08-02 14:50:23 -0500 | [diff] [blame] | 27 | dependencies: [ |
Jim Wright | 7a5dd99 | 2021-08-31 16:56:52 -0500 | [diff] [blame] | 28 | libgpiodcxx, |
Patrick Williams | 888bebd | 2023-05-31 19:19:49 -0500 | [diff] [blame] | 29 | nlohmann_json_dep, |
Jim Wright | 539b608 | 2021-08-02 14:50:23 -0500 | [diff] [blame] | 30 | phosphor_logging, |
| 31 | sdbusplus, |
| 32 | sdeventplus, |
Patrick Williams | 888bebd | 2023-05-31 19:19:49 -0500 | [diff] [blame] | 33 | stdplus, |
Jim Wright | 539b608 | 2021-08-02 14:50:23 -0500 | [diff] [blame] | 34 | ], |
Jim Wright | 2d99bf7 | 2021-11-19 11:18:12 -0600 | [diff] [blame] | 35 | link_with: [ |
| 36 | libpower |
| 37 | ], |
Jim Wright | 539b608 | 2021-08-02 14:50:23 -0500 | [diff] [blame] | 38 | implicit_include_directories: false, |
| 39 | include_directories: phosphor_power_sequencer_include_directories, |
| 40 | install: true |
| 41 | ) |