Lei YU | 01539e7 | 2019-07-31 10:57:38 +0800 | [diff] [blame] | 1 | configure_file(output: 'config.h', |
| 2 | configuration: cdata, |
| 3 | ) |
Lei YU | 5e0dcb3 | 2019-08-02 18:04:34 +0800 | [diff] [blame] | 4 | psu_inc = include_directories('.') |
Lei YU | 01539e7 | 2019-07-31 10:57:38 +0800 | [diff] [blame] | 5 | |
Lei YU | e065f61 | 2019-07-30 14:10:52 +0800 | [diff] [blame] | 6 | executable( |
| 7 | 'phosphor-psu-code-manager', |
| 8 | 'activation.cpp', |
Lei YU | 01539e7 | 2019-07-31 10:57:38 +0800 | [diff] [blame] | 9 | 'item_updater.cpp', |
Lei YU | e065f61 | 2019-07-30 14:10:52 +0800 | [diff] [blame] | 10 | 'main.cpp', |
Lei YU | 01539e7 | 2019-07-31 10:57:38 +0800 | [diff] [blame] | 11 | 'version.cpp', |
Lei YU | 5e0dcb3 | 2019-08-02 18:04:34 +0800 | [diff] [blame] | 12 | 'utils.cpp', |
| 13 | include_directories: psu_inc, |
Lei YU | e065f61 | 2019-07-30 14:10:52 +0800 | [diff] [blame] | 14 | dependencies: [ |
| 15 | phosphor_logging, |
| 16 | phosphor_dbus_interfaces, |
| 17 | sdbusplus, |
Lei YU | ad90ad5 | 2019-08-06 11:19:28 +0800 | [diff] [blame] | 18 | ssl, |
Lei YU | e065f61 | 2019-07-30 14:10:52 +0800 | [diff] [blame] | 19 | ], |
| 20 | install: true, |
| 21 | install_dir: get_option('bindir')) |