Brandon Wyman | 3f1242f | 2020-01-28 13:11:25 -0600 | [diff] [blame] | 1 | test('phosphor-power-supply-tests', |
| 2 | executable('phosphor-power-supply-tests', |
| 3 | 'power_supply_tests.cpp', |
| 4 | 'mock.cpp', |
| 5 | dependencies: [ |
| 6 | gmock, |
| 7 | gtest, |
| 8 | sdbusplus, |
| 9 | sdeventplus, |
| 10 | phosphor_logging, |
| 11 | ], |
| 12 | implicit_include_directories: false, |
| 13 | include_directories: [ |
| 14 | '.', |
| 15 | '..', |
| 16 | '../..' |
| 17 | ], |
| 18 | link_args: dynamic_linker, |
Brandon Wyman | 1d7a7df | 2020-03-26 10:14:05 -0500 | [diff] [blame] | 19 | link_with: [ |
| 20 | libpower, |
| 21 | ], |
Brandon Wyman | 3f1242f | 2020-01-28 13:11:25 -0600 | [diff] [blame] | 22 | build_rpath: get_option('oe-sdk').enabled() ? rpath : '', |
| 23 | objects: power_supply, |
| 24 | ) |
| 25 | ) |