Lei YU | 0bf1b78 | 2019-08-29 16:02:30 +0800 | [diff] [blame] | 1 | psutils = executable( |
| 2 | 'psutils', |
Lei YU | 0bf1b78 | 2019-08-29 16:02:30 +0800 | [diff] [blame] | 3 | 'version.cpp', |
Lei YU | d19df25 | 2019-10-25 17:31:52 +0800 | [diff] [blame] | 4 | 'updater.cpp', |
Lei YU | 0bf1b78 | 2019-08-29 16:02:30 +0800 | [diff] [blame] | 5 | 'main.cpp', |
| 6 | dependencies: [ |
| 7 | phosphor_dbus_interfaces, |
| 8 | phosphor_logging, |
Lei YU | 92e89eb | 2019-11-06 18:08:25 +0800 | [diff] [blame] | 9 | libi2c_dep, |
Lei YU | 0bf1b78 | 2019-08-29 16:02:30 +0800 | [diff] [blame] | 10 | ], |
Lei YU | 7c2fbbb | 2019-11-06 14:56:02 +0800 | [diff] [blame] | 11 | include_directories: [libpower_inc, libi2c_inc], |
Lei YU | 0bf1b78 | 2019-08-29 16:02:30 +0800 | [diff] [blame] | 12 | install: true, |
| 13 | link_with: [ |
| 14 | libpower, |
| 15 | ] |
| 16 | ) |
Lei YU | 093b591 | 2019-10-22 15:28:51 +0800 | [diff] [blame] | 17 | |
Shawn McCarney | ff48143 | 2020-02-13 10:38:44 -0600 | [diff] [blame] | 18 | if get_option('tests').enabled() |
| 19 | subdir('test') |
| 20 | endif |