blob: 848c42f8cfb3c7b98293e241e9b96ec25e341d85 [file] [log] [blame]
Lei YU0bf1b782019-08-29 16:02:30 +08001psutils = executable(
2 'psutils',
Lei YU0bf1b782019-08-29 16:02:30 +08003 'version.cpp',
Lei YUd19df252019-10-25 17:31:52 +08004 'updater.cpp',
Lei YU0bf1b782019-08-29 16:02:30 +08005 'main.cpp',
6 dependencies: [
7 phosphor_dbus_interfaces,
8 phosphor_logging,
Lei YU92e89eb2019-11-06 18:08:25 +08009 libi2c_dep,
Lei YU0bf1b782019-08-29 16:02:30 +080010 ],
Lei YU7c2fbbb2019-11-06 14:56:02 +080011 include_directories: [libpower_inc, libi2c_inc],
Lei YU0bf1b782019-08-29 16:02:30 +080012 install: true,
13 link_with: [
14 libpower,
15 ]
16)
Lei YU093b5912019-10-22 15:28:51 +080017
Shawn McCarneyff481432020-02-13 10:38:44 -060018if get_option('tests').enabled()
19 subdir('test')
20endif