Brad Bishop | 2d66b51 | 2019-09-19 16:36:47 -0400 | [diff] [blame] | 1 | gmock = dependency('gmock', disabler: true, required: build_tests) |
| 2 | gtest = dependency('gtest', main: true, disabler: true, required: build_tests) |
| 3 | |
| 4 | test( |
| 5 | 'utest', |
| 6 | executable( |
| 7 | 'utest', 'utest.cpp', |
| 8 | dependencies: [ |
| 9 | gmock, |
| 10 | gtest, |
| 11 | libevdev, |
Patrick Williams | 0172969 | 2023-06-01 09:11:32 -0500 | [diff] [blame] | 12 | sdbusplus, |
Brad Bishop | 2d66b51 | 2019-09-19 16:36:47 -0400 | [diff] [blame] | 13 | ], |
| 14 | implicit_include_directories: false, |
| 15 | include_directories: '..', |
| 16 | link_with: [ |
| 17 | libevdev_o, |
| 18 | libmonitor_o, |
| 19 | ] |
| 20 | ) |
| 21 | ) |