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 'pmbus_driver_device.cpp', 10 'rail.cpp', 11 'services.cpp', 12 'standard_device.cpp', 13 implicit_include_directories: false, 14 dependencies: [ 15 nlohmann_json_dep, 16 phosphor_logging 17 ], 18 include_directories: [ 19 phosphor_power_sequencer_include_directories 20 ] 21) 22 23phosphor_power_sequencer = executable( 24 'phosphor-power-control', 25 'power_control_main.cpp', 26 'power_control.cpp', 27 'power_interface.cpp', 28 'power_sequencer_monitor.cpp', 29 'ucd90x_monitor.cpp', 30 'ucd90160_monitor.cpp', 31 'ucd90320_monitor.cpp', 32 dependencies: [ 33 libgpiodcxx, 34 nlohmann_json_dep, 35 phosphor_logging, 36 sdbusplus, 37 sdeventplus, 38 stdplus, 39 ], 40 link_with: [ 41 libpower 42 ], 43 implicit_include_directories: false, 44 include_directories: phosphor_power_sequencer_include_directories, 45 install: true 46) 47