Lei YU | e065f61 | 2019-07-30 14:10:52 +0800 | [diff] [blame] | 1 | project('phosphor-psu-code-mgmt', 'cpp', |
| 2 | version: '0.1', meson_version: '>=0.49.0', |
| 3 | default_options: [ |
| 4 | 'warning_level=3', |
| 5 | 'werror=true', |
Lei YU | 01539e7 | 2019-07-31 10:57:38 +0800 | [diff] [blame^] | 6 | 'cpp_std=c++17', |
| 7 | 'b_lto=true', |
Lei YU | e065f61 | 2019-07-30 14:10:52 +0800 | [diff] [blame] | 8 | ]) |
| 9 | |
| 10 | systemd = dependency('systemd') |
| 11 | servicedir = systemd.get_pkgconfig_variable('systemdsystemunitdir') |
| 12 | |
| 13 | configure_file(input: 'service/xyz.openbmc_project.Software.Psu.Updater.service', |
| 14 | output: 'xyz.openbmc_project.Software.Psu.Updater.service', |
| 15 | copy: true, |
| 16 | install_dir: servicedir) |
| 17 | |
| 18 | subdir('src') |