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', |
Shawn McCarney | b89395b | 2024-04-23 16:31:10 -0500 | [diff] [blame^] | 9 | 'pmbus_driver_device.cpp', |
Shawn McCarney | 2495659 | 2024-02-19 18:58:57 -0600 | [diff] [blame] | 10 | 'rail.cpp', |
Shawn McCarney | e4fef0f | 2024-04-05 17:56:09 -0500 | [diff] [blame] | 11 | 'services.cpp', |
Shawn McCarney | 472101c | 2024-04-17 16:31:09 -0500 | [diff] [blame] | 12 | 'standard_device.cpp', |
Shawn McCarney | 6a957f6 | 2024-01-10 16:15:19 -0600 | [diff] [blame] | 13 | implicit_include_directories: false, |
| 14 | dependencies: [ |
Konstantin Aladyshev | df4e0e7 | 2024-04-12 15:21:40 +0300 | [diff] [blame] | 15 | nlohmann_json_dep, |
| 16 | phosphor_logging |
Shawn McCarney | 6a957f6 | 2024-01-10 16:15:19 -0600 | [diff] [blame] | 17 | ], |
| 18 | include_directories: [ |
| 19 | phosphor_power_sequencer_include_directories |
| 20 | ] |
| 21 | ) |
| 22 | |
Jim Wright | 539b608 | 2021-08-02 14:50:23 -0500 | [diff] [blame] | 23 | phosphor_power_sequencer = executable( |
| 24 | 'phosphor-power-control', |
| 25 | 'power_control_main.cpp', |
| 26 | 'power_control.cpp', |
Jim Wright | 1992083 | 2021-08-25 11:13:56 -0500 | [diff] [blame] | 27 | 'power_interface.cpp', |
Jim Wright | 930458c | 2022-01-24 14:37:27 -0600 | [diff] [blame] | 28 | 'power_sequencer_monitor.cpp', |
Jim Wright | c48551a | 2022-12-22 15:43:14 -0600 | [diff] [blame] | 29 | 'ucd90x_monitor.cpp', |
| 30 | 'ucd90160_monitor.cpp', |
Jim Wright | 7945dd2 | 2021-04-06 16:55:15 -0500 | [diff] [blame] | 31 | 'ucd90320_monitor.cpp', |
Jim Wright | 539b608 | 2021-08-02 14:50:23 -0500 | [diff] [blame] | 32 | dependencies: [ |
Jim Wright | 7a5dd99 | 2021-08-31 16:56:52 -0500 | [diff] [blame] | 33 | libgpiodcxx, |
Patrick Williams | 888bebd | 2023-05-31 19:19:49 -0500 | [diff] [blame] | 34 | nlohmann_json_dep, |
Jim Wright | 539b608 | 2021-08-02 14:50:23 -0500 | [diff] [blame] | 35 | phosphor_logging, |
| 36 | sdbusplus, |
| 37 | sdeventplus, |
Patrick Williams | 888bebd | 2023-05-31 19:19:49 -0500 | [diff] [blame] | 38 | stdplus, |
Jim Wright | 539b608 | 2021-08-02 14:50:23 -0500 | [diff] [blame] | 39 | ], |
Jim Wright | 2d99bf7 | 2021-11-19 11:18:12 -0600 | [diff] [blame] | 40 | link_with: [ |
| 41 | libpower |
| 42 | ], |
Jim Wright | 539b608 | 2021-08-02 14:50:23 -0500 | [diff] [blame] | 43 | implicit_include_directories: false, |
| 44 | include_directories: phosphor_power_sequencer_include_directories, |
| 45 | install: true |
| 46 | ) |