Shawn McCarney | 623f5a8 | 2019-11-03 08:55:40 -0600 | [diff] [blame] | 1 | phosphor_regulators_include_directories = include_directories( |
| 2 | '.', |
| 3 | 'actions' |
| 4 | ) |
Shawn McCarney | 494ef03 | 2019-11-07 15:56:50 -0600 | [diff] [blame] | 5 | |
Shawn McCarney | 4c94bc7 | 2019-12-13 17:49:31 -0600 | [diff] [blame^] | 6 | phosphor_regulators_library_source_files = [ |
Shawn McCarney | 6d59773 | 2019-11-13 17:40:07 -0600 | [diff] [blame] | 7 | 'id_map.cpp', |
| 8 | |
| 9 | 'actions/if_action.cpp' |
Shawn McCarney | 494ef03 | 2019-11-07 15:56:50 -0600 | [diff] [blame] | 10 | ] |
| 11 | |
| 12 | phosphor_regulators_library = static_library( |
| 13 | 'phosphor-regulators', |
Shawn McCarney | 4c94bc7 | 2019-12-13 17:49:31 -0600 | [diff] [blame^] | 14 | phosphor_regulators_library_source_files, |
Shawn McCarney | 494ef03 | 2019-11-07 15:56:50 -0600 | [diff] [blame] | 15 | implicit_include_directories: false, |
| 16 | include_directories: phosphor_regulators_include_directories |
| 17 | ) |
Shawn McCarney | 4c94bc7 | 2019-12-13 17:49:31 -0600 | [diff] [blame^] | 18 | |
| 19 | phosphor_regulators = executable( |
| 20 | 'phosphor-regulators', |
| 21 | 'main.cpp', |
| 22 | dependencies: [ |
| 23 | sdbusplus, |
| 24 | sdeventplus, |
| 25 | libi2c_dep |
| 26 | ], |
| 27 | link_with: phosphor_regulators_library, |
| 28 | implicit_include_directories: false, |
| 29 | include_directories: phosphor_regulators_include_directories, |
| 30 | install: true |
| 31 | ) |